BASH 31
OS Lab - Class Guest on 13th December 2021 11:09:45 AM
  1. uptime - shows the total uptime of the server
  2. in load average, there are three columns, 1,5,15 minutes
  3. w -s - shows all the connected users
  4. s stands for somebody
  5. who - also shows the connected users
  6. service httpd start - to start the service
  7. service httpd stop - to stop the service
  8. httpd is the service name
  9. services.msc - is for Windows
  10. locate file.php - locates all the files with file.php name along with path.
  11. find -name file.php
  12. to connect to ftp: ftp ip address
  13. mget in ftp - downloads the file
  14. mput in ftp - to upload the file
  15. ufw = unix firewall
  16.  
  17. sudo ufw status - to check the firewall status
  18. sudo ufw enable - to enable
  19. sudo ufw disable - to disable

Coding Base is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.