
Sometimes you may need to to retrieve file name from file path. Here are the steps to get filename from path in shell script.
Sometimes you may need to to retrieve file name from file path. Here are the steps to get filename from path in shell script.
Often you may need to trim whitespace from files. Here is a shell script to trim whitespace. You can use it for one or more files.
Sometimes you may need to switch user in Ubuntu Linux. Here are the different commands to switch user in Ubuntu Linux.
Sometimes you may need to bring background process to foreground in Linux. Here is how to easily bring processes to foreground in Linux.
Sometimes you may need to view file size in kb and Mb. Here is how to find file size in kb & Mb using ls command.
Often you will need to read user input in shell script. Here is how to get user input in shell script using read command.
As system administrator, you may be required to constantly track SSD health. Here is how to check SSD health in Linux
Sometimes you may need to change timestamp of too many files. Here is how to you can touch all files in directory at one go.
Sometimes you may need to exit for loop or while loop in shell script. Here is how to come out of for loop in shell script.