Linux Files

4 Articles
ICTKB_IMG

Moving Files in Linux

The mv command is used to move a file from one location in the filesystem to another.mv SOURCE DESTINATION The mv command requires at least two arguments. The first argument is the source, a path to the file to be moved. The...

ICTKB_IMG

Copying Files in Linux

Creating copies of files can be useful for numerous reasons: cp [OPTIONS] SOURCE DESTINATION The cp command is used to copy files. Similar to the mv command, it requires at least two arguments: a source and a destination. For...

ICTKB_IMG

Viewing Files in Linux

There are a few Linux commands available to view the content of files. The cat command, which stands for “concatenate”, is often used to quickly view the contents of small files. The cat command will display the entire...

ICTKB_IMG

File Permissions in Linux

Permissions determine the ways different users can interact with a file or directory. When listing a file with the ls -l command, the output includes permission information. For the example we will use a script...

Our site uses cookies. By using this site, you agree to the Privacy Policy and Terms of Use.