A shell script error often occurs when writing a script: Write it in windows and copy it to execute it. However, an error is reported when you test it, the error is amazing. for example, my for loop statement encountered a syntax error near
The Shell (Bash) programming instance obtains all the file names (including folders) in a folder. Many of them do not understand it, so they record all the files they actually use, I hope the experts will give you more valuable comments. Thank you
Svnsync synchronizes and backs up svn version libraries. Everyone knows that code is a life for the entire IT company. Most small and medium-sized companies use svn for version control due to personnel level issues, therefore, version database
Summary of important Linux knowledge points-to understand and learn bash hardware, kernel and shell, we must use "shell" to communicate our input commands with the kernel, so that the kernel can control the hardware to work correctly. The operating
The differences between the autoclean, clean, and autoremove commands of apt-get are summarized as follows: apt-get autoclean: www.2cto.com if your hard disk space is small, you can regularly run this program to delete the software package. the deb
Prerequisites for installing ffmpeg/mencoder/mplayer in linux: You must have installed yum www.2cto.com 1.yum install ffmpeg-devel. If the package cannot be found, add the following content to/etc/yum. repos. d/rhel-debuginfo.repo file in
Build a Linux Kickstart ServerI. Introduction to Kickstart TechnologyKickstart is a technology that enables clients to automatically install without interaction after being guided by the pxe Nic.Ii. Working Principle of Kickstart InstallationThe
Common linux commands. shutdown, restart, and logout of the system www.2cto.com shutdown-h now shut down the system (1) shutdown-h hours: minutes & Shut Down System shutdown by scheduled time-c cancel Shut Down System shutdown by scheduled time-r
Solaris process tool setSolaris provides a very convenient process tool set for you to view, track, debug and control processes in the system, and improve work efficiency. This article mainly introduces the usage examples of these tools:Www.2cto.com1
How to Use tcpdump, a packet capture tool, and wireshark Tcpdump in Linux (1) the first type of keyword mainly includes host and net, port for example: host 210.27.48.2, specify 210.27.48.2 as a host. net 202.0.0.0 indicates that 202.0.0.0 is a
Shell standard error redirection to standard output 2> & 1 is to redirect standard errors to standard output the second problem is simple: Use this command to achieve: cat/etc/passwd | grep root | cut-d ":"-f1 implementation :~ $ Cat/etc/passwd |
Ubuntu Shell causes compilation problems when compiling the Linux source package provided by Realtek under Ubuntu13.04 [plain] make_release: 344: make_release: Syntax error: "do" unexpected (expecting "fi") mv: unable to get
Iptables log Maintenance 1. Configure the syslogd configuration file/etc/syslog. conf in the file syslog. add the following content in conf # Iptables loggingkern. debug/var/log/iptables 2. Use the IPtables rolling log to view and determine the
Linux viewing system hardware information (instance details) [html] blue @ blue-pc :~ $ Lscpu Architecture: i686 # cpu Architecture CPU op-mode (s): 32-bit, 64-bit Byte Order: Little Endian # Small Tail sequence CPU (s ): 4 # A total of 4 cores
The unbuntu installation of apache2 Ubuntu provides us with the su apt-get install command, through which you can easily install some software, which is placed on the servers where Ubuntu is placed in various places, if the software you want to
I have summarized 18 very useful vim commands. The most famous program editor in Linux is not vim. In normal mode, 1. dd -- delete the row where the cursor is located 2./word -- specify the word for full-text search 3.G -- move the cursor to the
A summary of Linux customization methods since I learned that Linux can be customized in college, I have always wanted to make a version of my own Linux system. Recently, I was idle and finally had a hard time learning. Currently, there are two
Linux shell status test expression meaning file test-d directory-s file length is greater than 0, non-empty-f Regular file-w writable-L symbol connection-u file has s u I d bit set-r readable-x executable-nt to test whether file1 is updated than
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