Sometimes you may need to restrict SSH access to specific IP addresses. Here are the steps to do this in Linux.
Linux
How to Find Users Currently Logged in Linux
Sometimes you need to check users logged in Linux or get total number of users logged in. Here is how to find users currently logged in Linux.
How to Check Uptime of Service in Linux
Sometimes you may need to check uptime of Linux server and processes. Here is how to check service uptime in Linux.
How to Find & Delete Broken Symlinks in Linux
Sometimes you may need to find & delete broken symlinks in Linux. Here is how to remove broken symlinks in your system.
How to Parse CSV File in Shell
How to Find All Symlinks to File/Directory
Sometimes you may need to list all symlinks to specific folder/directory, or get symlinks present in directory. Here are the steps to do it.
Shell Script to Count Number of Files in Directory
Very often you may need to count number of files in directory. Here is a shell script to count number of files in directory.
Shell Script to Count Number of Words in File
Sometimes you may need to count number of words in file. Here is a shell script to count number of words in file.
How to Enable & Disable Services in Linux
Sometimes you need to enable, disable & manage services in Linux. Here is how to start, stop, restart, enable, disable services in Linux using systemd and upstart init.
How to Download File to Directory with Wget
Sometimes you may need to download file to directory using wget. Here is how to specify wget file destination or default download location.