This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
perso:dump:lnx:list_of_useful_commands [2015/06/18 13:22] Jean-Christophe Berthon [RPM based package system] add dnf and other info such as list of process needing restart |
perso:dump:lnx:list_of_useful_commands [2015/06/18 20:28] Jean-Christophe Berthon [RPM based package system] |
||
---|---|---|---|
Line 70: | Line 70: | ||
* ''needs-restarting'' based on ; | * ''needs-restarting'' based on ; | ||
* Without using yum, and it works for all Linux systems (whether using RPM or not) | * Without using yum, and it works for all Linux systems (whether using RPM or not) | ||
- | * ''lsof | egrep "DEL|deleted" | awk ' { printf("%s\t%s\n", $1, $2) }' | sort -u'' | + | * ''%%lsof +L1 -R%%'' |
+ | * Check in the list of files (rightmost column) that the files are under a system folder such as ''/usr'' | ||
Fedora 22 and newer have replaced ''yum'' by ''dnf'' and it is possible that future releases of CentOS/RHEL will follow suit. | Fedora 22 and newer have replaced ''yum'' by ''dnf'' and it is possible that future releases of CentOS/RHEL will follow suit. |