學術及資源的交流園地 ^_^

/lib

 

 

filesystem-2.3.0-1     <--- basic directory layout  /etc /var /lib ..

/lib
glibc
iptables
pam
openssl
libacl
libattr
libcap
libselinux
lvm2
nss_db
procps
 

passwd

最後更新: 2015-05-15

 

 

9. rpm cmd

最後更新: 2020-06-02

介紹

rpm cmd 除了有 installing, uninstalling, upgrading 的功用外,

它還有 querying, verifying package 的功能

目錄

  • 安裝 / 移除
  • 升級 / 安裝
  • Query
  • Verify
  • RPM-GPG-KEY
  • RPM Database Recovery
  • rpm qa without version
  • 其他資料

 

history command

 

 

! <-- history  expansion character

lamp:/home#echo "!"

-bash: !: event not found

查看之前行過的 cmd

history

執行最後的 542 句 cmd

!542

 

重複執行:

cp import01.file /backup/

^01^02^                          // 把 import01.file 變成 import02.file
       OR
!!:s/01/02

 


 

Clear History

history -c

 


 

RSS feed