0% found this document useful (0 votes)
39 views13 pages

Shane Hartman, CISSP, GCIA, GREM Suncoast Security Society

Shane Hartman presented information on Linux command line basics including: - The directory structure with /home for users, /usr for installed software, and /etc for configuration files. - Common commands like ls, pwd, cd, cp, mv, find, su, and rm. - Options for ls and find to view file listings and locate files. - Commands for users (who, whoami) and rebooting/shutting down (reboot, shutdown). - Tools for updating (Yum, YAST) and managing users (useradd, userdel, passwd). - Differences between su for switching users and sudo which allows access to programs.

Uploaded by

Shane Hartman
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views13 pages

Shane Hartman, CISSP, GCIA, GREM Suncoast Security Society

Shane Hartman presented information on Linux command line basics including: - The directory structure with /home for users, /usr for installed software, and /etc for configuration files. - Common commands like ls, pwd, cd, cp, mv, find, su, and rm. - Options for ls and find to view file listings and locate files. - Commands for users (who, whoami) and rebooting/shutting down (reboot, shutdown). - Tools for updating (Yum, YAST) and managing users (useradd, userdel, passwd). - Differences between su for switching users and sudo which allows access to programs.

Uploaded by

Shane Hartman
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

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

Here is a list of common command line commands used


ls pwd cd cp

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

Used to locate files on the system Useage:


find / -name test.txt

who lists all users logged in whoami lists who you are currently

reboot shutdown -r +10 Maintenance

Yum Update Manager YAST

useradd d /home/smith s /bin/bash g users tsmith userdel r tsmith Passwd tsmith

su Super User sudo Program that allows Super User access. It has more switches and configuration than the su command

You might also like