history (명령어)

위키백과, 우리 모두의 백과사전.

history
개발자다양한 오픈 소스 및 상용 개발자들
운영 체제유닉스, 유닉스 계열, 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>]

추가 문헌[편집]