You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: commands/bash.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,8 +56,9 @@
56
56
|`deluser --remove-home <user_name>`| needs `sudo`| deletes user with its home directory |||
57
57
|`df -h`| display disk partition usage in human readable form ||||
58
58
|`dmidecode -t 17 `| hardware specification of the RAM chips | needs `sudo`|||
59
-
|`do-release-upgrade`| update Ubuntu ||||
60
-
| `dpkg --info <package_name> | grep Version` | retrieve deb package version number |||
59
+
|`do-release-upgrade`| update Ubuntu | needs `sudo`; set a proper value for the `Prompt` property in /etc/update-manager/release-upgrades. |||
60
+
|`do-release-upgrade -c`| check for a new Ubuntu release | set a proper value for the `Prompt` property in /etc/update-manager/release-upgrades. |||
61
+
|`dpkg --info <package_name> \| grep Version`| retrieve deb package version number |||
61
62
|`dpkg -L <package_name>`| list where application puts its files ||||
62
63
|`dpkg-deb -x <package_name>.deb <directory_name>`| unpack the package file ||||
63
64
|`du -hs <directory>`| display disk usage of the directory |`sudo` should be used when current user does not have access permissions for the directory |||
0 commit comments