A few Linux commands to remember

To do administration as root

sudo -s

To switch to root user

sudo -i

To exit from the root user or the root administrative provileges

exit

To check the linux release you are running

lsb_release -a

To list in long format sorting by time in reverse lexographical order

ls -ltr

To check if a package is installed and what version is available

apt list [package_name]

To check the version of an available package

apt show [package_name]

To create a compressed tarball file

tar -czvf filename.tgz directory

To expand a compressed tarball file

tar -xzvf filename.tgz

To expand a gz file

gzip -dk filename.gz

To create a symbolic link

ln -s <targetlocation> <linkname>

Find all files that contain 'string_of_interest'

find . -type f -exec grep -l 'string_of_interest' {} \;

search regular files (f) from the current dir (.) going down

Find all files with name matching '*part_of_word*'

find . -name '*part_of_word*' -print