How to create a new folder & cd into the created folder in a single command ?
In this post we will show you a quick tip how can we create a new folder and jump into it. We can use this trick in shell script to...
In this category, you can see all articles related to Unix or Linux operating System.
In this post we will show you a quick tip how can we create a new folder and jump into it. We can use this trick in shell script to...
Suppose you want to add line numbers to the output of some command or when reading any file. In this post we will look at a quick tip how to...
In this post, we will see how to list different process state codes which are available on our Linux system. To see the the process state code, you can see...
To count number of words in a file, we can either use wc command, or use a loop or can use extended grep command. Lets see the easiest two approaches...
In this post, we will look how to tune/change Linux kernel parameters temporarily or permanent. To change/verify the parameters we will use sysctl command. From its man page, we can...
Do you know what is the default home directory of a user in Linux and Solaris ? In this post, we will look at the difference between default user home...
In this article we will look at the usage of exec command in linux. Lets see an example to understand exec command usage. Usage of exec Command ### Check...
Today we will check how to create a custom user command in Linux easily. Lets see the procedure step by step. The easiest way is to create a function and...
In this post we will look how to get the last command argument value in the current command. For this, we will use a special bash bultin variable $_ Lets...
In this post we will look at the difference between nohup and &(ampersand) in Linux. As we know & (ampersand) is used to send any command execution to background and...