System Info
man
(Manual)man
command
– show the manual for commandclear
Clears information on the display screen to provide a blank slatedate
show the current date and timecal
show this months calendarw
display who is onlinewhoami
who you are logged in as
Navigation
ls -l
Displays a long list vertically with file permissions, date modified and file name (linux)ls -la
Displays all files (linux)ls -al
formatted listing with hidden files (linux)cd
Change Directorycd ~
Return to home directory..
Go up one level / directory
File Manipulation
mkdir
dir
create directorydir
touch
filename.extension
Make a new file of filename at current location. Extension must be included.rm
file
deletefile
rm -r dir
delete directorydir
rm -f file
force removefile
rm -rf dir
force remove directorydir
SSH
ssh user@host
connect to host as userssh -p port user@host
connect tohost
on portport
asuser
ssh-copy-id user@host
– add your key tohost
foruser
to enable a keyed or password-less login