When writing a script in a shell condition test, you may need to check the file status or number test to determine whether the string is equal. Further actions can be performed based on these tests. 1. the operator of the file test and test file
Ubuntu cannot obtain the lock/lock solution. when you add the source and update the source, if the update is interrupted halfway, the following prompt appears when you install the software or update the source again. E: unable to obtain the lock/var/
Errors in modifying environment variables in linux cannot lead to system problems 1, because you are not careful about the etc/environment (the specific situation is different, and what I changed is & amp; lsquo; /etc/profile & amp; #39;, the same
Uboot and ubuntu commonly used commanduboot: mmceraseboot011 delete emmc boot partition ext2formatmmc0: 1 format emmc first partition fdisk-c030014000200 partition of emmc ubuntu: bzip2-d file name. t... commonly used command uboot in uboot and
Ubuntuvi sets the row number, highlight the syntax font, and so on. 1. in the sudovi/etc/vim/vimrc file, the dual Guide represents the comment. you can add the double quotation marks with set, delete the double quotation marks, and add new ones,
Ubuntu view file and folder size command notes $ du-h -- max-depth114M. /partial233M. if there are many files and folders in the current directory, you can use the command without parameters to list the space used by all files and folders in the
Ubuntu resumes automatic completion of bash to check whether/etc/bash_completion exists. if not, install apt-getinstallbash-completion and run it in your shell: source/etc/bash_completion can also be added to the configuration file. For example:
Ubuntu environment variable location [cpp] UbuntuLinux system environment variable configuration file:/etc/profile: the first file used by the operating system to customize the user environment during logon, this file sets environment information
When linux memory is full or the usage mechanism is used up, it is often said that wdcp occupies a lot of memory, or the memory is used up, will it be suspended? you can say, don't worry, there will be no problem when it is used up, because it is
Debian/ubuntu Update source unable to verify signature error because there is no public key issue today when updating the source in debian with the following error 1 W: GPG error: http://www.emdebian.orgwheezyRelease: because there is no public key,
Let's briefly describe how to install wdcp. if you need it, you can check it out. WDCP is short for WDlinuxControlPanel. it is a Linux server management system and virtual host management system developed using PHP. it is designed to use Linux
Sed command learning Notes 1. sed introduction sed is a non-interactive editor. It does not modify the file unless you use shell redirection to save the results. By default, all output rows are printed to the screen. Sed editor processes files (or
Some interesting Linux commands 1. cal91752 [plain] 17521214151617181920212223242526272829301582-February, the Holy See of Rome needs to subtract 10 days from October 1582, so October 1852... some interesting Linux commands 1.cal 9 1752 [plain] 1752
Note on the state items in the PS command the STAT item in the psaux command is to view the status of the current process, each letter represents a different meaning. R = runable D = waiting disk S = sleeping (& lt; 20 s) T = tracked or stopped Z =
The shell script updates or adds the host script. you can change/etc/hosts or add the host according to the input parameters, for example, execute sudo. /changeHost. shblog. duplicatedcode. the com192.168.1.222 domain name is fixed and the Internet
Use objdump and objcopy to modify the symbol name #! /Bin/bashobjdump-t $1 & gt; objdump. outfilename 'basename $ 1' file $ {filename %. *} catobjdump. out | whilereadLINEdoMODIFY0TYPE 'echo $ {LINE... use objdump and objcopy to modify the symbol
Putty -- after login, set the title bar to display the IP address putty. a headache is that there are more windows after connecting to multiple servers. I don't know which window corresponds to the server. So it is much easier to display the IP
What is the RPM file in linux? RPM is RedHatPackageManager (RedHat package management tool). similar to adding/deleting programs in Windows, rpm executes the installation package Binary package (Binary) and Source code package (Source). Binary
When the NFS shared service is mounted, accessdeniedbyserverwhilemounting is used. the Linuxf release version is Centos6.4. the following methods are theoretically effective for Fedora and RedHat: After the NFS service is set up, if you use the
In vsftpd, Response: 500 OOPS: cannotchangedirectory solution: The Linux release version used by the author is centos6.4. when the FTP client is connected, the following error message is displayed: Response: 500 OOPS: cannotchangedirectory:
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