Htop: improved version of top
Last: logon history
W: Current Login User
ID: view User/group representation Information
SAR: Tools for viewing historical system statistics
Iftop or nethogs: view the network utilization of the socket or process
SS: View statistics
Dmesg: startup or system error message
(Linux) hdparm: displays or sets disk parameters.
(Linux) lsb_release: view the release version of the Linux System
(Linux) lshw: View hardware information
Fortune, ddate, and SL: It de
(with?) to continue looking until you find it.For the first use VI, there are a few notes to remind:1. When you open a file with VI, you are in command mode, and you want to switch to insert mode to enter text. Toggle method: Click on the letter "i" "Command mode" to enter "Insert Mode", then you can start to enter the text.2, after editing, you need to switch from insert mode to command line mode in order to save the file, switch method: Press the "esc" key.3. Save and exit the file: Enter in
Common commands for clearing disk space in Unix/Linux
Here we recommend several common methods for clearing disk space in Unix/Linux:
Method 1:
Find./-name "*. log *"-exec echo ">" {}\; | sh
This command searches for the files ending with ". log" in the current directory and clears the files. This command is suitable for long-standing log and cannot be deleted di
Label: Ar strong SP Div on amp BS res File
Collect the decompressed commands here and check them now. Haha
. Tar
Unpack: Tar xvf filename.tarPackage: Tar CVF filename.tar dirname(Note: tar is packed, not compressed !)---------------------------------------------. GZDecompress 1: gunzip filename.gzDecompress 2: gzip-D filename.gzCompression: gzip filename.Tar.gzDecompress: Tar zxvf filename.tar.gzCompression: Tar zcvf filename.tar.gz dirname-----------
After installing the mobile terminal found ping command, the route and other commands can not be used, prompt command not found.Workaround: Install the support packageShell-cmds Package: Contains Killall,mktemp, Renice, Time,which commandNetwork-cmds Package: Contains Arp,ipconfig,netstat,route,traceroute commandInetutils Package: Contains FTP,INETD,PING,RLOGIN,TELNET,TFTP commandAdv-cmds Package: Contains FINGER,FINGERD,LAST,LSVFS,MD,PS commandMobile
name. So if you also encounter this error, please check that the user name, group name, and other settings are correct.After uploading, you will see committed revision 1. The words, the upload was successful. Congratulations to you here. But don't take it easy on your guard and let the other members test their read and write permissions. Please try it for a reference. Here are a few more you need to test I do not one to do.Test 2: Download code from server side to client local(Pending completio
In Unix/Linux applications, we generally want to run a program in the background, so we usually use at the end of the program to make the program run automatically. For example, we want to run mysql in the background:/usr/local/mysql/bin/mysqld_safe-user = mysql . However, many programs do not want to use mysqld, so we need the nohup command. How can we use the nohup command? Here we will explain some usage of the nohup command.
Nohup/root/start. sh
I am recently working on an iPhone text message upload and download project. After the text message is downloaded, I need to restart the SMS app to view the downloaded text message.
However, in reality, it is impossible for users to restart the sms app, and all of them can only achieve the same effect in the code.
Use unix commands to end the text message process. When the user returns to the text message
[Syntax]: mkdir [-M mode] [-p] Directory name[Note]: This command is used to establish the directory, the access mode of the directory is determined by the mask (umask), requires write permission to its parent directory, the UID and GID of the directory for the actual UID and GID-M Create directory in specified access mode-P establishes all of its nonexistent parent directories when the directory is created[Example]:mkdir tmp creating subdirectories in current directory TMPMkdir-m 777/TMP/ABC wi
1 PackageAlgorithms.util;2 3 /******************************************************************************4 * Compilation:javac Directory.java5 * Execution:java Directory directory-name6 * Dependencies:Queue.java Stdout.java7 * 8 * Prints out all of the files in the given directory and any9 * subdirectories in Level-order by using a queue. Also PrintsTen * out their file sizes in bytes. One * A *% java Directory. - * - *********************************************************************
When you are maintaining Oracle, you can use some Unix operating system commands to view system-related information under various operating systems.
Memory
-------
Aix:bootinfo-r
LSATTR-E-LMEM0
/USR/SBIN/LSATTR-E-L sys0-a Realmem
Or use a tool as "Topas" or "Nmon" (These are utilities)
Linux:cat/proc/meminfo
/USR/SBIN/DMESG | grep "Physical"
Free (the free command)
HP:/usr/sam/lbin/getmem
grep me
Hp unix has maintained a high market share in large enterprise-level hosts. For its top commands, I have read some documents before. Here I will summarize how to analyze the contents.
1.TopThe command syntax is as follows:
Top [-s time] [-D count] [-q] [-u] [-H] [-N number] [-f filename]
-S time: set the screen refresh latency, in seconds. The default value is 5 seconds.
-D count: set the number of screen r
CPU time of the process)
PRI
Process Priority Scheme. A large number indicates a lower priority.
Ni
Nice value of the process, which is associated with the priority scheme. Enabling a process "nicer" means lowering the priority of the process so that it does not use up CPU time
SZ
The amount of virtual memory requested by the process. This is a good indicator of the system's memory requirements.
Tty
Start the terminal of the process (or parent pro
BKJIA: In this article, we will introduce six cool and practical Unix/Linux tools. From viewing the weather through your terminal to letting a system administrator teach you how to complete a difficult task, there is almost no clue. Interestingly, most of these tools were released decades ago! Please let me know ......
Mentoring dialogue: kibitz
Kibitz is a terminal tool mainly used by a "master" to help him/her "apprentice )". Essentially, it provide
MAN: manual refers to the manual. You can use this command to query the usage of other commands.
PWD: Print working directory indicates a password.
Su: Switch the swith user to the root user.
CD: Change directory switch directory
Ls: List Files
PS: Process status
Mkdir: Make directory to create a directory
Rmdir: Remove directory move directory
Mkfs: Make File System: create a file system
Fsck: File System check file system check
C
Introduction: Most Java programmers use some sort of tracking system to track potential bugs and problems with code in development. However, multithreading and multi-platform environments can generate a lot of puzzling trace data. In this article, software engineer Daniel Would provides some tips to help you understand the trace data that is generated in a complex application. You will learn how to use the Open source logging package log4j to generate a log file that contains rich information. Y
With more than 10 years of windows, and finally changed a high with the Mac, as the saying goes regardless of the front end or back end or toward the Linux, no matter how many PCs will eventually go to the Mac. Not learning command line with what Mac? It's done!
Pwd shows the current file path (print working directory)
Ls shows the files and folders in the current path (list, not is! the landlord always thought it was Is, always wrong)
Mkdir create folder (make directory)
Rmdir delete fold
Original post link: http://www.diguage.com/archives/8.html
XargsOrParallelRead the information from the standard input as a parameter, initialize the executable command, and then run the command once or multiple times. It can be executed in parallel.
SedAndAwkThese two commands are well-known and can be said to be the omnipotent machine for processing text files, and the speed is faster than Ruby or Python.
M4A simple macro processor is mainly used a
Many Linux commands come to mind, some of which are unknown, and others are very common, as follows: xargsorparallel: run some programs in parallel. The command has many options: sedandawk: widely known and useful commands for processing text files, such as Python and R
Many Linux commands come to mind, some of which are unknown and others are common, as follows:
:-B Display block number-C displays only the total number of rows in each specified file that contains the patternLetters in-I mode are case insensitive-H does not display the file name of the containing pattern on the line-L show only filenames that contain patterns-N Displays the line number of the line in which the pattern is-s Specifies that the file does not exist or is unreadable without prompting for an error message-V Displays all rows that do not contain a pattern[Example]:grep ' good '
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.