cat /var/log/apache2/error.log
Show last few lines of the log
tail /var/log/apache2/error.log
Path to php.ini
/etc/php5/apache2/php.ini
ls
show the contents of the directory
cd path/to/go
rm
remove file / folder as long as it’s empty
rm folder
rm - r
remove files/folders recursively
rm -r folder
mv
move to file or folder to a new destination. It can also be used to rename files/folders
mv config.php Config.php
touch
make a new file
touch sample.txt
vim index.php
open a file using vim
vim index.php
nano
open a file using nano
nano index.php