Category: terminal

Crontab – Linux

Here are some commands to be used to work with crontab in Linux sudo crontab -e Open to edit crontab crontab -l List all your crontab jobs * * * * * command to be executed – – – – – | | | | | | | | | —– Day of week (0 …


Handy commands for working with server using terminal

1- This is to see ports and which application is running on which port sudo netstat -plunt 2- To restart apache server sudo service apache2 restart or /etc/init.d/apache2 restart 3- To check firewall status sudo ufw status verbose 4- To change port listen on Apache server vi /etc/apache2/ports.conf 5- To make new site for Apache …