Convert all the contents into the uppercase in Linux Using Shell Program

Hello Readers, I am happy to bring a new article for convert all the contents into the uppercase in Linux using Shell Program. Let’s Go through below code.  


Read More

Linux – Find first five lines of a file

Hello readers, Let us find specific number of lines of a file. Use the head command. Command :

-lines is to specific lines of file that you want to read. filename is the name of file which lines you want to read.   Example:

Output : hello world this is first line. hello world this is second line. hello world this is third line. hello world this is…

Read More

The Purpose of special directories in Linux System.

Hello Readers ! Today we are going through brief description for special directories in Linux System which will help you to understand the purpose of directories . /bin : This directory contains executable programs and commands like ls ,pwd in this directory. To minimize the functionality for the purposes of booting and restarting the system. /dev: This directory contains all devices files which are created after installation and  executing /dev…

Read More

Linux-rsh Command

rsh Command : It stands for Remote Shell Command that can be executed by a computer on another remote computer. Use the below Command: Appends the remote file remotefile to the local file localfile, rsh otherhost cat remotefile >> localfile Appends remotefile to other_remotefile. rsh otherhost cat remotefile >> other_remotefile  

Read More

Linux – Shell Script Count Vowels from file

First, Create a file with named vowels.txt and write some lines which have some vowels (a,e,i,o,u). Second, Create another file with name countvowels.txt in same directory and paste below code:

Third, Open your Terminal (Putty) run your shell script :

Now, You will be able to count vowels in your file easily.

Read More