Introduction to Commands:
The RM command is used to remove files or directories from the Linux system. Typically RM does not delete the directory, you must delete the directory by specifying the parameter-R or-R. In addition RM can usually restore the file or directory (note that the RM delete file will only release the index point (information nodes) that points to the block, as long as it is not overwritten, the data is actually on the hard disk. I
Release date:Updated on:
Affected Systems:RedHat Red Hat Enterprise Linux Desktop 6RedHat Red Hat Enterprise Linux HPC Node 6RedHat Red Hat Enterprise Linux Server 6RedHat Red Hat Enterprise Linux Workstation 6Description:--------------------------------------------------------------------------------Cve id: CVE-2011-1
Reprinted: http://www.cnblogs.com/kernel_hcy/archive/2011/05/01/2033928.html
Yes: Outputs a string of Y, which can sometimes be used to deal with many y/n selection applications. Output a lot...
Banner: Print the character title, that is, use the character to spell out a large word, it is best to maximize the window, otherwise it may not be displayed completely.
Ddate: Convert the calendar to another calendar. Today is sweetmorn, The 63rd day of discord in the yol
Tags: roo which format absolute path change parameter support diff text---restore content starts---1. ls"Command Function"List and display files in a directory"Command Syntax"ls [options] [parameters]"Common Options"-L long format display (entry attribute, file type, permissions, number of hard links, owner, genus, size, time, file name)-A shows hidden files, including "." and ".", Linux defaults to "." The file that starts with is a hidden file)-A sh
kernel and simple networking features, 1.1-point weave a system that can work with a particular hardware environment and put into practice, a process that itself looks like someone legs while crawling. Since then, even shred changes in the hardware environment could lead to a complete overhaul and testing of the entire software system. Moreover, the process is endlessly cyclical until the end of the product lifecycle.
Against Android, this is a relat
operationsMkdir-p NameCreate a folderRm-r NameThe folder and its children are deleted (do not want to get back with shred)Cp-r Old NewCopyMV Old NewMoveNote: For a copy move delete operation, all files under the folder, not the folder, are added "\*" after the directory, otherwise there is no "\" at the end of the old. New.6. File operationTouch name. FormatCreate a file (touch also has the effect of modified time, details Web search)Rm-i NameName *.
Linux services)It is important for Linux users. Disabling unnecessary services can make Linux run more efficiently, but not all Linux services can be disabled. After installing centos Linux today, we found that many services were started when
After using Linux for a long time, I still fold the powerful commands of Linux. Although the doc in Windows certainly has commands, I feel that I am not familiar with them, and I am not strong enough. So I want to use Linux commands in Windows to solve some problems.
I met a file format that I want to see in windows. Because it is a large file exported from a d
Linux-(2) Basic file operations in Linux, linux-linux
In linux, everything is files, directories are files, and hardware is files. Therefore, basic file operations are especially important.
1. List the contents of the directory:
Ls
Parameters:
-A: displays all files (includ
Logout Exit SystemGedit Text Editor ToolsUname–r View kernel version information, uname–a more detailsCat/proc/cpuinfo viewing CPUsCat/proc/meminfo Viewing memoryHostname Viewing host namesIfconfig eth0 view eth0 IP AddressAlias ls= ' ls–ll ' setting aliasesTo view the path of the current terminal: TTYView current Shell:echo $SHELLAll Shell:cat/etc/shells under the current systemView CentOS System hostname Format: Echo $PS 1Distinguish internal or external commands: Type CDWhich find the locatio
as lucky as I am. This article collects some methods for recovering RM deleted files under Linux for your reference.
First of all, the best way is to avoid this problem, here are a few suggestions:
1, the consequences of RM-RF misoperation is terrible, Rm-f also want to reconsider, not easy to use.
2, do a good job of data backup.
3, with some strategies to avoid errors:
To promote the use of a TAB in the shell to complete the
.
As we all know,linux system everything is a file, so each process has its file descriptor, The Nginx process writes its own file descriptor to the Nginx.pid, and we need to tell Nginx to reopen a new log file (the configuration details of the log file can be seen here, simply by letting the log record what. So we need this directive:kill -USR1 `cat ${pid_path}`This instruction means: first cat to Nginx PID, is an integer, and then send the signal
discarded: it is tolerable compared to the benefits above.
No fingerprint drive under Linux, no fingerprint boot
--In summary, this machine with Linux+win virtual machine more appropriate, the memory and CPU as far as possible to Linux, give win left the appropriate hard disk space on it (100G hard disk, mainly to install 50G OneDrive).Toss is to m
satisfy the need of the kernel for this small memory block, the Linux system uses a technique called the slab allocator. The implementation of slab allocator is quite complicated, and its core idea is the application of "Storage Pool". Memory fragments (small chunks of memory) are treated as objects, and when they are used, they are not released directly but are cached in the "Storage Pool" for the next use, which undoubtedly avoids the extra load cr
Becoming a Senior Programmer proficient in Linux programming has always been the goal of many friends. According to statistics from chinacache, the monthly salary of Linux programmers in Beijing is 1.8 times that of Windows programmers, 2.6 times that of Java programmers, and 2.9 times that of Windows programmers. At the same time, the data shows that with the increase of work experience, the income gap bet
1 command function (brief description):This command is used to remove files or directories from a Linux system. Normally RM does not delete the directory, you must delete the directory by specifying the parameter-R or-R. In addition, RM can usually restore the file or directory (note that the RM Delete file is just the index point to the data block (information nodes) released, as long as it is not overwritten, the data is actually on the hard disk. I
How to restore files deleted by using rm in linux-general Linux technology-Linux technology and application information. For more information, see the following. Many people have had a painful lesson about rm. I also met a program that was written one afternoon and rm was dropped. Fortunately, it was just a file and I wrote it again the next day. But many may not
How to Use ADSL to access the Internet in Linux
Make sure that the broadband connection is correct. Make sure that the ADSL light is on normally. Make sure that the NIC is normal and that the nic and ads are connected normally.Then start the system and check whether the RP-pppoe software is installed on the system (search by rpm-Qa | grep pppoe). If no user is installed, go down one on the CD or on the Internet. After installation, run the ADSL-setup
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.