![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Book For the Unix shell | udayn | Shell Programming and Scripting | 2 | 02-05-2008 04:22 PM |
| Unix Book | disturbe_d | UNIX for Dummies Questions & Answers | 1 | 07-24-2007 03:14 PM |
| Search for unix book | chuwfan | UNIX for Dummies Questions & Answers | 4 | 07-13-2006 06:13 AM |
| Unix beginner book help | windowsux | UNIX for Dummies Questions & Answers | 3 | 04-05-2006 11:00 AM |
| Unix book reference | mandarin14 | UNIX for Dummies Questions & Answers | 3 | 03-21-2005 06:08 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi everyone, first day on the job.
I'm attempting to learn Unix from the 'Unix® for Mac®' book. On page 11 there are instructions to enter certain commands but for me they don't work. [darwin:~] user% which w is supposed to result in: -/usr/bin/w -I get a "command not found" darwin:~] user% which which " " " " " which: shell built-in command. -I get a "command not found" Still on page 11 I read. "You can get a full list of the built-in shell commands by typing the command builtins at the shell prompt. I entered "builtins" also "command builtins" these also returned a "command not found" On some entries the cursor becomes a >. Why and how do I return to the regular cursor. I'm sorry if these items have been dealt with in the past but I couldn't find them. Thanks |
|
|||||
|
Welcome Frank. Please read the rules so you know what to do and what not to do.
Try /usr/bin/which or /usr/sbin/which instead of just which (I would guess it isn't built-in as they stated in your book). % /usr/bin/which w If the cursor becomes a > sign, then it was usually because a full command line wasn't typed - and it's waiting for you to finish the command sequence. Pushing the Control key and C at the same time should get you out of it. Use the man pages for assistance also. They are sometimes hard to understand, but no one said it would be easy! % man which If you can't get these examples to work, look at the PATH variable and MANPATH variable % env | more env will give you all the environment variables, | is the pipe sign, and more is to let you look at it all a screen at a time. |
![]() |
| Bookmarks |
| Tags |
| learn unix |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|