课程: Linux Tips

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

System basics: Explore a system

System basics: Explore a system - Linux教程

课程: 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…

内容