-
November 7th, 2002, 05:04 PM
#1
just a quick question
How do you delete stuff off linux? I just put linux on my compute and i was wondering how to remove some files that are causeing me trouble.
-
November 7th, 2002, 05:07 PM
#2
rm to remove a file
&
rmdir to remove a directory
try rm --help to explain all the switches
SittingDuck
I\'m a SittingDuck, but the question is \"Is your web app a Sitting Duck?\"
-
November 7th, 2002, 05:14 PM
#3
thanx, now i can instal x windows and pretend i got windows 95 again woohoo!
-
November 7th, 2002, 06:34 PM
#4
Senior Member
rm -rf directoryname
will remove the contents of a directory recursively, and the diretory itself, without prompting for confirmation...a real time saver. (yes i'm SURE i want to delete that!)
U suk at teh intuhnet1!!1!1one
-
November 7th, 2002, 07:34 PM
#5
Member
btw, /dev/null/ is the trash bin in linux right?! im wondering cuz i cant find it, heh..
the console says that the dir doesn't exist..
anyone know whats wrong??
-
November 7th, 2002, 08:56 PM
#6
Originally posted here by Mephisto
btw, /dev/null/ is the trash bin in linux right?! im wondering cuz i cant find it, heh..
the console says that the dir doesn't exist..
anyone know whats wrong??
In linux, null isn't a directory, it's a device (a filetype). Just like your modem, only your modem sends information out to a destination, null sends information to oblivion.
The correct path would be:
/dev/null
(no trailing slash. the console was giving you an error because null isn't a directory, it's a device).
/* You are not expected to understand this. */
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|