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
Top: dynamically observe process changes
Ps is the state of the process at a certain time point, while top is the dynamic real-time observation of the running state of the process.
We can divide the result of the top command into three parts,
Install samba
The smaba installer mentioned in this ArticleSamba-3.0.20b-1.i386.rpm (ISO)
1First, map the image file of the samba installation file to the optical drive in VMware, step 1-2-3.
Figure 1-1
2Then, run the mount/dev/cdrom/mnt/cdrom
The learning curve of vim is quite large. Therefore, if you see a lot of VIM command classification at the beginning, you will lose interest in this editor. The following article is translated from "Learn Vim Progressively". I think this is the
1. view all users in Linux
In linux, there are no convenient commands like windows's net user and net localgroup to manage the user. Xwindows interface.
(1) In the terminal, you only need to view the/etc/passwd file.
(2) Check the third
We can use the X11 clipboard to share text with other graphic interfaces. PS: X11 is a graphical environment for most desktop environments such as Gnome and KDE.
X11 has two global cache zones to cache content among multiple applications. One is
The Code has been frequently debugged in windows and ubuntu over the past few days. Different character encoding formats have always caused great troubles. The default character encoding format in windows is GBK (gb2312) in ubuntu, UTF-8 is used.
Some time ago, I tried to install firefox on debian5, but it was always unable to run. The prompt "Couldn't load XPCOM" is displayed. Today I can run it unexpectedly, probably because the system was updated a few days ago. After the surprise, it
Solution:
Failed to install rpm Software
The rpm package indicates that the installation is successful, but the rpm-q cannot be found.
Rpmbuild -- rebuild clumanager-xx-xxx-xx.src.rpm
Then look at the result of the Wrote: the beginning
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. Solve the problem by partitioning2. Solutions Using files
If the hard disk partition is insufficient, you can use the file method. The specific method isCreate a file of a certain capacity, and then use the mkswap and swapon commands to mount
Tomcat7 settings
Add a line in the catalina. sh File Header
JPDA_SUSPEND = 'y'
This will pause the running of the Tomcat application when it starts, and wait for the jdb client to connect and issue the run Command to start running.
Start the
System Environment:
Ubuntu 10.04LTS desktop and Ubuntu 10.04LTS server
Summary:
1. anonymous download
$ Sudo apt-get install vsftpd
$ Sudo apt-get install vsftpd
After vsftp is installed, an ftp user group and a user named ftp are
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
(>) Redirection output symbol
Usage: Command> file name
Feature: overwrite (when the input and output files are the same file, the file content is cleared; not suitable for continuous redirection)
Typical applications:
~ $ Cat a B> c (merge files)
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