Common tips for writing shell in linux 1: usage of shell environment variable $ IFS 1. the default value of IFS is: blank (including space, tab, and new line). Print the asⅱ code in hexadecimal format: 20 09 0a 2. the processing of spaces in IFS is
Linux 6.4 uses xmanager4 configuration 1 to configure the GUI startup mode. You also need to use the following Configuration: restart the GUI (X11) init 3 init 5 3 modify the configuration file vi/etc/TPD/custom. conf [daemon] [security] [xdmcp]
Like Windows, Ubuntu Linux contains two types of environment variables: system environment variables and user environment variables. System environment variables are valid for all system users. USER environment variables are only valid for current
For team development, finding a code management software is essential. The most common usage is ms vss or SVN. Of course there are others, depending on the team and needs. Just entered into a new company: yixun Times company, that is, Shenzhen 168
Install: libevent-2.0.13-stable.tar.gz memcached-1.4.7.tar.gz 2. first install libevent: # tar zxvf libevent-2.0.13-stable.tar.gz # cd libevent-2.0.13-stable #. /configure-prefix =/usr # make install 3. test whether the libevent is successfully
1. vi Editor Shortcut Key memo [Ctrl] + [ud] Move up/down half page n shift right n characters H/M/L move to the top/center/bottom line u [Ctrl] + r restore and redo. (point) Repeat the previous action: e! Restore the file to the original state
The linux Command Line can do all the work, which is very different from the ms product. Up to now, many fans have never been tired of typing on the keyboard, in heavy management and keyboard work, regular expressions play a major role in
In Ubuntu, the su command for switching to the root permission is switched between users. It can be switched from a common user to a root user, or from a root user to a common user, when a common user switches to the root user, the authentication
Setting rules: 1. Each user can store up to 20 mb of files, and can create up to 200 files. 2. warn users when creating files larger than 100 mb and more than files. 3. Because some users have exceeded the above restrictions, we must first notify
Bash shortcut keys run in Bash shell. Note the following shortcut keys to greatly improve the efficiency of your command line operations. Edit command Ctrl + a: Move to the beginning of the command line Ctrl + e: Move to the end of the command line
The shell script filters the output information of the section content in show engine innodb status. To view the insert buffer information, I wrote a script # mysql-uroot-e 'show engine innodb status \ G' | grep-E-A8-B1 -- color 'insert buffer' -----
We often encounter this problem. We use telnet/ssh to log on to a remote Linux server and run some time-consuming tasks. As a result, the task fails midway through due to network instability. After the command is submitted, how does one prevent the
At noon today, I received a development report saying that one of the test machines cannot be logged on after being restarted. You cannot log on to the local machine without logging on to the remote SSH service. Therefore, restart to enter the
Miimon is used for link monitoring. For example: miimon = 100, The system monitors the link connection status every Ms. If one line fails, it is transferred to another line. The value of mode indicates the working mode, which has a total of 0, 1, 2,
Interrupt is usually defined as an event that changes the order of commands executed by the processor. Such events correspond to electrical signals generated by the internal and external hardware circuits of the CPU chip. An interrupt is usually
Answer 1 Maximum number of file handles allowed by the File System 1[Root @ lxadmin nginx] # cat/proc/sys/fs/file-max28192Maximum number of file handles that a process can open1[Root @ lxadmin nginx] # ulimit-n21024 You can use [root @ lxadmin nginx]
You can use a host to install a small linux operating system in a virtual environment. The steps are as follows:Step 1: Add grubAdd a new disk on the host and divide it into three partitions: 100 M, 512 M, and 128 M for sdb1, sdb2, and sdb3, which
1. obtain the ID of the current process: pid_t getpid (void). After adding this function to the program, you can get the ID of the current process: printf ("pid = % d ", getpid (); output in integer form A) # include 2. Get the parent process ID:
I. Basic operationsØ directory operations① View the Home DirectoryEnter the pwd command to display your home directory. For example:/home/arm② View the directories and files in the main directory in long formatEnter the ls-l command to display all
About a month ago, I sent a series of articles about BackTrack5, including BT5 downloads and BT5 Hard Drive boot. Of course, there are some hard drive installation errors in the article, cause missing filesystem. the installation cannot continue. Er,
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