After linux rm deletes the file, recovery is more troublesome. Even if it is restored, the file name format becomes a string of numbers.
Modify the environment variable of the root user
vi ~/.bashrc
Annotation of the 5th line of the comment
#alias rm='rm -i'
Add the following line to the last line< Br>mkdir -p ~/.trash
alias rm=trash
alias r=trash
alias rl='ls ~/.trash'
alias ur=undelfile
undelfile()< Br>{
mv -i ~/.trash/$@ ./
}
trash()
{
mv $@ ~/.trash/
}
Cleartrash()
{
read -p "clear sure?[n]" confirm
[ $confirm == 'y' ]
System Requirements: Unlimited release, requires PC platform (x86 architecture CPU), Glibc version
The Linux operating system is an open source, free operating system that is not only secure, stable,
The Linux operating system has been around for 20 years without knowing it. Just 20 years ago, just
Nginx starts with version 0.7.48 and supports Squid-like caching. This cache uses the URL and relate
Rh442-1 use snmp and mrtg to monitor the network traffic of the Linux server
Webmail Roundcube installation configuration basic tutorial
Linux operating system startup process detailed
How to let IE open a new window to display
Differential mode and common mode signal
Using XFS file system in Linux environment
Linux kernel space and user space information interaction method
The difference between switching users su and su in Linux Shell
Microsoft Jigsaw returns to Win8.1 store, native Xbox achievements
Operating system Windows XP super syskey command
Win7 notebook how to set up wireless network sharing Raiders
Win10 system Surface tablet can not connect to WiFi how to solve?
How to create WiFi hotspot under Win8: Win8 create WIFI hotspot detailed tutorial
Not to be missed Windows 8 Release Preview Installation Tips
Microsoft Conscience Patch KB3074681 Win10 can also be personalized without activation
Microsoft urges Win10 users not to give up the Edge browser
How does Win10 set up a local connection to a metered network?