|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Here's a dumb question.... But I Telnet with SSH to my site and perform the mysqldump command to create a file daily (ex. 0315backup.dump).
I only save a day or two at a time, as space is limited. But, because I can't figure out the "delete" command in shell access, I have to use my FTP program to delete the old files.
Whats the shell command to delete... something like "del 0315backup.dump" did in DOS. []/forum/images/icons/shocked.gif[/]
Thanks!
|
|
|
|
Joined: Oct 2000
Posts: 2,223
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,223 |
rm
rm filename.ext or in this case rm 0315backup.dump
[]/forum/images/icons/wink.gif[/]
Picture perfect penmanship here.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Oh those linux guys. Guess rm is for remove. I was figuring something like dl or dlte or somthing towards delete. Thanks!!!
|
|
|
|
Joined: Jun 2002
Posts: 61
Power User
|
Power User
Joined: Jun 2002
Posts: 61 |
Another usefull rm use-
rm -Rf (Directory)
Will delete it and all subs
-Jason
|
|
|
|
Joined: Jun 2002
Posts: 670
Code Monkey
|
Code Monkey
Joined: Jun 2002
Posts: 670 |
I was wondering the same thing! I hate that "delete command not found" error! Well you know what they say, if you have a question, ask, because you're probably not the only one confused on a certain point. Thanks for asking, Josh!
|
|
|
|
Joined: Apr 2002
Posts: 102
Journeyman
|
Journeyman
Joined: Apr 2002
Posts: 102 |
Be careful with rm -rf ... you put in the wrong directory and POOF, everything is gone.
|
|
|
|
Joined: Jun 2002
Posts: 61
Power User
|
Power User
Joined: Jun 2002
Posts: 61 |
True, but please dont let them ever add a "recycled Bin" to Linux ;-))
|
|
|
|
Joined: May 1999
Posts: 1,715
Addict
|
Addict
Joined: May 1999
Posts: 1,715 |
|
|
|
|
Joined: Jun 2002
Posts: 61
Power User
|
Power User
Joined: Jun 2002
Posts: 61 |
OMG!! Now I am going to have to find another cryptic system try and learn since they intend on humanizing this one ;-)))
-Jason
|
|
|
|
Joined: May 1999
Posts: 1,715
Addict
|
Addict
Joined: May 1999
Posts: 1,715 |
You don't need to install it if you don't want to, so you should still be ok. There is a trash can folder on the desktop in RH8 as well, but I don't know what it does. Could be just a normal folder. I'm installing Debian anyway, so I don't care. =]
Oh, and sorry about the topic creep. =]
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|