Shilpa S has Published 57 Articles

How to copy a file, group of files, or directory in Linux?

Shilpa S

Shilpa S

Updated on 30-Jun-2021 15:02:46

2K+ Views

In this article, we will learn to copy a file or directory in the Linux/Unix operating system using terminal, we use the cp command to copy a file or directory in the Linux system.cp (copy) - The cp command is used to copy files or directories in the Linux system. If ... Read More

How to converts tabs to spaces in the Linux system?

Shilpa S

Shilpa S

Updated on 30-Jun-2021 15:01:57

4K+ Views

While working with files, sometimes a situation occurs that a file contains many tabs and the requirement is a file in which no tabs but with space. In this case, if a file is quite simple then work is easy but if we are dealing with a long file then ... Read More

How to compare two sorted files line by line in the Linux system?

Shilpa S

Shilpa S

Updated on 30-Jun-2021 15:01:06

2K+ Views

To compare two sorted files, we use the comm command in the Linux system.The comm command is used to compare two sorted files line by line and writes three columns to standard output. The first two columns contain lines unique to the first and the second file and the last ... Read More

How to check total space and available space in Linux using the terminal?

Shilpa S

Shilpa S

Updated on 30-Jun-2021 15:00:20

796 Views

In the Linux/Unix system to check storage details, we use the df command.df (disk free) command the df command is used to report file system disk space usage using the terminal in the Linux system. It displays total space, used space, and available space.SyntaxThe general syntax of the df command is ... Read More

How to change the shell working directory in Linux?

Shilpa S

Shilpa S

Updated on 30-Jun-2021 14:59:31

1K+ Views

To change the shell working directory, we use the cd command in the Linux system.cd (change directory) The cd command used to change the current working directory in the Linux/Unix operating system. In the Windows operating system for the same purpose the cd or chdir command available. The cd command also ... Read More

How to change file or directory permission in Linux/Unix?

Shilpa S

Shilpa S

Updated on 30-Jun-2021 09:28:07

2K+ Views

We know that the Linux/Unix is a multiuser operating system files and directories are associated with permission so that only authorized users can access the files.The chmod command is used to change the access permission of files or directories.SyntaxThe general syntax of the chmod command is as follows −chmod [OPTION]... ... Read More

How to add, delete, change ownership (of files) of a group in Linux?

Shilpa S

Shilpa S

Updated on 30-Jun-2021 09:04:42

9K+ Views

We know that Linux is a multiuser operating system so every file or directory belongs to an owner and group. To change ownership of files or directories we use chown (change ownership) command and to change the group ownership of files or directories we use the chgrp command.The chgrp (change ... Read More

Advertisements