[S.u.S.E. Linux] Removing a file
This is not a SuSE problem, but rather a general Linux problem, that I hope you all can answer. In my "/" directory, not "/root", I somehow have gotten two files called "-f" and also "-v". Don't ask me how I got them in there, they just appeared one day, but when I went to rm them, all I get is an error msg. "-f" has a size of 30 bytes and "-v" is a 0 size file. In M$Soft I know how to remove them, but not in Linux. HELP! -- 73's Roy KC4IMC rkeeley@dibbs.net kc4imc@maf.wa4wbi.ampr.org Snail Mail = 10675 Salt Aire Rd, E., Theodore, AL 36582, USA APS #158954 - C&LS #162 -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
This is not a SuSE problem, but rather a general Linux problem, that I hope you all can answer. In my "/" directory, not "/root", I somehow have gotten two files called "-f" and also "-v". Don't ask me how I got them in there, they just appeared one day, but when I went to rm them, all I get is an error msg. "-f" has a size of 30 bytes and "-v" is a 0 size file. In M$Soft I know how to remove them, but not in Linux. HELP!
The option -, given to rm signals the end of options. Thus 'rm - -v -f' will delete said files. There are other ways, but I don't remember them right now :D. -josh -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Joshua, I tried it, but it didn't work, but Blaires advice did the trick. Files all gone, Thanks for replying and trying! Joshua Rodmanius wrote:
This is not a SuSE problem, but rather a general Linux problem, that I hope you all can answer. In my "/" directory, not "/root", I somehow have gotten two files called "-f" and also "-v". Don't ask me how I got them in there, they just appeared one day, but when I went to rm them, all I get is an error msg. "-f" has a size of 30 bytes and "-v" is a 0 size file. In M$Soft I know how to remove them, but not in Linux. HELP!
The option -, given to rm signals the end of options. Thus 'rm - -v -f' will delete said files.
There are other ways, but I don't remember them right now :D.
-josh
-- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-- 73's Roy KC4IMC rkeeley@dibbs.net kc4imc@maf.wa4wbi.ampr.org Snail Mail = 10675 Salt Aire Rd, E., Theodore, AL 36582, USA APS #158954 - C&LS #162 -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Here's one solution.... cd / rm ./-f rm ./-v Roy Keeley wrote:
This is not a SuSE problem, but rather a general Linux problem, that I hope you all can answer. In my "/" directory, not "/root", I somehow have gotten two files called "-f" and also "-v". Don't ask me how I got them in there, they just appeared one day, but when I went to rm them, all I get is an error msg. "-f" has a size of 30 bytes and "-v" is a 0 size file. In M$Soft I know how to remove them, but not in Linux. HELP!
-- 73's
Roy KC4IMC
rkeeley@dibbs.net kc4imc@maf.wa4wbi.ampr.org Snail Mail = 10675 Salt Aire Rd, E., Theodore, AL 36582, USA
APS #158954 - C&LS #162
-- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-- Blaine To reply, please remove the "XXX" from my email address. It's my spammer jammer. -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
But, this worked! Many thanks, now I know a little more about linux. Thanks again! Blaine Kahler wrote:
Here's one solution....
cd / rm ./-f rm ./-v
Roy Keeley wrote:
This is not a SuSE problem, but rather a general Linux problem, that I hope you all can answer. In my "/" directory, not "/root", I somehow have gotten two files called "-f" and also "-v". Don't ask me how I got them in there, they just appeared one day, but when I went to rm them, all I get is an error msg. "-f" has a size of 30 bytes and "-v" is a 0 size file. In M$Soft I know how to remove them, but not in Linux. HELP!
-- 73's
Roy KC4IMC
rkeeley@dibbs.net kc4imc@maf.wa4wbi.ampr.org Snail Mail = 10675 Salt Aire Rd, E., Theodore, AL 36582, USA
APS #158954 - C&LS #162
-- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-- Blaine
To reply, please remove the "XXX" from my email address. It's my spammer jammer. -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-- 73's Roy KC4IMC rkeeley@dibbs.net kc4imc@maf.wa4wbi.ampr.org Snail Mail = 10675 Salt Aire Rd, E., Theodore, AL 36582, USA APS #158954 - C&LS #162 -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
But, this worked! Many thanks, now I know a little more about linux. Thanks again!
I apologize. I meant rm -- -f. The errors we make when we don't check our manpages -) -josh
Blaine Kahler wrote:
Here's one solution....
cd / rm ./-f rm ./-v
Roy Keeley wrote:
This is not a SuSE problem, but rather a general Linux problem, that I hope you all can answer. In my "/" directory, not "/root", I somehow have gotten two files called "-f" and also "-v". Don't ask me how I got them in there, they just appeared one day, but when I went to rm them, all I get is an error msg. "-f" has a size of 30 bytes and "-v" is a 0 size file. In M$Soft I know how to remove them, but not in Linux. HELP!
-- 73's
Roy KC4IMC
rkeeley@dibbs.net kc4imc@maf.wa4wbi.ampr.org Snail Mail = 10675 Salt Aire Rd, E., Theodore, AL 36582, USA
APS #158954 - C&LS #162
-- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-- Blaine
To reply, please remove the "XXX" from my email address. It's my spammer jammer. -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-- 73's
Roy KC4IMC
rkeeley@dibbs.net kc4imc@maf.wa4wbi.ampr.org Snail Mail = 10675 Salt Aire Rd, E., Theodore, AL 36582, USA APS #158954 - C&LS #162
-- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (3)
-
didaskoXXX@texoma.net
-
jrodman@skaro.nightcrawler.com
-
rkeeley@dibbs.net