To view file attributes we have list them. The ls command allows us to see hidden files, file ownership, and permissions and can even help identify the file's data type.
- Listing files and associated name with file paths…can help us learn our way around Linux.…Because the command line doesn't…give us a lot of visual cues to go by,…it's important to always know where we are,…and what the directory holds.…In time, we will start to associate the directory path…with it's contents.…To find where we are in the file system,…just type PWD, which stands for Print Working Directory.…Note that my prompt says tilde as my current directory,…when in fact, PWD says it's /home/grant.…The tilde is a shortcut to our home directory,…and in my case, it is /home/grant.…
To list the contents of our current directory…type in ls and hit enter.…Without any options or arguments,…ls shows us our current directory…with our contents in columns.…Let's provide an argument to ls…by typing in ls /etc…which is an operating system directory,…and hit enter.…The color coding is part of the CentOS system configuration.…Other Linux distributions…may not have the same color scheme.…As default on CentOS,…directories are blue,…
- Learning Linux command syntax
- Getting help on the CLI and GUI
- Finding help online
- Using basic commands
- Navigating file systems
- Editing text
Skill Level Intermediate
Linux: Bash Shell and Scriptswith Kevin Dankwardt2h 46m Intermediate
Setting up a Red Hat Enterprise Linux Serverwith Sandra Toner2h 46m Intermediate
1. Getting Help
2. Using Basic Commands
3. Navigating File Systems
4. Editing Text
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.