In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "the summary of common debain commands". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Now let the editor to take you to learn "debain common command summary" it!
1. Create a folder
Mkdir
2. Delete the file card
Rm-rf
3. Installer
Apt-cache search-apt-get install--
4. Extract the zip file
Unzip--
5. Extract the tar file
Tar-zxvf-
Extract the tar.bz2 file
Bzip2-d * * .tar.bz2 / / extract the file into * * .tar
6. The port number is enabled for the view service.
Cat / etc/servers
7 / View linux kernel version
Cat / proc/versionLinux version 2.6.32-5-amd64 (Debian 2.6.32-48squeeze4) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4)) # 1 SMP Mon Sep 23 22:14:43 UTC 2013
8 / View version information
Lsb_relaeasebash: lsb_relaease: command not foundtianbx@debain:/dev$ sudo lsb_release-a [sudo] password for tianbx: No LSB modules are available.Distributor ID: DebianDescription: Debian GNU/Linux 6.0.8 (squeeze) Release: 6.0.8Codename: squeeze
9 / View Port occupancy
Netstat-an | grep port
10 / View the occupancy of a port: lsof-I: Port number
Lsof-iRU 21
11 / View software version
Dpkg-I gcc
12 / View CPU information
Cat / proc/cpuinfo
13 / View memory information
Cat / proc/meminfo
14 / linux uses ssh to link to another linux
Ssh user name @ host address-p port number
15 / Show Progress
Ps-ef | grep java
16. Create a user
(1) prompt you for your password during the adduser user name creation process, and automatically generate user files under the / home folder
(2) useradd user name
Passwd user name
Deluser user name
Common operations of locale
1. View the existing locale:
Locale
2. Available language environment:
Locale-a
3. Temporarily modify the language environment:
AIX:
Export LANG=en_US
Export LANG=zh_CN
Linux:
Export LANG=en_US.UTF-8
Export LANG=zh_CN.UTF-8
4. Permanently modify the system-level character set:
Modify / etc/sysconfig/i18n
English version system:
LANG= "en_US.UTF-8"
SYSFONT= "latarcyrheb-sun16"
Chinese version system:
LANG= "zh_CN.UTF-8"
SYSFONT= "latarcyrheb-sun16"
At this point, I believe you have a deeper understanding of the "summary of common debain commands". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.