Direct RM is OK, but to add a parameter-F: Rm-f file path
-F is simply forced to delete, without any hint of the meaning
To delete a file using an instance:
Rm-f/var/log/httpd/access.log
Will force deletion of/var/log/httpd/access.log this file
Shutdown command
The shutdown command can safely shut down or restart the Linux system, prompting a warning message to all logged-in users on the system before the system shuts down. The command also allows the user to specify a time parameter,
Learn the use of ULIMIT commands.
Function Description: Controls the resources of the shell program.
Syntax: Ulimit [-ahs][-c
Supplemental Note: Ulimit is a shell-built directive that can be used to control the resources of shell execution
For a single file, it is easy to use the SED command. If you need to replace all the files under a specific folder, you can easily handle the combination of grep and sed into a single command.
The grep command can find the contents of a single file
Windows system installed, how to install Linux system? The tutorial on the network is not too old or too messy, here I say the basic process:
Before installing, you must know that there is no final partition space on your hard drive for Linux
Iptraf is a ncurses based IP LAN monitoring tool that generates a variety of network statistics, including TCP information, UDP statistics, ICMP and OSPF information, Ethernet load information, node statistics, IP checksum errors, and other
With the Linux operating system, it is inevitable to encounter some software "jam" problem, then need to use Linux under the powerful KILL command to end the related process. This is extremely easy under the Linux system, you only need to kill xxx,
How to view a log
Internal always found there are viruses and malicious attacks, I would like to ask how to view the log
How to view a log
[Quote] [I] original post by "yanggang209"] internal always found there are viruses and malicious attacks,
Although the introduction of user management, but that part mainly manages the user's account number, also is the static user list. Linux is a multiuser system that, once connected to a network, can serve multiple logged-in users at the same time.
1, why can not configure the mail server for open relay?
If your system administrator sets your mail server to open relay, will cause some spammers to use your mail server as a relay station for forwarding spam messages, which will cause spammers
First step: Activate the network card
System installed after the default network card is eth0, with the following command to activate this network card.
The code is as follows:
# ifconfig eth0 up
Step two: Set the network card to start when
As long as you play Linux command line, switch directories that is a piece of cake, the Direct CD command is done, but in addition to simple CD command, there are many other commands to make your operation more convenient and quick.
Suppose a
The function of the WC command is to count the number of bytes, words, and rows in the specified file and display the results to the output.
Syntax: WC [options] File ...
Description: This command counts the number of bytes, words, and lines in a
Windows Linux dual system remove Linux repair directly
With Win7 and Fedora dual systems, if the partition where Fedora is located is formatted directly, the corresponding configuration file cannot be found due to the grub-written MBR. So you can't
Many articles on the Internet are introduced ext3 or 2, under the ext4 you can try extundelete This software, I am in the Ubuntu 11.04 test, the data perfect recovery.
Suppose the deleted file is located in the/media/backup, and the mounted device
First, write down how Linux clients use commands to access Windows or Linux shared folders
First step
The code is as follows:
Smbclient-l//192.168.100.5-u Wujie
(Smbclient is the command-L is the list of shared files on the server-U followed by
Processes are designed to enable multiple programs to execute concurrently, increasing resource utilization and throughput of the system
Each process in 1.linux has a recognition number PID
2. The first boot process of the system is init,pid 1,
For Linux users, is not to pay attention to the system's last reboot time, unless it is a Linux engineer, if you want to see the last Linux restart time, small set to teach you three ways to view the system restart time.
Method one:
You need to manually modify the system's time zone to display the correct time.
1. Find the appropriate time zone file/usr/share/zoneinfo/asia/shanghai Replace the current file with this file
/etc/localtime
If the newly installed system runs some very normal commands, such as: Shutdown,fdisk, the brazen hint: Bash:command not found. So
The first thing to consider is whether or not the $path in root contains these environment variables.
This is mainly
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