Removing/Deleting Files in Linux
The rm command is used to delete files and directories. It is important to keep in mind that deleted files and directories do not go into a...
The rm command is used to delete files and directories. It is important to keep in mind that deleted files and directories do not go into a...
The mv command is used to move a file from one location in the filesystem to another.mv SOURCE DESTINATION The mv command...
Creating copies of files can be useful for numerous reasons: cp [OPTIONS] SOURCE DESTINATION The cp command is used to copy files. Similar...
There are a few Linux commands available to view the content of files. The cat command, which stands for “concatenate”, is often used...
Initially, the owner of a file is the user who creates it. The chown command is used to change the ownership of files and directories....
The chmod command is used to change the permissions of a file or directory. Only the root user or the user who owns the file is able to...
Permissions determine the ways different users can interact with a file or directory. When listing a file with the ls -l command, the...
There are many Linux commands which deal with sensitive information like passwords, system hardware, or otherwise operate under other exceptional...
The ls command is used to list the contents of a directory. You’ve already seen it used a few times before in examples, but this page...
In order to discover where you are currently located within the filesystem, the pwd command can be used. The pwd command prints...
Our site uses cookies. By using this site, you agree to the Privacy Policy and Terms of Use.