Introduction to Linux Lab - Zacham17/my-tech-journal GitHub Wiki
Brief Summary
In this lab, I configured a linux VM and added it to the domain. I also used SSH to remotely connect to the linux VM from the workstation VM.
Notes
- I created a user on the new linux VM with the
useradd
command. - I added the new user to the "wheel" group, which is a local admin group in CentOS Linux.
- I made sure I was able to connect to other machines on the domain by using the
ping
command. - I utilized Windows Powershell to SSH into the linux VM from the windows workstation VM.
Commands Used In this Lab:
useradd
: Is used to create a user on the machine.ssh
: Is used to establish a remote connection to another host.history
: Shows commands previously entered.
Deliverable #6 Commands:
df
: reports file system disk space usage. It shows the amount of disk space available on the file system. The-h
option prints the size output in a human readable format.free
: displays the amount of free and used memory in the system. You can use options such as-b
,-k
,-m
, and-g
to change what unit to display the output in.w
: shows who is logged on and what they are doing. The syntax isw [options] user [...]
. Login name, tty name, remote host, login time, idle time, JCPU, PCPU, and the command line of the user's current process are shown by this command.
New Terms/Steps
- Something in this lab that I wasn’t familiar with was bash history and how to access it.
- I also wasn’t familiar with the /etc/skel directory and using it when creating users.
- Other than those topics, I was fairly familiar with the other steps in this lab.