Difference between revisions of "System Setup & Administration"

From Nearline Storage
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
* [http://reactivated.net/writing_udev_rules.html Writing udev rules]
 
* [http://reactivated.net/writing_udev_rules.html Writing udev rules]
 
* [[Set up serial console to view system log]]
 
* [[Set up serial console to view system log]]
 +
* Useful commands:
 +
** Unpack an RPM: <code>rpm2cpio myrpmfile.rpm | cpio -idmv</code>
 +
** 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 - <code>fuser</code>
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Revision as of 14:56, 31 December 2019