smallmovesal
New member
this baby chick comes with basic unix commands... heehee. how helpful!
who
"who" - those currently using the system
users
"users" - account names of people using the system
id
"id" - tells you what group(s) you are in.
whoami
whoami (no spaces) - this commands lists the account name associated with the current login
who am i
who am i (with spaces) host name and domain name (name of computer and internet address of computer), account name, communication line, and date
date
gives current date
showrev
tells you the version of UNIX you are using
echo $SHELL (remember UNIX is case sensitive)
tells you what shell (type of UNIX) you are using
ls -l
a "long listing" for files - also shows permissions
ls
list files (-s for size in K, -a for all files, -F for file types, -m gives a comma separated list, ls -l gives a full listing, and shows permissions)
env
To view your environment - the user environment is a collection of specially named variables that have specific values
rm
to delete a file:
syntax: rm name_of_file
cd
to move into a directory:
syntax: cd name_of_directory
mkdir
to make a new directory:
syntax: mkdir name_of_new_directory
cd ..
to move back a directory level:
syntax: cd ..
After you have done the above command, check to see where you are by entering pwd
mv
to rename a file:
syntax: mv old_filename new_filename
pwd
pwd tells you where you are. It tells you the names of all the directories above you.
cp
to copy a file into the next directory:
syntax: cp name_of_file name_of_directory

who
"who" - those currently using the system
users
"users" - account names of people using the system
id
"id" - tells you what group(s) you are in.
whoami
whoami (no spaces) - this commands lists the account name associated with the current login
who am i
who am i (with spaces) host name and domain name (name of computer and internet address of computer), account name, communication line, and date
date
gives current date
showrev
tells you the version of UNIX you are using
echo $SHELL (remember UNIX is case sensitive)
tells you what shell (type of UNIX) you are using
ls -l
a "long listing" for files - also shows permissions
ls
list files (-s for size in K, -a for all files, -F for file types, -m gives a comma separated list, ls -l gives a full listing, and shows permissions)
env
To view your environment - the user environment is a collection of specially named variables that have specific values
rm
to delete a file:
syntax: rm name_of_file
cd
to move into a directory:
syntax: cd name_of_directory
mkdir
to make a new directory:
syntax: mkdir name_of_new_directory
cd ..
to move back a directory level:
syntax: cd ..
After you have done the above command, check to see where you are by entering pwd
mv
to rename a file:
syntax: mv old_filename new_filename
pwd
pwd tells you where you are. It tells you the names of all the directories above you.
cp
to copy a file into the next directory:
syntax: cp name_of_file name_of_directory