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,…
Author
Released
3/9/2017- Distinguish the difference between the –help option and the output of the man command.
- Define what the uptime command is used for.
- Compare the more command with the less command.
- State which compression algorithm is built into the tar command.
- Write where all operating system files in Linux are stored.
- List the three mods in vi.
Skill Level Intermediate
Duration
Views
Related Courses
-
Learning Kali Linux (2016)
with Malcolm Shore2h 31m Beginner -
Setting Up a Red Hat Enterprise Linux Server
with Sandra Toner2h 46m Intermediate -
Linux: Bash Shell and Scripts
with Kevin Dankwardt2h 46m Intermediate
-
Introduction
-
Welcome55s
-
What you'll need44s
-
-
1. Getting Help
-
Learn Linux command syntax2m 30s
-
Get help on the CLI5m 16s
-
Get help on the GUI3m 53s
-
Find help online3m 55s
-
-
2. Using Basic Commands
-
Gather hardware information3m 37s
-
Login commands5m 22s
-
Time and date5m 17s
-
Locale and date tools5m 39s
-
View files5m 8s
-
Search within a file2m 44s
-
Archive files4m 40s
-
Compress files4m 14s
-
3. Navigating File Systems
-
List files4m 32s
-
Understand file system paths4m 28s
-
Find files with locate4m 50s
-
Find files with find4m 49s
-
-
4. Editing Text
-
Get familiar with nano2m 49s
-
An introduction to Vim3m 33s
-
Edit text in Vim2m 45s
-
Search and replace in Vim2m 26s
-
-
Conclusion
-
Next steps53s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: List files