How to count words in a file without using wc command ?
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...
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...