Shilpa S has Published 59 Articles

How to move jobs to the background in the Linux system?

Shilpa S

Shilpa S

Updated on 01-Jul-2021 14:50:52

2K+ Views

To move foreground jobs in the background, we use the bg command in the Linux system.bg (background) – The bg command is used to move foreground jobs in the background. It resumes execution of a suspended process in the background. If no job is specified, then the bg command work ... Read More

How to move a file, group of files, and directories in Linux?

Shilpa S

Shilpa S

Updated on 01-Jul-2021 14:47:49

16K+ Views

The mv (move) command is used to move one or more files or directories from one directory to another directory using terminal in the Linux/Unix operating system. After using the mv command file is copied from source to destination and source file is removed. The mv command is also used ... Read More

How to merge lines of files in the Linux system?

Shilpa S

Shilpa S

Updated on 01-Jul-2021 14:39:22

6K+ Views

To merge lines of files, we use the paste command in the Linux system. The paste command is used to combine files horizontally by outputting lines consisting of the sequentially corresponding lines from each FILE, separated by TABs to the standard output. When it has completed its operating for the last ... Read More

How to list the directory content in Linux?

Shilpa S

Shilpa S

Updated on 01-Jul-2021 14:36:48

15K+ Views

In the Linux operating system, there are two commands available to list the directory contents.ls (list) commanddir (directory) commandListing the contents of the file using ls command.ls (list) – the ls command is used to list the directory contents in the Linux system. By default, the ls command displays the ... Read More

How to join lines of two files on a common field in Linux?

Shilpa S

Shilpa S

Updated on 01-Jul-2021 14:33:38

727 Views

To join lines of two files on a command field, we use the join command in the Linux system. The join command is used to join lines of two files on a common field in the Linux system. If we have two files and we want to join lines of ... Read More

How to format contents of a text file in the Linux system?

Shilpa S

Shilpa S

Updated on 01-Jul-2021 14:31:13

2K+ Views

Sometimes our text files are not well format to represent. This work can be done manually for small file, but if the file is too large then manually formatting is so tough work. In such a case to format the contents of a text file in the Linux operating system, ... Read More

How to flushes file system buffers in the Linux operating system?

Shilpa S

Shilpa S

Updated on 01-Jul-2021 14:29:19

845 Views

To synchronize cached writes to persistent storage, we use the sync command in the Linux operating system.The sync command is used to synchronize corresponding file data in volatile memory and persistent storage.SyntaxThe general syntax of the sync command is as follows −sync [OPTION] [FILE]...A brief description of options available in ... Read More

How to display the last part of the file in the Linux system?

Shilpa S

Shilpa S

Updated on 01-Jul-2021 14:27:09

14K+ Views

To display the last part of the file, we use the tail command in the Linux system.The tail command is used to display the end of a text file or piped data in the Linux operating system. By default, it displays the last 10 lines of its input to the ... Read More

How to display the first part of the file in the Linux system?

Shilpa S

Shilpa S

Updated on 01-Jul-2021 14:23:54

10K+ Views

To display the first part of the file, we use the head command in the Linux system.The head command is used to display the beginning of a text file or piped data. By default, it displays the first ten lines of the specified files. The tail command is also used ... Read More

How to list all users who are currently logged into the Linux system?

Shilpa S

Shilpa S

Updated on 01-Jul-2021 14:18:31

3K+ Views

To check information about users who are currently logged into the system, we use the who command in the Linux system.The who command is used to display the users logged into the system. The who command related to the w command that is used to display information about the users ... Read More

Advertisements