From the course: Linux Tips

Unlock this course with a free trial

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

System basics: Explore a system

System basics: Explore a system - Linux Tutorial

From the course: Linux Tips

System basics: Explore a system

- [Instructor] If you're logging in or connecting to a system for the first time, it can be a good idea to look around a little bit, and see what you can find out about it. What distro are you working with? What resources does the system have? Who else is using it? What's it running? We can peek under the hood and find out all of this with a few commands. One of the first things I like to do, is to find out what distro is running with cat / etc/*release. This shows the contents of various files in the etc folder that hold information about the distro and release. The names of these files are different on different distros, so star release gets all of them, whether it's Centos release, Redhat release, or something else. The output will usually be the contents of a few files, so sometimes there's redundant information, but it's a good place to start. In my case here, I can see pretty clearly that I'm running Ubuntu version 16.04, and this information tells me what set of tools I have…

Contents