명령 실험
명령 실험 보고서
W 의 용법
w:
:w 【 】 【 】
eg:
마지막 (lastb) 명령
( )
: , /var/log wtmp
:last [ ] [-n ]
-d ip
-a ip
-R ip
-x 。 。
dmesg 명령
: , /var/log dmesg
:dmesg 【 】
-c , ring buffer
-s , 8192
-n
split 명령
, !
split 【 】【input】【output】
-b size ,b 512bytes ,k 1KB, m 1MB
-n
-d
-a
eg1: 1.txt , 2k, 3,
[root@localhost 1]# split -b 2K -d -a 3 1.txt 1.txt_bak
dd 명령
,
:dd if=”input_file” of=”output_file” bs=”block_size” count=”number”
eg1: /etc/inittab /root/1/inittab.bak
dd if=/etc/inittab of=/root/1/inittab.bak
: , 512Bytes ,1+1 1
eg2:
dd if=/root/1/inittab.bak of=/etc/inittab
: , , !
Cpio 명령
, , “.cpio” “.tar”
:cpio 【 】 》
cpio 【 】 《
-i, --extract ( copy-in )
-o, --create ( copy-out )
-p, --pass-through copy-pass
-t, --list
-B I/O 5120
-c
-f, --nonmatching
-H, --format=
-n, --numeric-uid-gid , UID GID
:
# name-list archive
cpio -o < name-list [> archive]
# archive
cpio -i [< archive]
# name-list (destination-directory)
cpio -p destination-directory < name-list
eg1: /1 /1.cpio
eg2:
[root@localhost 1]# cpio -icdvt <1.cpio
eg3: ,
[root@localhost 1]# cpio -icdvt <1.cpio>/tmp/st_content
eg4: , , , ,
[root@localhost 1]# cpio -icdvu < 1.cpio
du 명령
:du 【 】
-s
-b
-sm MB
eg: /etc
[root@localhost 1]# du -sh /etc/
fsck 명령
:fsck 【 】【-t 《 》】【 】
sync 명령
(linux 3s )
eject 명령
( )
scp 명령
cp ( SSH )
:scp @IP : linux
scp linux @IP :
eg1:scp /home/Boolean/a.tar.gz [email protected]:/tmp
find 명령
ac 명령
표 지 를 사용 하지 않 으 면 전체 시간 을 보고 합 니 다.예 를 들 어 ac (리 턴) 표시: total 5177.47
ac -d (리 턴) 매일 총 연결 시간 표시
ac -p (리 턴) 모든 사용자 의 총 연결 시간 표시
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
용감한 바로 가기 및 우분투 응용 프로그램안녕하세요 여러분, 이 기사에서는 모든 사이트에서 pwa를 생성하고 실행기 응용 프로그램으로 추가하는 방법을 설명하고 싶습니다. 일부 웹사이트는 PWA로 설치를 허용하지 않지만 유사한 애플리케이션을 원합니다. 1. ...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.