Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the Linux env command

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

How to use the Linux env command? for this question, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.

Env: query environment variables

Display of commonly used commands

View the environment variables of the current environment

one

two

three

four

five

six

seven

eight

nine

ten

eleven

twelve

thirteen

fourteen

fifteen

sixteen

seventeen

eighteen

nineteen

twenty

twenty-one

twenty-two

twenty-three

twenty-four

twenty-five

twenty-six

twenty-seven

[root@localhost ~] # env

HOSTNAME=localhost.localdomain

SELINUX_ROLE_REQUESTED=

TERM=xterm

SHELL=/bin/bash

HISTSIZE=1000

SSH_CLIENT=192.168.25.1 49834 22

SELINUX_USE_CURRENT_RANGE=

SSH_TTY=/dev/pts/1

USER=root

LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01

35 PUBG 01THERNING 35 BDUBDULING 40 BDULITY 33 TUBENT01BDULING 40 BDULING 33 OTHING 01RABULTING 40

05TX 37Ten 41MU supreme 37There are 41RU sgears 30There are 43R caverns 30There are 41Rod twins 30There are 42WH owners 34.

42rides stalls 37There are 44rides excipients 01There are 32rides. Tarim 01ts 31rides. Tgzlies 01There are 31rides. Arjouls 01x 31Rs. Tazies 01.

Lizmao.lzmaooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooh.

31ambiguous. ZZZO1THANG. ZZUO1THANG. DZYO1THANG. DZYO1THANG. GZOLING 01THERAPHY.

31 rides. Xzou 01th. Bz2. 01x. Tbzz01.

31ride.tbz2x01it.bzqing01it31right.tzus01it.tzy01it.tzang01it.debit 01it.rpmfol01

31rifuge. Jarring 01There is 31ride.rarang01it.rarang01it31ririfug.acetum 01it.acetum 01it.zookeeper 01

31rifuge. Cpiographies 01There are 31rides. 7zbs01x 31rides. Rzweeds.

35 _

Svgzem 01th 35 position. Mngzem 01ten 35. Mngz.mngyin 01mit.mngyin 01it.mngyin 01it.35per.mng.01it.35 position. Mpg.01it.35, movg.01it.mpegbread 01it.mpegshi..mpegbread 01it.mkv01position 35pur.mkv035or .m4v01bot. M4v01bot. M4v01bot. Flippation01it.flmvbent01it.Avitical.Avision01it.Avitic.flipping01it.flveme01it.flveme01it.flvait.35RMVB01Trache.dlIm01Trache.xcfair01lead.xcfair01Trachet35Put.xwd01position35There. Yuv01Trent35purpose.cgmmm 01ut.emf035mm .axv01or 35MUR .anx011035MOS .ogv01bot. OGX035WOF .aac01bot. Aac01bot 36Rod. Flac01bot. MIADIXING .MIX01TRAF. .mpctal.mpctal..mpcroom01it.oggshi.oggroom01it.rate01it36uuuu.com .01section01it36purpose.axaexie36portion.ogaan01liter.spxroom01liter.xspfroom01mit.xspfang01mit.xspfang01it.xspfang01mit.xspfang01mit.xspfang01it.xspfang01mit.xspfang01parts.

MAIL=/var/spool/mail/root

PATH=/usr/local/jdk1.7.0_55/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

PWD=/root

JAVA_HOME=/usr/local/jdk1.7.0_55LANG=en_US.UTF-8SELINUX_

LEVEL_REQUESTED=

SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass

HISTCONTROL=ignoredupsSHLVL=1HOME=/root

LOGNAME=root

CLASSPATH=.:/usr/local/jdk1.7.0_55/lib/dt.jar:/usr/local/jdk1.7.0_55/lib/tools.jar

SSH_CONNECTION=192.168.25.1 49834 192.168.25.133 22

LESSOPEN= | / usr/bin/lesspipe.sh% s

G_BROKEN_FILENAMES=1

_ = / bin/env

Common variable query

1env | egrep-I "user | mail | pwd | loginname" this is the answer to the question on how to use the Linux env command. I hope the above content can be of some help to you. If you still have a lot of questions to solve, you can follow the industry information channel for more related knowledge.

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report