Modify the default Interface at startup
Modify/IETC/inittab
Randomly launch a project
Add/etc/rc. d/rc. Local to this file.
Netstat-anp | grep check port activity,
PS-Ef | grep view the process
View the random Startup Process in chkconfig
Configuring IP addresses in netconfig attempt Mode
Decompress the taz.gz file,
Top view processes currently running
FindFind find/-name "***.***"
Cp mv copy mobile CP-AF
Rm-RF: delete all files in the entire directoryForce delete file
Rmdir Delete empty directory
Rm delete file
Chmod
Usage: chmod [-CFVR] [-- help] [-- version] mode file...
Note: The file calling permissions for Linux/Unix are divided into three levels: file owner, group, and others. Chmod can be used to control how files are called by others.
Parameters:
Mode: permission setting string in the following format: [ugoa...] [[+-=] [rwxx]...] [,...], where
U indicates the owner of the file, G indicates that the owner of the file belongs to the same group, O indicates that the owner of the file belongs to other people, and a indicates that all three are.
+ Adds a permission,-Indicates canceling the permission, and = indicates a unique permission.
R indicates that the file can be read, W indicates that the file can be written, and X indicates that the file can be executed only when the file is a subdirectory or the file has been set to executable.
-C: if the permission of the file has been changed, the change action is displayed.
-F: Do not display an error message if the file permission cannot be changed.
-V: displays details of permission changes.
Syntax: chmod ABC File
Each A, B, and C is a number, indicating the permissions of the user, group, and other respectively.
R = 4, W = 2, x = 1
If you want the rwx attribute, 4 + 2 + 1 = 7;
If the RW-attribute is required, 4 + 2 = 6;
If you want the R-x attribute, 4 + 1 = 7.
Example:
Chmod A = rwx File
And
Chmod 777 File
Same effect
Chmod ug = rwx, O = X file
And
Chmod 771 File
Same effect
If chmod 4755 filename is usedProgramRoot permission