How to operate files under Linux

  

How to operate files under Linux?

A: You can use the ls -l command to list the details of the directory, which is equivalent to the DOS DIR command. The output of the ls command is as follows:

total 2
drwxr-xr-x 2 xu user 1024 Mar 13 0:34 sub1
-rw-r----- l xu user 678 Jun 15 1:45 hodo.txt

The leftmost column is the file/directory permissions, the third column is the owner information, the fourth column is the owner's user group, and the fifth column is the size of the space. Next is the date, time, and the last column is the file/directory name. The following are some common files for the command:

rm: delete files more: browse files cp: copy files

Copyright © Windows knowledge All Rights Reserved