CTRL + N, it is equivalent to the general display of the up arrow Ctrl + R: Number prompt, based on the user input to find the relevant historical commands (reverse-I-search)
**************************************** **************************************** ********************Frequently Used shortcut keys:
Alt + F move the cursor forward (forward) to the next word Alt + B move the cursor back (backward) to the previous word Ctrl + W Delete the word f
current rowO: open a new row above the current row.R: Replace the current characterR: Replace the current and subsequent characters until you Press ESC.S: Starting from the current cursor position, replace the specified number of characters with the input textS: delete a specified number of rows and replace them with the input textNCW or NCW: modify a specified number of charactersNCC: modifies a specified number of rows.
DELETE commandNdw or ndw: n-1 characters starting at and following the c
the hard disk space and usage. in Linux, the parameter H can be used to display more user-friendly results. For example:DF-H hard drive space display by userDF-K hard disk space is displayed in KBDF-M hard disk space is displayed in MB
W: displays the list of users logging on to the server.
The following commands are only applicable to Linux
Lsof: displays the list of currently opened files, including established socket connections. This command can
DF Command verbose usage
A: Displays all file systems and disk usage scenarios for each partition
I: Show the usage of i-nodes
K: size is denoted by K (default value)
T: Displays all partition disk usage for one file system
X: Displays all partitions that are not part of a file system disk usage
T: Displays the name of the file system to which each partition belongs
Common commands: Df-hi
Detailed operation
Instruction DF can show the maximum a
File2 to the file3.Cat File1–file2–file3:???od: Octal, Decimal, hex, ASCII dumpLess:which: Locate a program file in the user ' s path.Find : Find. -name "*.C"-printfile: Determine file type.Head: Display first lines of a file. head-10 filename. tail: Display The last part of a file.cut: Cut out selected portions of each lie of a flie.colrm: Remove columns from a file. COLRM 8 filenamediff: Compare files on line.sort: Sort lines of text file.uniq: report or filter out repeated lines in a file.C
Level: Intermediate
By Michael Stutz
From: IBM developerworks China
Link: http://www.ibm.com/developerworks/cn/aix/library/au-badunixhabits.html
When you often use a system, it is often in a fixed usage mode. Sometimes, you do not get into the habit of doing things in the best way possible. Sometimes, your bad habits may even lead to confusion. One of the best ways to correct such defects is to consciously adopt the good habits of resisting these bad habits. This article presents 10
have already been involved in programming on unix, but they have not yet formed experience and knowledge systems. Without linux operation experience, you cannot directly view this book. Even if you have a lot of linux O M (Common commands, linux system mechanisms, file systems, pipelines, process features, shell scripts) but without a complete C language, data structure, and a little knowledge of operatin
Recently used Unix time to convert applications in MySQL and. Net. Keep this information in your blog.How to get the present in different programming languages Unix time Stamp (Unix timestamp) ?
Java
Time
Javascript
Math.Round (New Date (). GetTime ()/1000)GetTime () The unit of return value is milliseconds
Mic
Article Title: UNIX and UNIX-like system security check notes. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Here are some personal experience notes. I believe it is useful for UNIX or U
The cut command is used to read content from a file or standard input, extract specific parts of each row, and send them to standard output.
There are three ways to intercept, one is by character location, the other is by byte location, the third is
1. Switch the root user in the terminal: Sudo-I
2. Switch the su User Name (I tried, but it failed)
3. Log On As A root user:
OS X lion
SlaveAppleSelectSystem preference settings....
SlaveDisplaySelectUsers and groups.
Click the lock icon and
### Run the following content in the System shell--- Run the following content in Sqlplus with this Annotation### 1. Environment for obtaining Oracle usersSu-oracleCd/oracleSource. cshrc### Display the running status of Oracle10gRAC/crsCrs_stat-t###
Description: ethtool is a command used to query and set Nic parameters.
Summary:Ethtool ethx // query basic ethx network port settingsEthtool-H // display the ethtool Command help (HELP)Ethtool-I ethx // query ethx network port
ArticleDirectory
1.1.2 groupadd
1.1.3 groupdel
1.1.4 useradd
1.1.5 userdel
1.1.6 passwd
1.1.1 Su
[Syntax]: su [-] [user name]
[Note]: The su command makes the current user a specified user. If no user is specified,
Dmesg displays kernel information. Some useful information can be provided when a module loaded in the hardware or kernel has a problem.
Top: displays the actual CPU usage
Sar is used to collect, report, and store system information.
Dmesg displays kernel information, when a module loaded in the hardware or kernel has a problem, some useful information can be provided. top: display the actual CPU usage. sar is used to collect, report, and save system information. iostat is
1.Use the value assignment statement:Format:LetValue assignment expression【Tip] The Value assignment expression can be omitted as follows:((Value assignment expression))Example: Give the independent variableIAdd1Let I = I + 1Or(I = I + 1) -----------
■ Cat command
Displays the file content.
Assume that the F. Java file exists. Each time you input a line, a blank line is displayed ,:
● Default options
:
●-A Option
Displays the file content, ^ I mark (Tab key), and $ mark (line break ). :
●-B
System
# Uname-A # view kernel/OS/CPU information # Head-N 1/etc/issue # view OS version # Cat/proc/cpuinfo # view CPU information # hostname # view computer name # lspci-TV # list all PCI devices # lsusb-TV # list all USB devices # lsmod # list
. tarUnpack: Tar xvf Filename.tarPacking: Tar cvf filename.tar dirname(Note: Tar is packed, not compressed.) )---------------------------------------------. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip
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.