PW Links Commands - InaFricke/SYS-255 GitHub Wiki

Links

URL for Remote Access to get on Champlain Network: https://viewportal.champlain.edu/

URL for vSphere once on Champlain Network: https://vcenter02.cyber.local

PW

Admin Lab 1 AD WinSer
ina.fricke Admin
H****S**11 champlain google one
AD root AD WinSer Domain
ina.local ina.fricke-adm ina.fricke
DSRM password: My Champlain Google +DSRM H****S**11 H****S**22

h

Commands

Linux

Show the present working directory  pwd
Navigate up to the /home directory and list the contents  cd /home
Navigate up to the parent directory using a relative cd .. command. It is relative to where you are in the directory structure.  cd .. ls
long listing of files and directories with ls -l.  ls -l
show the manual page indicating what each directory in the file hierarchy is used for.  man hier.  Read the description of the first level directories.  man hier
Use the "tilde" shortcut to go to the home directory ~  ~
Create and navigate to a directory called sys255 in your home directory  mkdir ____ cd ___ /
Elevate privileges using the sudo command.  This will only work if you set your named user to be an administrator.  The sudo command run this way will execute a single command as a privileged user then drop you back down to normal permissions.  sudo yum install -y tree
Show the groups your user has been assigned to.  In this case, the wheel group is analogous to the Administrator's group in Windows.  group
Become root for an extended time with sudo -i. Sudo -i
This is necessary if you have a lot to do in a privileged state, be sure to "exit" the root shell when you are done.  A second exit will probably close your SSH session. exit
The whoami command will show what user you are logged in as.  whoami