Eval
Eval performs a two-pass scan of the following commands, executes this command if the command is a normal command after the first scan, and guarantees the semantics of the indirect reference if the command contains an indirect reference to the
The way to install and uninstall the RPM package on Linux is as follows:
1. How to install the RPM package
RMP software packages can be installed using the program RPM to complete. Execute the following command
Rpm-i your-package.rpm
Description
SED is the abbreviation for stream editor (stream editor). It can perfectly match regular expressions. Sed and awk are the most important two commands for file editing. Especially involves a lot of regular expression of the problem, I
This is also a document comparison command, and mastering will save you a lot of work. Do you remember the comm order? Diff is more complex than he is, easy to use, not only to compare files, but also to compare directories. When a file has multiple
One of our clients was attacked in Saturday, our network monitoring shows a 6 consecutive hours of huge abnormal traffic, we immediately contacted the customer, did not get a response, we modify and limit the customer's VPS, so that individual VPS
Several methods for filtering adb LogCat output in the shell command line category tags: LogCat adbWe can always see the log log content of the program is full of screens in the Android development, and the information that really makes sense to the
problem Description: when SSH connects remotely to the server and then runs a service./catalina.sh start, and then the terminal opened and closed (disconnected SSH connection), found that the service is interrupted, resulting in the Web page is
One, the following commands can be used to manipulate process tasks:PS Lists the processes that are running in the system.kill sends a signal to one or more processes (often used to kill a process).Jobs Lists the status of the tasks that are started
This article is in the study of "with the old boy learning Linux Koriyuki Shell Programming Practical" the knowledge points recorded in this book. I have benefited greatly from reading this book, but this is only my personal opinion. Now let's get
Now you can see that it handled the escape gracefully.AttentionYou can actually use a single string as a parameter in Shell=false, but it has to be the command program itself, which is no different from defining a args in a list. If you execute the
The Linux system processes each object as a file. This includes the input and output processes. Linux uses file descriptors to identify each file object. A file descriptor is a non-negative integer that uniquely identifies the open file in the
1.2.1 Echo's quote questionFor the use of ECHO, note that the special case of single and double quotes is the point. To print "Hello world!" As an example.Echo Hello world!Hello world!Echo ' Hello world! 'Hello world!Echo " Hello world! "
Small Q: patriotism means that you are a national of this country, and for this country, it should be compared to otherAll countries have deeper feelings. --George Bernard Shaw=======================================================================A:
After you write a Linux shell script under Windows with Notepad, execute the syntax error near unexpected token errorsProblem principle:Online search for a long time, find the reason, the original is the problem of return, each system of the return
Fork (/directory/script.sh): If the shell contains execution commands, then the subcommand does not affect the parent's commands, and then executes the parent command after the subcommands have finished executing. The children's environment
Enterprise qualified Linux operations must be programming problems, can be completed independently of the students employment wages will not be less than 10KThis is the old boy Linux Viban requirements students will be the topic, can not be
Serial number
Task
Command Combination
1
Delete a 0-byte file
Find. -type f-size 0-exec rm-rf {} \;Find. Type F-size 0-delete
2
View processes, sorted by memory from large to small
PS-E-O "%
Shell DesignThrough the design of shells, we can learn more about the use of constructors and the use of containers. At the same time, it may be necessary for the reader to recall a little bit of the trigonometric functions learned in junior maths,
Originally always use the Tp-link router itself with the peanut shell Dynamic DNS plus Router port mapping function, can be directly accessed from the external network to the intranet computer port.Later found that the peanut shells provided by the
Tlcl-view the world echo in shell eyes, tlcl-view echo
View the world in shell eyes
Echo-display a line of text
When you enter a command, bash expands the input characters before executing the command.
Expand path
Echo *
Shell expands * to the
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