처음으로

리눅스마스터 2급

2021년 12월 11일 기출문제

37. 다음 중 특정 사용자가 로그인 한 이후 선언한 셸 변수를 전부 확인할 때 사용하는 명령으로 알맞은 것은?
공유
정답보기
<<이전
다음>>
목록
  • 2022.03.08 12:18:19

    [root@centos7 ~]# set
    _

    addsuffix
    anyerror
    argv ()
    autolist
    consoletype pty
    csubstnonl
    cwd /root
    dirstack /root
    echo_style both
    edit
    euid 0
    euser root
    file /root/.i18n
    filec
    gid 0
    group root
    histchar !
    histdup erase
    history 1000
    home /root
    ignoreeof
    killring 30
    libdir /usr/lib
    loginsh
    modules_shell tcsh
    owd /root
    p /usr/sbin
    path (/usr/lib64/qt-3.3/bin /root . /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin)
    prompt [%n@%m %c]#
    prompt2 %R?
    prompt3 CORRECT>%R (y|n|e|a)?
    promptchars $#
    savehist (1024 merge)
    shell /bin/csh
    shlvl 1
    sourced 1
    status 0
    tcsh 6.18.01
    term xterm
    tty pts/0
    uid 0
    user root
    version tcsh 6.18.01 (Astron) 2012-02-14 (x86_64-unknown-linux) options wide,nls,dl,al,kan,sm,rh,color,filec

    0 0
  • 서버에 요청 중입니다. 잠시만 기다려 주십시오...