Alibabacloud.com offers a wide variety of articles about check proxy settings linux command line, easily find your check proxy settings linux command line information here online.
Recently, we have been using the Linux operating system (cent5.0) because of our work needs ). I hate Linux terminal command line unchanged style, and it is not easy to distinguish from the output content, it is easy to see. So I went online and found a method to modify the command
. bashrc in the user directory.
If it is not interactive (shell script), bash shell executes the content of the bash_env environment variable.
5. Shell mathematical computation
(1) Count = 1; Count = $ [$ count + 1]
(2) Let I = I + 1; (I = I + 1 ))
(3) Var = 1; Var = 'expr $ var + 1'
Chapter 2 permission management in Linux
Common commands:
Useradd is used to add a new user.Userdel deletes the user, but only deletes the user information in/etc/pass
1. Recursively query a file containing a string in the specified folder (the file content fragment listed)grep-r "string to find" file pathsuch as: Grep-r "HelloWorld". #在当前目录下递归查找 "HelloWorld" string2. recursively find file names (list file names)such as: Find. -name "*.log" #在当前目录中递归列出以log为扩展名的文件3 . Viewing the number of operating system bitsArch4. String Simple intercept operationsuch as: str= "Com.baidu.android.lulei" 1. Get the tail of a string${str##*.} Get "Lulei" (# #最大限度截取 *.)${str#*.}
In a Linux system, when you enter a command and press two TAB, all available commands that begin with the characters you enter are listed. It's not new, maybe you already know. This feature is called Command line completion bash completion. By default, the Bash command
can be done just to find out which port or process is consuming much network bandwidth.Ab,siege: This Apache-brought tool can help you quickly check the performance of your Web server.Wireshark,tshark: is a powerful tool for more advanced network debugging.Strace,ltrace: These two commands can help you in the case of ignorance, the program failed to run, suspended animation, crashes and other problems brought some clues.In addition, they can help to
Below are the 28 Kristóf Kovács collected under the 28 Command line tools (original link), some are familiar with, some are very useful, some are not known. These tools are very good, I hope everyone knows. This article is also discussed in Hacker News, you can go to see. I have added the website link and some instructions in the author's original text.Dstat SARIostat, Vmstat, Ifstat three-in-one tool for
Below are the 28 Kristóf Kovács collected under the 28 Command line tools (original link), some are familiar with, some are very useful, some are not known. These tools are very good, I hope everyone knows. This article is also discussed in Hacker News, you can go to see. I have added the website link and some instructions in the author's original text.Dstat SARIostat, Vmstat, Ifstat three-in-one tool for
a useful tool.
The utility reads text input from a standard input or from a file name given as a command line parameter. It allows you to specify the page range from the input and will be output later. For example, if the input contains 100 pages, you can specify to print only 35th to 65 pages. This feature is of practical value because printing selected pages on a printer avoids wasting paper. Another exa
[email protected]-F Nick=go http://cgi2.tky.3web.ne.jp/~zzh/up_file.cgiRo-Ro said so much, actually curl has a lot of tricks and usageFor example, when you use local certificates for HTTPS, you canCURL-E Localcert.pem Https://remote_serverFor example, you can also use curl to check the dictionary through the Dict protocol ~~~~~Curl Dict://dict.org/d:computerLet's talk about it here today, huh? The Crazy Curl feature requires you to---together to disc
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 connectionDstat SAR
Iostat, Vmstat, ifstat a triple tool for viewing system performance
Have you ever seen a train on the Linux command line? What about the cat and the mouse? Editing the Linux command line is not always a serious matter. You can totally entertain yourself with it. Let's talk about the nature of the
Below are the 28 Kristóf Kovács collected under the 28 Command line tools (original link), some are familiar with, some are very useful, some are not known. These tools are very good, I hope everyone knows. This article is also discussed in Hacker News, you can go to see. I have added the website link and some instructions in the author's original text.Dstat SARIostat, Vmstat, Ifstat three-in-one tool for
Below are the 28 Kristóf Kovács collected under the 28 Command line tools (original link), some are familiar with, some are very useful, some are not known. These tools are very good, I hope everyone knows. This article is also discussed in Hacker News, you can go to see. I have added the website link and some instructions in the author's original text.Dstat SARIostat, Vmstat, Ifstat three-in-one tool for
Reference: http://blog.jobbole.com/23638/Below are the 28 Kristóf Kovács collected under the 28 Command line tools (original link), some are familiar with, some are very useful, some are not known. These tools are very good, I hope everyone knows. This article is also discussed in Hacker News, you can go to see. I have added the website link and some instructions in the author's original text.Dstat SARIost
Below are the 28 Kristóf Kovács collected under the 28 Command line tools (original link), some are familiar with, some are very useful, some are not known. These tools are very good, I hope everyone knows. This article is also discussed in Hacker News, you can go to see. I have added the website link and some instructions in the author's original text.Dstat SARIostat, Vmstat, Ifstat three-in-one tool for
first part of the output fileTail: The last part of the output fileTee: Reads data from stdin and outputs to stdout and files at the same timeEcho: Display a line of textClear: Clear ScreenHistory: Displaying records of historical listschmod: Changing the file modeSu: Login to Shell as other user and group IDsudo: Executing the command as another userChown: Change the file owner and the owning groupCHGRP:
this. Anyone can download files from your server, so make sure that you know what files you have provided externally, don't contribute anything you don't want to share with others.
Better process display tool: pgrep
You may often find yourself typing the following command:
$ ps -A | grep ‘ruby’1680 ? 00:05:45 ruby30250 ? 00:06:39 ruby
However, there is a simpler way to display processes without calling the ps com
Although most Linux distributions now have GUI Network Management configurations, it is helpful to be familiar with the command line tool. Let's take a look at the common commands below these popular Linux distributions. By the way, if you want to know the details of the tool and options, you can enter man and enter th
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.