본문으로 이동

history (명령어)

한울위키, 우리 모두의 백과사전.
(History (유닉스)에서 넘어옴)

history
개발자다양한 오픈 소스 및 상용 개발자들
저장소
  • {{URL|example.com|optional display text}}모듈:EditAtWikidata 29번째 줄에서 Lua 오류: attempt to index field 'wikibase' (a nil value).
엔진
    모듈:EditAtWikidata 29번째 줄에서 Lua 오류: attempt to index field 'wikibase' (a nil value).
    운영 체제유닉스, 유닉스 계열, PTS-DOS, 윈도우, ReactOS, KolibriOS
    종류명령어

    컴퓨팅에서 여러 들은 현재의 세션 중에 사용자가 입력한 명령어들의 기록을 유지한다. history 명령어는 명령 히스토리 목록과 함께 동작한다. 옵션 없이 이 명령어를 사용하면 히스토리 목록을 출력한다. 사용자는 히스토리 목록 표시와 히스토리 항목을 조작하기 위해 명령어에 여러 옵션을 지정할 수 있다.

    구현체

    bash

    history [-c] [-d offset] [n]
    history -awrn [filename]
    history -ps arg [arg...]
    

    tcsh

    history [-hTr] [n]
    history -S|-L|-M [filename] (+)
    history -c (+)
    

    파워셸

    Get-History [[-Id] <Int64[]>] [[-Count] <Int32>] [<CommonParameters>]
    Add-History [[-InputObject] <PSObject[]>] [-Passthru] [<CommonParameters>]
    Clear-History [[-Id] <Int32[]>] [[-Count] <Int32>] [-Newest] [-Confirm] [-WhatIf] [<CommonParameters>]
    Clear-History [[-Count] <Int32>] [-CommandLine <String[]>] [-Newest] [-Confirm] [-WhatIf] [<CommonParameters>]
    Invoke-History [[-Id] <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
    

    추가 문헌