Working with applications

cd – Change directory

cp -rfu folder path path to new location – Copying files

du -h -s – Find out the size of your hard drive

find / -type d -iname ‘*part of name*’ – Find a file by part of its name

ln -s /usr/games/cowsay /usr/bin/cowsay – We create a symbolic link so that when starting we do not have to write the path to the application. Then run it like this: cowsay “TEST”

nano /etc/my.cnf –  mysql configuration editor

rm -Rf monthly/ – Delete directory

service mysql restart – Restart mysql

tar -cvzf filename.tar.gz dir_name – Creating an archive