Working with Linux commands can be a lot of fun, but if you use a few commands that can reduce your work or display information in a fun way, you'll have more fun.

The Linux command line has attracted most Linux enthusiasts. A normal Linux user typically has about 50-60 commands to handle daily tasks. Linux commands and their transformations are the most valuable treasure for Linux users, shell script programmers, and administrators. Some Linux commands are rarely known, but they are very handy and useful whether you are a novice or an advanced user.

The purpose of this article is to introduce some little-known Linux commands that will help you manage your desktop/server efficiently.

1. sudo ! ! command

Running without a specific input sudo command will give an error without permission. So, you don't need to rewrite the entire command, just type '! ! 'You can grab the last command.

11 Linux commands you must know

11 Linux commands you must know

2. python command

The following command produces a simple web page that displays the folder structure tree over HTTP, which can be accessed by the browser on port 8000 until an interrupt is signaled.

# python -m SimpleHTTPServer

3. mtr command

Most of us are familiar with ping and traceroute. That is the mtr command that combines the functions of the two commands into one. If mtr is not installed on your machine, apt or yum needs the package.

11 Linux commands you must know

4. Ctrl+x+e command

This command is very useful for administrators and developers. To automate daily tasks, administrators need to open the editor by typing vi, vim, nano, and so on.

Just hit "Ctrl-xe" from the command line and you can start working in the editor.

5. nl command

The "nl command" adds the number of lines of the file. A file called 'one.txt' with the contents of each line (Fedora, Debian, Arch, Slack, and Suse), adding line numbers to each line. First use the cat command to display the contents of the file "one.txt".

11 Linux commands you must know

6. shuf command

The "Shut" command randomly selects a line/file/folder from a file or folder. First use the ls command to display the contents of the folder.

11 Linux commands you must know

Note: You can replace 'n1' with 'n2' to output two random choices or use n3, n4, etc. to output any other random selection.

7. ss command

"ss" means socket statistics. This command investigates the socket and displays information similar to the netstat command. It can display more TCP and status information than other tools.

11 Linux commands you must know

8. last command

The "last" command displays the history information of the last logged in user. This command displays the list of users for logged-in and logged-out and their tty's by searching for the file "/var/log/wtmp".

11 Linux commands you must know

9. curl ifconfig.me

So how do you get your external IP address? Use google? Then this command will output your external IP address in your terminal.

# curl ifconfig.me

Note: You may not follow the curl package, you need apt/yum to follow the package.

10. tree command

Get the structure of the current folder in a tree format.

11 Linux commands you must know

11. pstree

This command displays all currently running processes and their associated child processes, and outputs a tree format similar to the 'tree' command.

11 Linux commands you must know
11 Linux commands you must know

KNB6-63 Miniature Circuit Breaker

KNB6-63 Mini Circuit breakers, also named as the air switch which have a short for arc extinguishing device. It is a switch role, and also is a automatic protection of low-voltage electrical distribution. Its role is equivalent to the combination of switch. Fuse. Thermal Relay and other electrical components. It mainly used for short circuit and overload protection. Generally, According to the poles, mini Circuit breaker can be divided into 1P , 1P+N , 2P, 3P and 4P.


KNB6-63 Miniature Circuit Breaker,Electronics Miniature Circuits Breaker,Automatic Miniature Circuit Breaker,Mini Circuit Breaker

Wenzhou Korlen Electric Appliances Co., Ltd. , https://www.zjmoldedcasecircuitbreaker.com

Posted on