Shane Hartman, CISSP, GCIA, GREM Suncoast Security Society
Shane Hartman, CISSP, GCIA, GREM Suncoast Security Society
History Structure Command Line Startup and Shutdown Updating Managing Users Network Configuration Mounting Drives / Networking
/etc configuration files, init scripts ... /home user home directories /usr sources, include files, shared files, libraries, local installations ... /lib - libraries /bin - executables /opt optional software /boot kernel image /proc kernel data structures
mv
find su
rm
useradd
Common Switches -l = Long listing, including attributes. Add h option (Human Readable) to change bytes to KB, MB, GB accordingly -F = Decorate certain files with meaningful symbols, such as / for directories and * to executables.
cd Change Directory Linux uses forward slashes / pwd Print Working Directory cp/rm/mv copy / remove / move
who lists all users logged in whoami lists who you are currently
su Super User sudo Program that allows Super User access. It has more switches and configuration than the su command