The following are the 28 command-line tools collected by Krist ófská cs under 28 Unix/Linux systems. Some of them are familiar with and some are very useful, some are unknown. These tools are very good and I hope everyone will know. This article is also discussed on Hacker News. You can check it out later. I added the official website links and instructions in the author's original article.
Dstat & sar
Iostat, vmstat, and ifstat are three-in-one tools used to view system performance (the three xxstat tools I mentioned in performance tuning strategy ).
Http://dag.wieers.com/rpm/packages/dstat/
You can use:
1
alias
dstat=
'dstat -cdlmnpsy'
Slurm
A tool for viewing network traffic
Official Website:Simple Linux Utility for Resource Management
Vim & emacs
A real programmer's code editor.
Screen, dtach, tmux, byobu
Do you often need SSH or telent to remotely log on to the Linux server? Do you often have a headache for long-running tasks, such as system backup and ftp transmission. Generally, we open a remote terminal window for each such task because it takes too long to execute. You must wait for the task to complete. During this period, you cannot close the window or disconnect the connection. Otherwise, the task will be killed and everything will be abandoned.
Screen is a window manager that can reuse a physical terminal among multiple processes. Screen has the concept of session. You can create multiple screen Windows in one screen session, just like operating a real telnet/SSH connection window in each screen window. Please refer to the IBM DeveloperWorks article "using screen to manage your remote sessions".
Dtach is a tool used to simulate the detach function of screen. It allows you to attach to various sessions at will. The format of dtach + dvtm.
Tmux is an excellent terminal reuse software, similar to GNU Screen, but comes from OpenBSD and adopts BSD authorization. The most intuitive advantage of using it is that after logging on to the remote host through a terminal and running tmux, you can enable multiple consoles without having to "waste" Additional terminals to connect to this remote host. Of course, its functions are far more than that. Advantages compared with screen: You can split the window horizontally and vertically, and the pane can be freely moved and adjusted. You can copy and paste data in multiple buffers. Cross-window search is supported. You do not need to detach data again after an exception occurs ;...... Some people say that, compared with tmux, screen is almost weak.
Byobu is a tool developed by Ubuntu and packaged Based on Screen to make it easier to use. The latest Byobu is based on Tmux as the backend. You can use the "byobu-tmux" command line front end to accept various parameters identical to tmux to control it. The details of Byobu are very good, as follows:
Multitail
MultiTail is a software that monitors multiple documents at the same time and features similar to tail commands. The difference between him and tail is that he opens multiple windows in the console, which makes it possible to monitor multiple log documents at the same time. He can also view log file statistics, merge log files, filter log files, split screens ,.......
Official Website: http://www.vanheusden.com/multitail/
Tpp
It would be too TMD Geek to use the demo PPT at a certain conference.
Official Website: http://www.ngolde.de/tpp.html
Xargs & parallel
Executes tasks from input (even multithread ).
Xargs is an old command with simple parallel functions. For GNU parallel (online manpage), it can not only process multiple threads on the local machine, but also distribute to remote computers for processing. Before using GNU parallel, you must first confirm that the local machine has installed GNU parallel/ssh/rsync, and install ssh on the remote computer.
Duplicity & rsyncrypto
Duplicity is an efficient backup software encrypted using the rsync algorithm. Duplicity supports Directory encryption for production and format uploading to remote or local file servers.
Rsyncrypto is rsync + encryption. For rsync algorithms, see rsync Core algorithms of cool shell.
Encrypting backup tools.
Nethack & slash 'em
NetHack (Wiki) is a 20-year-old computer game. No sound, no beautiful interface, but this game is really interesting. A guy on the Internet said: If you only do one thing in your life, you can play NetHack. This sentence is very eye-catching, but it also makes people feel that this game is complicated and difficult to get started. In fact, this game is complex but easy to use. Although it is difficult to get started with customs clearance, it is easy to get started. There are many complex rules on NetHack, "the DevTeam thinks of everything" (the development team thinks about everything ). Various monsters, various weapons ...., There are many spoilers files to describe their rules. In addition to randomly generated maps, you may encounter strange things every time you play a game: because you have a potion and become a robot; because it broke the door of the store and was asked to pay for it at a high price, your dog stole something from the store for you ..... This is a bit like life. You cannot fully understand the world, but you can still choose your own approach.
There are many articles on the Internet. This is one of the best computer games or the best computer games. It may be because the open source code is admirable, the old history is tolerant, and complicated rules are awesome. Although it is not a popular game, it is more likely to be tested for another 20 years than any popular game.
Slash 'em is also a classic NetHack-based game.
Lftp
Use the lftp command line ftp tool to perform Incremental backup and image of website data, just like using rsync.
Ack
Ack is a perl script and an optional replacement of grep. It can highlight matching characters. It is specially designed for programmers. By default, recursive search provides multiple file types in the province.
Calcurse & remind + wyrd
Calcurse is a calendar and calendar software under the command line. Remind + wyrd is similar. For calendar, I have to mention a Linux Cycle calendar, which is also an artifact.
Newsbeuter & rsstail
Newsbeuter and rsstail are reading tools for RSS under the command line.
Powertop
Be an environmentally friendly programmer and check which programs in your computer are charged for power consumption. PowerTOP is a Linux tool that saves power on Intel Platform laptops. This tool is released by Intel. It can help users find those programs with high power consumption, and save power by repairing or disabling those applications or processes.
Htop & iotop
Htop and iotop are used to view processes, memory, and IO loads.
Ttyrec & ipbt
Ttyrec is a tty console recording program. The recorded data files can be played using the matching ttyplay. You can record all your operations in tty or software familiar in tty.
Ipbt is a tool used to play back the console input process recorded by ttyrec.
Like this, there are Shelr and termrec.
Rsync
A classic tool for file synchronization through SSH (Core Algorithm)
Mtr
MTR-traceroute 2.0 is a small tool that integrates traceroute and ping to diagnose the network.
Socat & netpipes
Socat is a multi-functional network tool named "Socket CAT". It can be seen as an enhanced version of netcat N times.
Like socat, netpipes is mainly used to perform socket operations on the command line, so that you can perform socket network communication under the Shell script.
Iftop & iptraf
Iftop and iptraf can be used to view some traffic conditions of the current network link.
Siege & tsung
Siege is a stress testing and evaluation tool. It is designed for WEB development to evaluate the application's affordability. It can perform concurrent access to multiple users on a WEB Site Based on configurations, record the corresponding time of all the request processes of each user, and repeat them under a certain number of concurrent accesses.
Tsung is a stress testing tool that can be used to test servers such as HTTP, WebDAV, PostgreSQL, MySQL, LDAP, and XMPP/Jabber. For HTTP testing, Tsung supports HTTP 1.0/1.1, including session records in a proxy mode, GET, POST, PUT, and DELETE methods, and supports Cookie and basic WWW authentication, SSL is also supported.
See 10 free Web stress testing tools
Ledger
Ledger is a small tool for billing under the command line.
Taskwarrior
TaskWarrior is a command line-based TODO list management tool. Features include tags, color table output, reports and graphics, a large number of commands, underlying APIs, and Multi-User File locks.
Is the TaskWarrior 2.0 interface:
Curl
CURL is a File Transfer tool that uses the URL syntax to work under the command line. It was first released in 1997. It supports file upload and download, so it is a comprehensive transmission tool, but traditionally, cURL is called a download tool. CURL also contains the libcurl for program development. CURL supports FTP, FTPS, HTTP, HTTPS, TFTP, SFTP, Gopher, SCP, Telnet, DICT, FILE, LDAP, LDAPS, IMAP, POP3, SMTP, and RTSP.
Rtorrent & aria2
RTorrent is a very simple, excellent, and lightweight BT client. it uses the ncurses library to write in C ++, so it is fully text-based and runs in the terminal. it is ideal to use rTorrent on a low-end system with GNU Screen and Secure Shell installed as a remote BT client.
Aria2 is the next good high-speed download tool in Linux. Because it has a multipart Download engine, it supports downloading the same file from multiple addresses or multiple connections from one address. This naturally speeds up the download of files. Aria2 also has the resumable upload function, which enables you to resume interrupted file downloads at any time. In addition to the common http (s) and ftp protocols, aria2 also supports BitTorrent. This means you can also use aria2 to download torrent files.
Ttytter & earthquake
TTYtter is a tool written in Perl to send Twitter via command lines. It can do anything that can be done by clients on other platforms. Of course, TTYtter supports Chinese. Script control, CLI control, terminal control, Perl control.
Earthquake is also a Twitter client on the command line.
Vifm & ranger
Vifm is based on the ncurses file manager. It adopts the DOS style and operates on the keyboard.
Ranger is completed in Python. By default, it is a Vim-style key binding, such as hjkl (up and down), dd (CUT), and yy (copy. Full functionality, great scalability and configurability. Similar to the multi-column file management method of the Finder (File Manager) in MacOS X. Multiple Tabs are supported. Preview text files and directories in real time.
Cowsay & sl
Cowsay, as shown below. You can also search for xcowsay by yourself.
What is sl? Ls ?, Haha, do you often convert ls into sl? If so, you can have fun with this thing. You will see a train whistling through ~~, It is quite windy. You can use sudo apt-get install sl for installation.
Finally, we will introduce the logo in a command. You can use sudo apt-get install linuxlogo for installation, and then you can use linuxlogo-L
Let's take a look at various Linux logos.
(Full text)