Linux/Unix
pwd – print working directory
hostname – computer’s network name
mkdir – make directory
cd – change directory
ls – list directory
rmdir – remove directory
pushd – push directory
popd – pop directory
cp – copy a file or directory
mv – move a file or directory
less – page through a file
cat – print the whole file
xargs – execute arguments
find – find files
grep – find things inside files
man – read a manual page
apropos – find what man page is appropriate
env – look at your environment
echo – print some arguments
export – set a new environment variable
exit – exit the shell
sudo – become super user root
chmod – change permission modifiers
chown – change ownership
Windows
pwd – print working directory
hostname – my computer’s network name
mkdir – make directory
cd – change directory
ls – list directory
rmdir – remove directory
pushd – push directory
popd – pop directory
cp – copy a file or directory
robocopy – robust copy
mv – move a file or directory
more – page through a file
type – print the whole file
forfiles – run a command on lots of files
dir /r – find files
select-string – find things inside files
help – read a manual page
helpctr – find what man page is appropriate
echo – print some arguments
set – set a new environment variable
exit – exit the shell
runas – become super user root
attrib – change permission modifiers
iCACLS – change ownership
Confused About how will you use these commands? Simple Way, Use Them. I know that if you have no experience with the terminal, you’ll very soon leave the terminal, but use google if you get stuck, Google is your friend, and the “man” in Linux and “help” in windows will be the best guide for you in the terminal. Whenever you are stuck, simply do this in Linux “man xxx” or in windows “help xxx”, where ‘xxx’ is your command and there are also other help commands like info.
If you have any question or suggestion then don’t hesitate to post them in the comments section.