View Single Post
  #6  
Old October 7th, 2001, 04:51 PM
AdmiralAK's Avatar
AdmiralAK AdmiralAK is offline
Simply Daemonic
 
Join Date: Oct 2000
Location: Classified
Posts: 5,787
Thanks: 0
Thanked 0 Times in 0 Posts
AdmiralAK is on a distinguished road
Finally 2 last commands :

the pwd ( Print Working Directory)
and the date commands.

pwd is nice if you dont know where you are.
Lets say you have been toying around with UNIX for some time now and you have gone to a directory but dont know where exaclty it is! pwd fixes this by outputting where you are.

Lets say I want to find where exaclty my home directory is,

Code:
[admiralty:~] admiral% pwd
/Users/admiral
[admiralty:~] admiral%
pwd tells me that my home directory is in the "users" folder. (this is a simple example, for now pwd might not come in handy but it the future it will )


And finally the date command.
It tells you the date, time, day and year , useful if you want to know the time and date

sample:
Code:
[admiralty:~] admiral% date
Sun Oct  7 16:51:31 EDT 2001
[admiralty:~] admiral%
As you may notice the time is in the 24 hours format, and it has the Hours : minutes : seconds format as well.


Well, these are the most basic UNIX commands that one needs to survive



Admiral
__________________
<<------------------------------>>
Seid ihr bereit fuer Club Admiralty ????
Club Admiralty: Http://www.club-admiralty.com
Copyright 1996-present
Bonified Gadget Geek :-)
<<------------------------------>>
Reply With Quote