Professional Documents
Culture Documents
BY FAISAL ROY
Important Tips:
Everything inside "<>" should be replaced with a name of a file, directory or command.
dir = directory/folder
Keyboard Shortcuts
tab Auto-complete
ls -la: List detailed list of files and folders, including hidden ones
Create a directory/folder
it file2.
Delete files
Careful now..
Careful when using this command as it will delete everything inside the directory
less <file>: Display the contents of a file with scroll (paginate) ability (press q to quit)
diff <file1> <file2>: Check the difference between two files (file1 and file2)
Install packages
apt-get auto remove: Remove installed packages that are no longer needed
Delete packages
apt-get remove --purge: Uninstall a package and remove its configuration files
Networking Utilities
ping <host>: Ping a host
Transfer files FROM the local system TO a remote host (Local > Remote)
Transfer files FROM a remote host TO the local system (Remote > Local)