Rm-rf use with caution
The command has been knocked a lot. It often goes by the river, and it is inevitable that the shoes will be wet.
Yesterday, by mistake, I typed the wrong command and gave the folder to rm-rf.
A few days of hard work,
SWAP is called a SWAP zone, which is equivalent to the virtual memory in Windows. Its function is to increase the memory through SWAP when the memory in our system is insufficient. When we install the Linux system, the root and SWAP are the most
Common parameters:
A. display all processes of all users (including other users );
U displays processes in the username and start time order;
X displays the process of the uncontrolled terminal;
E. display all processes, including those without
Test. sh:
I = 1
While:
Do
Echo $ I
Sleep 1
(I ++ ))
Done 1. When running a job on the foreground, the supervisor will be occupied by this job, so you need to open another terminal for other operations. To avoid this inconvenience, you can put
To write a shell, you must remotely execute the shell command. Login-free principle:
View plainprint?
First, describe the processing mechanism:
1. Asymmetric keys are a pair of key-public keys and private keys.
2. the private key is held by no one
Command: grep-l
The meaning of the-l parameter (lower case L) is as follows:
Man grep wrote
-L, -- files-with-matches
Suppress normal output; instead print the name of each input file from which output wocould normally have been printed.
System Optimization and Security Settings
Last time I talked about the basic software installation and configuration of FreeBSD, next I will talk about the detailed configuration and security settings of the system.
I. System Optimization
When vim is used, Chinese characters are garbled. In this case, we can modify the vimrc file to solve the problem!
First, you need to find out where vimrc is located. In general, in linux
Linux:/usr/share/vim/vimrc in Windows, it should
Form: chinadu
These are all basic operations. Some friends in the group asked, write them to the novice, and write them in great detail. I can't understand them anymore.
Log on to the user created during installation. The account created
Sed syntax format:
Sed [option] {sed-command} {input-file}
Normally, sed reads the processed rows into the pattern space, and the "sed-command (sed command)" in the script is processed one by one, the script execution is complete. The row is
1. Use source code for compilation and installation:
Components of the software:
First, the binary program is all in usr/bin or usr/sbin. $ PATH: Specify the absolute PATH directly. Second, specify the PATH of the file to $ PATH. $ PATH
After receiving a friend's call for help, he said that sending and receiving emails was very slow, and the email server was also very slow to log on to. After asking about the network conditions and hardware problems, he tried to log on to the
Real Environment: RedHat5.6
Virtual Machine environment: RedHat4.8
1. switch between the graphic interface and text interface in the real machine environment:
Ctrl + Alt + F1
Ctrl + Alt + F7
2. In the virtual machine environment, switch
The first time I put the image file under linux to install it, I was confused. I used samba to put the image file under the home directory, but it was not mounted. I have explained a lot about mounting the file from a CD on the Internet.
For those who have studied BT5, it would be better if they have been familiar with the linux system. However, if you have never been familiar with it, you may need to learn from the most basic linux commands and system configurations. Here we will
Linux tool installation:
First open the virtual machine, there is a virtual machine column in the toolbar, click to find the Installation Tool on the linux page will have a tool drive, open the optical drive will see the tool to install the
Multi-process scheduling is essential for the operating system.
Some people say that process scheduling is the most important part of the operating system. I think this is an absolute saying, just as many people say, "a function is XX times more
Today I installed a real linux host (red hat. The ftp and ssh services have been installed, but it seems that you still need a Windows software that can share folders with linux samba. Fortunately, when installing linux, we started using smaba, if
To facilitate development, use the ftp plug-in of notepad to connect to the virtual machine on the new debian linux virtual machine.
Steps:
1. install ftp in linux and run the command apt-get install vsftpd.
2. Edit vsftpd. conf. That
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