1. File Backup Script: 2. System Monitoring Script: 3. Log Analyzer Script: 4. File Encryption/Decryption Script: 5. Automated Software Installation Script: 6. Network Connectivity Checker Script: 7. Website Uptime Checker Script: 8. Data Cleanup Script: 9. CPU Usage Tracker Script: 10. System Information Script: 11. Disk Space Monitoring Script: 12. Remote Server Backup Script:...
SOCKS proxy is a way to push HTTP traffic from a remote server/vps, router etc and can then access it locally via a browser . This is very handy to remotely administer firewalls/ routing appliances via the private IP, so that you can avoid port forwarding and its security implications . This works via...
The system level log files usually keeps a lot of data about various applications and services . So at some times , we might need to grep only the IP communications from a large log file like ‘/var/log/messages’ or from syslog. The below command will grep only the data with IP addresses . The...
When dealing with files in Linux , sometimes you need to empty it without opening the actual file . Also , this is very useful is safely emptying a dynamically writing file, especially some of the log files . So we are looking on some of the commands to do this . Empty using...
We will first check some of the general Iptables commands . The below command will dispaly all the available chains ( TCP, INPUT, OUTPUT, etc.) configured. You can then filter this more with specific chains , the below command will display all the INPUT rules To display all the active rules , you can do...
So when you have a custom plugin and you run it locally you will get the correct output but when you call the same plugin from the remote server (nagiosadmin) the output will be wrong . This is a user permission issue on some files you specified in the plugin script .For eg :...
When you are scripting in shell , you might need the output of a shell command assigned to a variable and then you use that variable somewhere else in the script . So in this case there are chances that the whitespace occurs in the command output and when you use it somewhere else...
If you want to display the largest files from the current directory To display output from a specific directory , here I m looking for the files from /var directory To see the same output in more readable format like in GB from the current directory some of the options thats using with the...
nohup stands for no hangup is a commandline utility that ignores the HUP signals coming to the commands running on a shell. So when a shell is terminated , the processes associated with that shell recieves a hup signal . So that those processes gets stopped or hangup . So the nohup helps us...
It’s now been a hobby for many to live stream a camera footage (for eg : watching their pets or watching a bird’s nest etc ) to Youtube, Facebook etc , so that anyone can see it from anywhere in the world . It also attracts a good traffic to your channel . So...