Navigation
0 Users online :: 0 Guests and 0 Registered
Records in this category
- Fedora 11 upgradation
- up2date tutorial
- RHEL5 Kickstart installation using HTTP
- LastLog Editor - Unix LogFiles
- How to enable the fingerprint reader in Linux
- How to use gnome-volume-manager in Gentoo linux
- How to break raid 1 Mirror in Linux ?
- How to set up local exchange server to receive email from my domain or website ?
- How to change file permissions in cpanel to 4755
- How to edit the DNS entries in Cpanel (WHM)
- How to configure Linux and Samba with roaming profile suport for windows clients
- How to restrict "rm -rf *" command in Linux/Unix ?
- How do I change IP Address of my linux machine
- How to check what version of Linux installed in my machine
- How do you open a TCP Port in Debian Linux?
- How to force Ubuntu to re-detect and re-configure Graphics chipset?
- How to mount NTFS file system in Redhat linux 9.0
- How to utomatically mount cd/dvd and usb rhel5?
- How to copy LARGE files using linux cp command ?
- How to find If my linux OS is 64 bit or 32 bit system
- How to mount network drives using Pam_mount.conf.xml?
- How do I compile Squid?
- How to build Squid on various OS
- How do I start Squid?
- How do I start Squid automatically when the system boots?
- How do I tell if Squid is running?
- What are the squid command line options
- Can Squid benefit from SMP systems?
- Is it okay to use separate drives for Squid?
- How do I configure Squid without re-compiling it?
- What does the squid.conf file do?
- How do I join a cache hierarchy in Squid ?
- How do I register my cache with NLANR's registration service?
- Why my cache registration is not appearing in the Tracker database.
- How do I configure Squid to work behind a firewall?
- How do I configure Squid forward all requests to another proxy?
- What ''cache_dir'' size should I use?
- I'm adding a new cache_dir. Will I lose my cache?
- Squid and http-gw from the TIS toolkit.
- What is "HTTP_X_FORWARDED_FOR"? Why does squid provide it to WWW servers, and how can I stop it?
- Can Squid anonymize HTTP requests?
- Can I make Squid go direct for some sites?
- Can I make Squid proxy only, without caching anything?
- Can I prevent users from downloading large files using squid?
- How do I add default gateway in RedHat 7.2
- I can't upgrade any packages, run up2date or rpm. What is wrong?
- What is the safest way how to repair rpm database
- Okay, I am convinced that RPM-based package management is worth exploring, but my (Unix|Linux|BSD|whatever) distribution does not ship a version already pre-built which I can just install.I have looked everywhere, and it is just not available.What should I do?
- How to Disable Ctrl + ALT + Del restart
- How to recover root password in Linux
- What are the User and Group management commands in (RHEL/CentOS/Fedora)
- How to configure a samba file server in Linux
Tags
Sticky FAQs
Linux
ID #1041
How to restrict "rm -rf *" command in Linux/Unix ?
You can create a script named rm and replace the original rm.
inside the new script create if condition that check and pass the flags to the rm.
Tags: restrict, rm -rf, script
Related entries:
- Fedora 11 upgradation
- up2date tutorial
- RHEL5 Kickstart installation using HTTP
- Veritas Cluster - Commands
- LastLog Editor - Unix LogFiles
Last update: 2009-07-25 07:28
AuthorLuke Francis
Revision: 1.0
You cannot comment on this entry