소스 검색

dnf: add history example (#8220)

The history command shows well formatted installation log. Gives quick idea about what has happened so far.
Also, retrieve the list and repeat the same operations on the new system to get up and running quickly.
Onkar Ruikar 2 년 전
부모
커밋
160b91ce95
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      pages/linux/dnf.md

+ 5 - 5
pages/linux/dnf.md

@@ -15,14 +15,10 @@
 
 `dnf info {{package}}`
 
-- Install a new package:
+- Install a new package (use `-y` to confirm all prompts automatically):
 
 `sudo dnf install {{package}}`
 
-- Install a new package and assume yes to all questions:
-
-`sudo dnf -y install {{package}}`
-
 - Remove a package:
 
 `sudo dnf remove {{package}}`
@@ -34,3 +30,7 @@
 - Find which packages provide a given file:
 
 `dnf provides {{file}}`
+
+- View all past operations:
+
+`dnf history`