Hi,
it is that time of the year and we all have a round of kind words -
Happy New Year to all .
=========================
But, before the list police strike, I had better get on topic and write
about some linux.
The wonders of the ls command.
We are all familiar with ls ( list files) and I wont go further on this one.
But did you know:
lshw (report hardware)
lspci (report contents of the pci bus)
lsblk (list all disks on computer, and the mount points of various
partitions - --- learn this one - I was impressed. Very Succinct.)
lsof (list open files, useful for counting the number of file handles a
process has, which tells about leaks of file handles)
lsb_release (linux standards base - report the distro on this installation)
lscpu (list the cpu on the box - a tidier report than cat /proc/cpuinfo)
lsusb (list the contents of the usb device tree)
lsmod (list the current modules)
lsattr (attributes of an ext2 file system)
lspcmia (who uses this one now?)
lsdiff - show which files are modified by a patch
lsinitramfs (contents of an initrd.img file. this is a new one on me -
>lsinitramfs /boot/initrd.img-`uname -r` | wc -l
>946
Cheers,
and Happy New Year.
Derek.
--
Sent from my Ubuntu computer
_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users