Today, we covered in class – basic commands for unix. Log into the system, run id and pwd to discover location and who you are connected as.
users need to belong to at least one group
id -a
id -a abc123
id -a root
who
pwd — home/abc123
uname -a — name of the box
zone – virtual machine like
man — manipulate manual for searching, etc.
ls -al — long list view, hidden view
profile exec upon login. — changes made here.
.cshrc file for c shell
prtdiag — look for a command. not found.
ls -l /usr/sbin/prtdiag — command is for elevated permissions
– You – group – (world)everyone else
-rw-r–r–
chmod — change the mode (permissions) on a file.
Uname –a
Ls –l
Ls –al
Ls – altr
Unix – Command option argument , most times, options begin with a dash
Try connecting through the cosa wifi with the chromebook.
Cd / – root
File yelp – name of the file, and type
Cat –
Pg – page of info a or f, to progress
More – page of info — spacebar
Head
Tail – tail passwd -10
Df – -h for commands – displays the files systems
Df –h|more
750 – for the owner and group, nothing for the world.
644 read write, read/read