bash

How to Store or Assign a Linux command in a Variable in Bash Shell Script

Once you have saved the Linux command as a variable in the shell script, you can use it anywhere in the script by calling the variable name instead of typing out the command.

Read more

How to Delete Files with Specific Extensions from the Linux Command Line

Deleting files one by one is not worth the effort if you have a large number of files with the same extension or a similar pattern of files that you need to remove from your system.

Read more

How to Copy Files to a USB Flash Drive Using the Terminal [TTY]

Copying files to a USB flash drive using the Terminal can be done quickly and easily with this short guide.

Read more

How to Copy and Move Files with Specific File Extensions in Linux

When you want to move or copy files with a specific file extension, then you can use the same mv and cp commands with a wildcard character, which is a more dynamic way to move the file at once.

Read more

The Quickest Way to Append Text at the Beginning of a File in Linux

As you know, there are redirection operators, which allow you to append text to a file. When you use the >> operator, the text is appended to the end of the file, while the > operator replaces the existing content.

Read more

Learn how to Customise the Linux terminal to make it look awe!

Whether you’re new to Linux or have been using it for a while, you’ll find some helpful advice for personalising the Bash shell to make it your own.

Read more

Subscribe to RSS - bash