[Illustrated] 28 unix/linux command-line artifacts

Source: Internet
Author: User
Tags ack curl ldap ssh perl script rsync ibm developerworks in python

Below is a collection of 28 unix/linux under the 28 command line tools, some are familiar with, some are very useful, some are not known. These tools are very good, I hope everyone knows. In order to facilitate the study, I have a picture, but also added the official website connection

Dstat & SAR


Iostat, Vmstat, ifstat a triple tool for viewing system performance (I mentioned those three Xxstat tools in the performance tuning strategy).

Official website: http://dag.wieers.com/rpm/packages/dstat/

You can use this:

1
Alias
dstat=
' Dstat-cdlmnpsy '
Dstat screenshot



Slurm


A tool for viewing network traffic

Official website: simple Linux Utility for Resource Management

Slurm screenshot

Vim & Emacs


Real Programmer's Code editor.



Screen , Dtach, Tmux, Byobu


Do you often need SSH or telent to telnet to a Linux server? Do you often have headaches for long-running tasks, such as system backups, FTP transmissions, and so on. Usually we open a remote terminal window for each of these tasks because they are running for too long. You must wait for it to finish, during which you can not turn off the window or disconnect, otherwise this task will be killed, all the halfway.

Screen is a window manager that can multiplex a physical terminal across multiple processes. Screen has the concept of a session, where users can create multiple screen windows in a screen session, as in each screens window, as in the case of a real telnet/ssh connection window. See IBM Developerworks's article, "Using screen to manage your remote sessions."




Dtach is a gadget used to simulate screen's detach function, which allows you to freely attach to various sessions. The image below is DTACH+DVTM.



Tmux is an excellent terminal reuse software similar to the GNU screen, but comes from OpenBSD, using BSD authorization. The most intuitive advantage of using it is that after a terminal login to a remote host and run Tmux, it can open multiple consoles without having to "waste" redundant terminals to connect to the remote host; Advantages over screen: The window can be split horizontally and vertically, and the panes can be moved and resized freely.  can be copied and pasted in multiple buffers to support cross window search, abnormal disconnection does not need to detach; It was said that screen was a tmux compared with the other.




Byobu is a tool developed by Ubuntu that is packaged on screen to make it more user-friendly. The newest Byobu is already based on Tmux as the back end. You can control it by accepting a variety of parameters that are identical to the Tmux by using the "Byobu-tmux" command line front-end. The details of the Byobu are very good and the effect is as follows:



Multitail

Multitail is a software that implements the ability to monitor multiple documents simultaneously, similar to tail commands. The difference between him and tail is that he opens multiple windows in the console, making it possible to monitor multiple log documents at the same time. He can also look at log file statistics, merge log files, filter log files, split screen, ...

Official website: http://www.vanheusden.com/multitail/




TPP

Terminal under the PPT, if at such a conference with this presentation PPT, it is too TMD geek.

Official website: http://www.ngolde.de/tpp.html




Xargs & Parallel

Executes tasks from input (even multithread).

Xargs is an older command with a simple parallel function, which is not mentioned. For the GNU parallel (online manpage), it is not only capable of handling multiple threads on the machine, but also distributed to remote computers to assist in processing. Before using the GNU parallel, it is necessary to make sure that there is a GNU Parallel/ssh/rsync installed on the machine, and SSH is installed on the remote computer.





Duplicity & Rsyncrypto

Duplicity is an efficient backup software using the rsync algorithm encryption, duplicity supports directory encryption production and formats upload to remote or local file servers.

Rsyncrypto is rsync + encryption. The algorithm for Rsync can refer to the rsync core algorithm of the cool shell.

Encrypting backup tools.




NetHack & Slash ' em


NetHack (Wiki), 20 years old computer game of history. No sound, no beautiful interface, but the game is really interesting. There's a guy on the internet who says, "If you only do one thing in your life, play NetHack." This sentence is very eye-catching, but also let people think that the game is very complicated not easy to start. In fact, the game is very complex, but easy to get started. Although it's hard to play customs, it's easy to get started. There are many complex rules on NetHack, "The DevTeam Thinks of Everything" (the development team thought of everything). All kinds of monsters, all kinds of weapons ..., there are many spoilers files to illustrate their rules. In addition to the randomly generated maps every time you play a game, you will also encounter strange things: because of drinking a potion to become a robot, because the door to break the store is required to pay a high price; your dog stole the store for you. It's kind of like life, you can't fully understand the world, but you can still choose your own way of facing.

There are many articles on the web that are one of the best computer games or the best computer games. Perhaps because of its open source is appreciated, ancient history is tolerant, complex rules let people awe. Although it is not the current popular game, it is more likely than any current popular game to undergo a 20-year test.

Slash ' EM is also a classic game based on NetHack.




lftp

Use the LFTP command line FTP tool to make incremental backups of your site's data, mirroring, just as with rsync.



ack

