"리눅스 history 번호 없이 출력하기"의 두 판 사이의 차이

1번째 줄: 1번째 줄:
==개요==
==개요==
;리눅스 history 번호 없이 출력하기
;리눅스 history 번호 없이 출력하기
<source lang='console'>
 
[root@zetawiki ~]# history | cut -c 8-
<syntaxhighlight lang='console'>
cd /var/log/
testuser@localhost:~$ history
cd ..
    1  ls
ll
    2  ps
cd etc
    3  pwd
</source>
</syntaxhighlight>
<syntaxhighlight lang='console'>
testuser@localhost:~$ history | cut -c 8-
ls
ps
pwd
</syntaxhighlight>


==같이 보기==
==같이 보기==

2020년 11월 27일 (금) 19:46 판

1 개요

리눅스 history 번호 없이 출력하기
testuser@localhost:~$ history
    1  ls
    2  ps
    3  pwd
testuser@localhost:~$ history | cut -c 8-
ls
ps
pwd

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}