Some of the less common but useful commands for Linux systems

Source: Internet
Author: User

which command

Used to find and display the absolute path of a given command, the environment variable path holds the directory that needs to be traversed when the find command is saved. The which command looks for eligible files in the directory where the environment variable path is set. That is, with the which command, you can see whether a system command exists, and the command that executes exactly which location.

Whereis command

The path of the binaries, source code files, and man manual pages used to locate the command.

Locate/slocate command

Used to locate a file or directory.

Type command

Used to display the type of the specified command, which determines whether the given command is an internal command or an external command.

getconf command

Get the configuration value for variable VAR, or for variable Path_var for path path. If spec is given, give values for compilation environment SPEC.

getconf Long_bit # View the number of bits in the current operating system

Lsb_release command

The LSB is the abbreviation for Linux Standard base, and the Lsb_release command is used to display information about LSB and specific versions. If the command is used without parameters, the default is the-v parameter.

uname command

Used to print information about the current system (kernel version number, hardware architecture, host name, operating system type, and so on).

Some less common but useful commands for Linux systems

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.