Thread: Darwin Commands
02-17-2004, 10:05 AM #1CyberCandyGuestDarwin Commands
Hi all! I have been reading through this fourm and luckily have found many answers to my questions, so thanks go out to all of you for using this forum. Murlyn has been giving a few Darwin command that has been helpful and I was wondering where I might find a list of these commands, or are they just a secret kept by the great wizard? Most of the info I have found on the apple site goes into the delevoper side of it. I am an end-user not a developer, if you catch my drift... Any help would be appreciated.
02-17-2004, 12:12 PM #2masaka___GuestOriginally Posted by CyberCandy
ls -l /usr/bin
ls -l /Developer/Tools
To learn more about the individual commands, use the `man` command:
# learn more about ls
# learn more about gcc
# learn more about GetFileInfo
# learn more about sudo
# learn more about wget
etc., etc., etc...... .. .. .
02-18-2004, 12:37 AM #3
- Member Since
- Feb 14, 2004
- Groves, Texas
- 21in. iMac 10.11 --- HP Linux Mint 18
gives open internet connections. without -i gives all open files
<good advice> get a book on linux </good advice>
02-27-2004, 04:45 PM #4CyberCandyGuestunlink file
Graphite and Murlyn you two are the best! Thanks for the nice words in general discussion... NOW I went out and bought myself a book and have been reading all about Terminal and Unix commands and actually worked my way up to a brick wall. hehehehe No really, I am using retrospect to archive my files and the archive volume is locked when it is archived. With the old OSs there was no problem with deleting them... just went to sharing and unlocked it. Not with OSX tho as I well know. Tha brings me back to the Terminal. The file I am trying to delete has a file mode code of drwxrwxrwx, so from what I have read, I should have open range on moving it or deleting it right? Wrong, it won't let me...SO I kept reading and used the sudo rm -r plus the file name and it asked tor my password. I thought "Yippie! I've done it!" and with much anticipation hit the enter key. WHAT? NO NO say it isn't so! (here is what I got).
[localhost:~] digitallydone% sudo rm -r/Users/digitallydone/ARCH\ 4:2002
rm: illegal option -- /
usage: rm [-f | -i] [-dPRrvW] file ...
Unfortunately, I can't find anything about unlink file in the book I have... help?
02-27-2004, 06:56 PM #5masaka___Guest
You need a space after the -r .
01-31-2005, 04:16 PM #6
Originally Posted by CyberCandy
- Member Since
- Jan 21, 2005
The 'd' to the left means it's a directory. You can remove a directory (and all its contents) with this command:
rm -Rf dirname
But be VERY sure you know what you're doing as it will trash everything under that directory.http://powerusers.info
Power Tools, for Power Users
01-31-2005, 04:46 PM #7
Originally Posted by CyberCandyLife isn't about waiting for the storm to pass, It's about learning to dance in the rain!
- Member Since
- Dec 24, 2002
- Los Angeles, California
- 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Destructive in forum OS X - Development and DarwinReplies: 11Last Post: 02-19-2008, 10:41 PM
By jennymac in forum Switcher HangoutReplies: 9Last Post: 10-02-2007, 08:49 PM
By msb86 in forum OS X - Development and DarwinReplies: 6Last Post: 10-29-2006, 07:02 PM
By daveo in forum Apple NotebooksReplies: 0Last Post: 10-24-2004, 06:50 PM
By newtomacs in forum OS X - Development and DarwinReplies: 4Last Post: 06-15-2004, 04:59 PM