An ACK is a Perl script that is an optional alternative to grep. It can be highlighted for matching characters. is specially designed for programmers, default recursive search, the province provides a variety of file types to choose from.



Calcurse & remind + Wyrd

Calcurse is a command-line calendar and schedule software. Remind + Wyrd is also very similar. About the calendar, I have to mention a Linux cycle calendar, but also an artifact, hehe.



Newsbeuter & Rsstail

Newsbeuter and Rsstail are the reading tools for RSS at the command line.



PowerTOP

Be an environmentally friendly programmer and see what programs you have on your computer that cost electricity. PowerTOP is a Linux tool that saves power for laptops on Intel's platforms. This tool is published by Intel Corporation. It helps users find programs that are big-power-saving by fixing or shutting down 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 whose recorded data files can be played with the accompanying ttyplay. Whether it's a variety of things you do in TTY, or software that you're familiar with in TTY, you can record it.

IPBT is a tool used to back and forth Ttyrec the recording of the console input process.

Similar to this, there are SHELR and Termrec.



rsync

Classic tools for file synchronization via SSH (core algorithm)



mtr

Mtr–traceroute 2.0, a gadget that integrates traceroute with Ping to diagnose the network.




Socat & Netpipes

Socat is a multi-functional network tool, the name is "Socket CAT", can be seen as a netcat n-times enhanced version.

Netpipes, like Socat, is primarily used to command socket operations at the command line, so you can go into the socket network with the shell script.



Iftop & Iptraf

Iftop and Iptraf can be used to view some of the current network link traffic.




Siege & Tsung

Siege is a stress testing and evaluation tool designed for web development that assesses the affordability of applications under pressure: You can configure a Web site for multi-user concurrent access, record the corresponding time for each user's request process, and repeat it under a certain number of concurrent accesses.

Tsung is a stress testing tool that can test servers including HTTP, WebDAV, PostgreSQL, MySQL, LDAP, and Xmpp/jabber. For HTTP testing, Tsung supports HTTP 1.0/1.1, includes session logging in a proxy mode, supports GET, POST and put, and DELETE methods, supports cookies and basic WWW authentication, and also supports SSL.

See: 10 Free Web stress testing tools



Ledger

Ledger a small tool for accounting under a command line.



Taskwarrior

Taskwarrior is an TODO list management tool based on the command line. Main functions include: tags, color form output, reports and graphics, a large number of commands, the underlying API, multi-user file locks and other functions.



The following figure is the Taskwarrior 2.0 interface:



Curl

Curl is a file transfer tool that works at the command line using URL syntax, which was first released in 1997. It supports file uploads and downloads, so it's a comprehensive transmission tool, but traditionally, it's customary to call curl a download tool. The curl also includes libcurl for program development. Curl support for the pass?? F is scheduled for FTP, FTPS, HTTP, HTTPS, TFTP, SFTP, Gopher, SCP, Telnet, DICT, FILE, LDAP, LDAPS, IMAP, POP3, SMTP, and RTSP.



rtorrent & Aria2

RTorrent is a very concise, excellent, very lightweight BT client. It uses the ncurses library to write in C + +, so it is completely text-based and runs in the terminal. It is ideal to use rtorrent as a remote BT client on a low-end system with GNU screen and Secure Shell installed.

ARIA2 is the next nice high-speed download tool for Linux. Because it has a segmented download engine, it supports downloading the same file from multiple addresses or multiple connections from one address. This naturally greatly accelerates the download speed of the file. ARIA2 also has a breakpoint continuation function, which allows you to recover a disconnected file download at any time. In addition to supporting the general HTTP (s) and FTP protocols, ARIA2 also supports the BitTorrent protocol. This means that you can also use aria2 to download torrent files.



Ttytter & Earthquake

Ttytter is a Perl-written command-line Twitter tool that can do what all other platform clients can do, and of course, support Chinese. Script-controlled, CLI-controlled, terminal-controlled, Perl-controlled, br/>
Earthquake is also a Twitter client on the command line.





VIFM & Ranger

VIFM ncurses-based file Manager, DOS-style, keyboard-operated. The



Ranger is done in Python by default, using Vim-style key bindings such as HJKL (up and Down), DD (cut), yy (copy), and so on. The function is very complete, the expansion/configurable is also very good. Similar to MacOS X under Finder (File Manager) multiple-column file management. Supports multiple tab pages. Real-time preview of text files and directories.



Cowsay & SL

Cowsay No, as shown below, hahaha. And Xcowsay, you can search your own.



What is SL? Ls? , oh, you will often play LS into SL? If so, this thing can entertain you, and you will see a train roaring past ~ ~, quite pull wind. You can use the sudo apt-get install SL installation.



Finally, to introduce the Linuxlogo in a command, you can install it using the sudo apt-get install Linuxlogo, and then you can use the Linuxlogo-l
Look at the various Linux logos.



(end of full text)

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

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.