Establish a Hard link command: ln src-link dest-linkEstablish a soft link: ln-s src-link dest-link 1. Hard links are aliases, and soft links are shortcut 2. Hard links and source links point to the same I node, soft links are different 3. Hard links
An asterisk (*) character indicates that the regular expression preceding it can occur 0 or more times. That is, if it modifies a single character, the character can be there or not, and if it is there, it may not appear more than one. You can use
1 Check if Vnc-server is installed in the system[Email protected] ~]# Rpm-qa vnc-servervnc-server-4.1.2-14.el5_6.6This means that it has been installed, and if it is not installed, execute:[email protected] ~]# Yum install-y vnc-server2 Starting the
Viewing hard drives that can be mountedFdisk-lsuch as: Mount the SDB hard driveFdisk/dev/sdbInput: M is Help, n is a new partitionSelect: Primary partition or extended partitionPartition Type:P Primary (0 primary, 0 extended, 4 free)E ExtendedInput:
The source server is s,ip as 111.111.111.112. Target server is D, IP is 111.111.111.1111> New user test_s on the source server, Useradd test_s-g users-mCreate a new user test_d on the target server, Useradd test_d-g users-m2> The source server
Linux for a period of time, the memory is full, swap also began to use, because the Linux design read data will be cached in memory, so for frequent read applications can reduce IO consumption, but like me this is not SSD hard disk PC users, open
Environment variables in Linux include system-level and user-level, system-level environment variables are the system variables to be read by every user logged into the system, and the user-level environment variable is the environment variable that
Record the common Linux commands in your work and make it easy for you to query1. Watch-n 1 cmd executes cmd command once per second2. time in cmd Shell to count cmd execution times3. Ps-ef | grep pro_name| Grep-v grep | awk ' {print $} ' | Xargs
There was a problem when installing the test environment, there was no file or directory in the/ETC/YUM/REPOS.D, and the Yum source could not be updated.Workaround:(first, configure the network yum source)1. First create a Yum.repo under the/etc/yum/
Recently out of a very bad thing, the completion port occupies the listening port, causing the program to fail to start.So looked up some information, see where can be set.Linux (CentOS):The system default value is 32768-61000.Modification Method:In/
P4 Workspace cross-platform Sharing (Linux and window sharing)The directory used to store the code:Linux Storage code directory:/home/username/On Windows Map Network device (via Samba), map/home/username/to Z:, Z: for storing code.That is, both the
Linux Kernel EMD and linuxkernel EMDI. The birth of systemd makes great efforts in the world. So there is systemd. Is it for faster boot? However, systemd does more than that, or too much. He seems to have taken over the entire linux management.
Shell review notes ---- user management, shell ---- user management
$ Who can know the number of logins to the System
$ Who | wc-l: calculate the number of users
Note: | it is a pipeline symbol. pipeline can be established between two programs
Shell review notes ---- commands and parameters, shell review notes ----
The most basic task of shell is to execute commands.
Each time you type a command, shell will execute it.
$cd work;ls -l whizprog.c
First, the format is very simple. The Space
Make command tutorial details
makeIs a necessary tool for building projects.
Make Concept
MakeThis word in English means "production ".MakeThe command directly uses this to make a file. For example, to make a filea.txtTo execute the following
Linux File Content CheckView the content of a file directly: cat/tac/nl command cat (concatenate)
# Cat [-AbEnTv]
Options and parameters:
-A: similar to the integration option of-vET, some special characters can be listed rather than blank;
-B: list
How to change the password of a root user in Linux
In Linux, the root account is a very important account and the account with the highest permissions. But what if I forget the root password? You cannot reinstall the system. This is the best
Installation and simple configuration of LinuxFTP1. Check whether the original startup is enabledPs-ef | grep vsftpd2. Check whether the installation package existsRpm-qa | grep vsftpd3. If there is output, view the status and startService vsftp
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