1. File type
Normal file
Including the user and system of various text files, code files, program files and data files and so on.
Directory
Includes file and subdirectory information, the directory is inverted tree structure.
Special files
Represents physical or logical devices that are stored under the/dev directory.
2, File and directory name
A file or directory name can be up to 255 characters, including uppercase letters, lowercase,
numeric characters, #.@_, and so on.
The file or directory name must not contain spaces, and may not include the following characters:
*?></;&! []$\ '], you cannot use the +,-number as the first character of a file or directory name, and
System commands the same name, AIX strictly distinguishes the case of files or directory names.
3. Directory operation
PWD: Show current directory
$ pwd
/home/xumin
CDS: Changing current directory
$ CD Dir_name
mkdir: Create a new directory
$ mkdir Dir_name
RmDir: Delete Directory
$ rmdir Dir_name
4. File operation
LS: Display directory
$ ls
CP: Copying files
$ CP Source Target
MV: File renamed or moved
$ MV Source Target
ln: Connection File
$ LN Source target
$ ls-l
Total 5
Drwxr-xr-x 4 xumin Staff 15:09 info
-RW-------1 xumin staff 630 Aug modified 10:44
-rw-r--r--1 xumin staff Aug 16:52 Test.file
---x------1 xumin staff 3 16:49 testfile
$ ln-s Test.file Test1.file
$ ls-l
Total 5
Drwxr-xr-x 4 xumin Staff 15:09 info
-RW-------1 xumin staff 630 Aug modified 10:44
-rw-r--r--1 xumin staff Aug 16:52 Test.file
lrwxrwxrwx 1 Xumin Staff 9 Aug one 13:31 test1.file-> test.file
---x------1 xumin staff 3 16:49 testfile