Linux system management commands
WallCommand
The function of this command is to send information to all logged-on users. You can first write the information to be sent to a file, and then enter:
# Wall
In this way, information can be sent to all users.
In the preceding example, the symbol "
# Wall' thank you! '
Broad
Common Linux commands (6) and common linux commands
The mv command is short for moving files. It can be used to move files or rename files. It is a common command in Linux and is often used to back up files or directories.
1.Command Format:
Mv [Option] source file or direct
Linux-related decompression commands and linux decompression commands
ZIP
We can use the following command to compress a directory:
# Zip-r archive_name.zip directory_to_compress
Below is a zip file:
# Unzip archive_name.zip
TAR
Tar is a widely used document packaging format in Lin
Linux basic commands and linux commandsLs command
Pwd: display the current directory touch 11.txt: Create a txt file named 11 mkdir laowang under the current directory: Create a folder named laowang ls-a-l-h in the current directory: it is equivalent to ls-alh.-a is used to display all files in the current directory, i
Common commands for linux learning records and commands for linux recording1. enable or disable the server (effective immediately): service iptasbles startservice iptasbles stop2. when the firewall is enabled, make the following settings to enable the relevant ports,Modify the/etc/sysconfig/iptables file and add the fo
Summary of Common commands in Linux and summary of linux commands
Service -- status-all [service status]
Service MySQL restart [restart database]
Pstree-a [show complete commands for each program]
Pstree-c [not applicable to exac
Common Linux commands (9) and common linux commands
The cat command is used to connect files or standard input and print. This command is often used to display the file content, connect several files, or read and display the content from the standard input. It is often used with the redirection symbol.
1. Command Forma
Common linux commands and linux commands
1. Network Parameter Setting command
1. ifconfig: Query and SET network card and IP network segment parameters
1.1 man manual Definition
DESCRIPTION Ifconfig is used to configure the kernel-resident network interfaces. It is used at boot time to set up interfaces
Common commands for file search in Linux and Common commands for linux
File SEARCH Command: find
1. Search by file name
1.1. Search for precise files
Find path-name file name
1.2. Search for a file whose file name contains a string.
Find path-name * file name *
1.3. Search for files prefixed with a string.
Find path-na
the default permissions that correspond to the defaults.[[email protected] ~]# umask-su=rwx,g=rx,o=rx[[email protected] ~]# mkdir/tmp/test[[email protected] ~]# ls-ld/tmp/tes Tdrwxr-xr-x. 2 root root 4096 January 8 00:32/tmp/test[[email protected] ~]#When creating a new file, the default is no execute permission for security purposes. For example, create a new Test1.txt file under the TMP directory with the following default permissions:[Email protected] ~]# touch/tmp/test1.txt[[email protect
Common Linux commands (27th) and common linux commands
In linux, the df command is used to check the disk space usage of the file system of the linux server. You can use this command to obtain the space occupied by the hard disk a
Common Linux commands (15th) and common linux commands
We often search for a file in linux, but do not know where it is stored. You can use the following commands to search:
Which: view the location of the executable file.Whereis
Summary of Common commands in linux and summary of Common commands in linuxClear terminal screen
Clear terminal screen usageClearCommand orCtrl + LCombination of shortcut keys. However, this operation does not actually clear the screen. If you scroll up, you can still see the previous output.
So you can also useResetCommand to truly clear the terminal screen.De
Five linux search commands, five linux commandsFive SEARCH Command Learning
Explain the five linux search commands: locate, find, which, whereis, and grep.Locate
Explanation: From the man manual, we can see that the locate search is based on the file name, but only depends
Basic linux commands and basic linux commands
Shutdown-h now shut down immediately
Shutdown-r now restart the computer
Reboot now restarts the computer
Logout user logout
Vi editor usage:
1) vi file name
2) Enter I to enter the command mode]
3) Enter esc to Enter command mode]
4) input: [wq indicates exit and keep q! E
Summary of common linux commands and common linux commands
I. Summary of common linux commands
Cd: Open the Directory
Cd/home to the '/home' directory'
Cd .. back to the upper-level directory
Cd... returns the last two levels
Network Communication commands (relatively simple ):
1. write/usr/bin/write
Write [user name]
Used to send information to a user, provided that the user has logged on to the server host
Otherwise, there is no way to leave a message for him. Therefore, write is a real-time communication tool.
End the communication with Ctrl + D
E.g. write guest
2. wall [write all]/usr/bin/wall
Used to broadcast information t
Common linux commands and common linux commands
1. Change the group to which the chgrp belongs:
For example, change the group of install. log to users.
chgrp users install.log
ls –l
View results: root users 68495 25 install. log
Owner Group
2. chown changes the owner
For example, change the owner of the
the syntax in the following format:Traceroute website(9) NetstatThe netstat command is used to display network-related information , where the path is/bin/netstat, with the syntax in the following format:netstat [options]where the-t option represents the TCP protocol, the-U option represents the UDP protocol,-L for listening,-R for routing, and-n for displaying the IP address and port number .such as: view the local listening port-----netstat-tlunView all
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.