- uptime - shows the total uptime of the server
- in load average, there are three columns, 1,5,15 minutes
- w -s - shows all the connected users
- s stands for somebody
- who - also shows the connected users
- service httpd start - to start the service
- service httpd stop - to stop the service
- httpd is the service name
- services.msc - is for Windows
- locate file.php - locates all the files with file.php name along with path.
- find -name file.php
- to connect to ftp: ftp ip address
- mget in ftp - downloads the file
- mput in ftp - to upload the file
- ufw = unix firewall
- sudo ufw status - to check the firewall status
- sudo ufw enable - to enable
- sudo ufw disable - to disable
Recent Pastes