disk and exit Note: Write the partition table to the hard disk and exit;X Extra functionality (experts only) Note: Extended application, expert function;In fact, we commonly use only the note has the Chinese, other functions we do not use (oh, mainly I will not be used, otherwise soonerShow off); X expansion function, also is not commonly used, in general, as long as the understanding of D l m p Q t W on the lineTheThe following example operation to detail, no
Examples of common Linux commands and Bash Shell scripts, bashshellSummary
The Linux Command isText-based input/outputAccording to the simple functions, loose input, and rigorous output of the program mentioned in the Unix philosophy, various program combinations can have more powerful functions, the main reason for th
" command " Time-executes the command and timings"Format" time [-p] command [arguments ...]DescriptionExecute command line "command [arguments]", when the command line execution finishes printing in standard output, the time stati
751 file chmod u=rwx,g=rx,o=x fileExample 5 reserved read-only permission for all userschmod =r file chmod 444 file chmod a-wx,a+r fileThe CHGRP command is a user group used to change a file or file, and the corresponding user group can view it in etc/groupsExample 1 indicates that the user group for the Test2 file is changed to be the same as Test1Chgrp--reference=test1 Test2Example 2 recursively change the user group to bin for all files under the
Fun in the terminal: 6 interesting Linux Command Line tools, linux Command Line
Article link:
Http://hpw123.net/a/Linux/ruanjiananzhuang/2014/1103/117.html
More articles are availableHttp://www.hpw123.net
This article introduces some new interesting commands and single-lin
will output the current time in the specified format. Then, the time will be used as a parameter of the touch command. The result is that a file with the current time as the file name is created.
2. Use commands to replace# Kill '/sbin/pidof smbd'This command will kill all sshd processes. Here, the pidof command is used to give the process number, because kill o
Watch is a very useful command, basically all Linux distributions with this gadget, like the name, watch can help you monitor the results of a command, save you to manually run over and over again. Under Linux, watch is the periodic execution of the next program, and full-screen display of the execution results. You ca
How to use and run PHP scripts from the Linux command line, the Linux command line PHP script
The following is an illustrated way to share with you under the Linux command to use and run PHP scripts.
PHP is an open source server-
Linux Command 2 and Linux Command 2
In the process of viewing linux, File Attribute management is a difficult point. Therefore, as a beginner, I put it directly behind it for further research, therefore, I personally think it is an excellent opinion to learn some of the foll
Linux Command sharing: detailed explanation of the netstat command and the netstat command
The netstat command is used to display statistics related to IP, TCP, UDP, and ICMP protocols. It is generally used to check the network connection of each port on the local machine.
Linux Command Line editing common shortcut keys (practical, General), linux Command Line
This article describes common shortcut keys for Linux Command Line editing.
Linux
Linux basic command date command, linuxdate command
1. Time Command: date
The parameter passed to the date command applies to '+' (plus sign). In the parameter passed
% Y indicates year
% M indicates month
% D Indicates day
Linux tar command parameters and usage details--linux Package backup command tarCommandGNU version of the Tar-tar file management program. The meanings are described belowtar [-cxtzjvfppn] files and directories .... Common parameters: -C: Establish a Compress the parameters directive of the file (the meaning of Creat
1. Add the following section at the end of the/etc/profile:user_ip= ' who-u am I 2>/dev/null| awk ' {print $NF} ' |sed-e ' s/[()]//g "Export histtimeformat= "[%F%t][' WhoAmI '][${user_ip}]"2. Source/etc/profile3. Execute whatever command you want,4. Perform the history and see the results:311 [2013-08-28 14:39:20][root][192.168.80.1] History312 [2013-08-28 14:39:43][root][192.168.80.1] Df-h313 [2013-08-28 14:39:45][root][192.168.80.1] Df-g314 [2013-08
Linux Find File Lookup command with grep file Content Lookup commandWhen using Linux, file lookups are often required. The commands you find are primarily find and grep. Two commands are of a district. The Difference : (1) The Find command is based on the attributes of the file , such as file name, file size, owner, o
One linux Command every day, and one linux Command
2014-08-19
Redirection symbol greater than sign: redirects a command execution result (standard output, or error output, which is originally printed on the screen) to other output devices (files, open file operators, or a pr
Previous Blog We explained the Linux compression and decompression command, the most used is the tar command, because now a lot of source packages are. tar.gz format, through TAR-ZCVF can complete decompression. Then for the. zip format of the file, using the Gunzip command decompression, for the. zip format of the fil
one of the most indispensable programs in Linux system operation. The so-called Init process, which is a user-level process initiated by the kernel. After the kernel has booted itself (already loaded into memory, started running, and has initialized all device drivers and data structures, etc.), the boot process is completed by starting a user-level program init.As a result, Init is always the first process (its process number is always 1). All other
file, not modify and delete the file (this scenario is suitable for the log file), and output the instruction execution processIf you modify this file now, an error will occur:When modifying a file, an error occurred and the following command could be used to append the contents of the file:By >> implementation of the file appended,> is to overwrite the contents of the file.2. The settings file must not be arbitrarily changed by adding the attribute
In general, Bash is case-sensitive to commands, and can display the previous history command when you press the "Up" button. However, this is not very convenient, the following configuration, you can let bash ignore the case, and can be based on the input command header press "Up" key to display the history of the command, such as: input vim, and then press "Up"
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.