From the course: Practical Linux for Network Engineers: Part 1

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Linux directory hierarchy, part 1

Linux directory hierarchy, part 1

(tranquil techno music) - [Instructor] I wanna show you the default files on this Ubuntu Server. Ls shows me the directories, we can see them in colors here, it's not as clear as using this terminal session. So what I'll do is SSH to the server, which has an IP address of 10.1.1.200. So ssh david to 10.1.1.200, I need to accept the public key, which I'll do, and I need to login. So notice I've logged in to the Ubuntu Server. Ifconfig, again, shows me the IP address of the server. So pwd shows me that I'm in David's home directory. Cd root takes me to the root directory. Ls shows me the directories on the server. So again, ls, ls -l, gives me details. So as an example, we can see that bin is a directory, boot is a directory, dev is a directory. And there are various other directories here on the server. So let's have a look at some of these directories and what they contain. At the moment I'm logged in as David. I'll open up a root shell, which requires a password, so I'm gonna say…

Contents