Difference between revisions of "System Setup & Administration"
Jump to navigation
Jump to search
m |
m |
||
Line 3: | Line 3: | ||
* Useful commands: | * Useful commands: | ||
** Unpack an RPM: <code>rpm2cpio myrpmfile.rpm | cpio -idmv</code> | ** Unpack an RPM: <code>rpm2cpio myrpmfile.rpm | cpio -idmv</code> | ||
− | ** Finding large files | + | ** Finding large files: <code>du -axS | sort -r -n -k 1,1 | less</code> |
− | ** List files by size | + | ** List files by size: <code>du -xmS | sort -g</code> |
− | ** Identify processes using files or sockets | + | ** Identify processes using files or sockets: <code>fuser</code> |
[[Category:Linux]] | [[Category:Linux]] |
Revision as of 14:57, 31 December 2019
- Writing udev rules
- Set up serial console to view system log
- Useful commands:
- Unpack an RPM:
rpm2cpio myrpmfile.rpm | cpio -idmv
- Finding large files:
du -axS | sort -r -n -k 1,1 | less
- List files by size:
du -xmS | sort -g
- Identify processes using files or sockets:
fuser
- Unpack an RPM: