command line details for Linux utilities

Source: Internet
Author: User

This is a compelling fact that many IT pros use the Linux command line, even when the GUI is available. Hey, our first Linux command-line guide has clicked more than 50,000 times. But let's hear the reason for IT pros, and in this case, we listen to the reason for David Witham, the Gotalk senior technical expert from the engineering department.

"I was born on an order." The command line gives you the ultimate control over what you do and what you need to accomplish. If there is no command to complete, you can write a script or a pipeline to complete. Using the GUI, what you see is what you get. You will not normally be able to build your own GUI attachments anymore. One big benefit is remote access. Remote access using the command line is often much easier and consumes less bandwidth than Terminal Services or other graphical remote access methods. ”

Joe Klemmer:

1 Expect: "I use expect to accomplish many of the system administration tasks that usually require a lot of time to be repeated, and things like moving files between my desktop and the server can be done with expect." ”

2 LfT: "LfT is like a steroid tracking route." You can get much more information than the tracking route, for debugging connections or just for finding machines or systems. ”

3 MC: "It is the best file Manager." Since I used Norton Commander on DOS, the transition from DOS to Linux has become so easy. ”

David Witham:

4 Sdiff: "Sdiff the difference between 2 text files produces a human-friendly description." It parses the files on both sides, using symbols to display only the rows in the left file, the rows with 2 different files, and the rows that exist only on the right file. Its results are much easier to read than the diff output. ”

Jim Reem:

5 Xargs: "Xargs creates the command line from the standard output data. ”

6 for while: "For, while used to" loop through a column of options, complete a certain action for each option. ’”

7 read: "reads the standard input line into the shell variable for later processing"

8 sort: Used to "arrange text in alphabetical or numerical order; support multiple arrangement keywords." ”

9 Uniq: Used to "delete duplicate rows in a list"

TR: to "convert or delete characters from text stream"

One od: Used to "store binary files in decimal (or hexadecimal)"

WC: Used to "count the number of words in a file"

Top: It's like vmstat to get a view of how the system is running, to see which process is taking up all of the memory. ”

PS: "Learn the details of a process"

Christian P. Roberts:

Date: "It is useful to put a call in a script to output the current information when benchmarking."

ENV: "In order to solve the problem of dotfiles, use a different account to view the environment variables." ”

ln: "Ah ... Soft links are essential for working on the site. ”

Mget: "Not very much, but it's really good to handle multiple files with a single command." ”

Nslookup: What is the real name of the computer ... Or "Is it safe to go there?"

passwd: Usually let someone else send this command to set a password that I use temporarily.

PS: Commonly used to connect the KILL command

Uname: It is helpful when working on different computers because these computers may not be synchronized at the operating system level.

WhoAmI: Yes, who am I? That means, "What's my status?"

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

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: and provide relevant evidence. A staff member will contact you within 5 working days.