UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 14th, 2005, 01:36 PM
Rete Rete is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 1 Rete User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 24 sec
Reputation Power: 0
Command help

Hi, I'm pretty brand new to Unix, and I was wondering if somebody could help understand some of the commands in Unix. I've been studying for my final exam, by doing last year's exam, and one of them has unix commands in it, and I'm not sure what they mean.

*Edit: My mistake, it's actually part of a make program.*

@rm -rf Suess.txt

I know that it's removing a txt file called Suess, but does anyone know what -rf or the @ symbol does?

Any help would be greatly appreciated!

Reply With Quote
  #2  
Old August 15th, 2005, 12:25 PM
playskool playskool is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 48 playskool Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 23 h 5 m 35 sec
Reputation Power: 0
Not sure of the @. Never seen that before. Have seen "\" which is used to ignore any aliases that have been set in .cshrc/.profile.

-r or -R is for recursive deletes normally used with directories. Same as rmdir
-f is used to "force" deletes.

For future reference and if you have access to a unix machine try using man command like "man commandName". It'll give you a little background on uses, flags, ...

Hope this helps!

Reply With Quote
  #3  
Old August 15th, 2005, 03:51 PM
jim mcnamara jim mcnamara is offline
......@.........
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jun 2004
Posts: 1,308 jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 5 h 21 sec
Reputation Power: 48
@ is used to invoke a command from inside a makefile

Reply With Quote
  #4  
Old August 22nd, 2005, 02:50 AM
guggach guggach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Middle Europa
Posts: 1,089 guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 3 h 39 m 54 sec
Reputation Power: 9
-r or -R is for recursive deletes normally used with directories. Same as rmdir
sorry rm -r and rmdir are definitely not the same
__________________
working on Solaris[5-9], preferred languages french and C.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > Command help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway