[an error occurred while processing this directive]

  • More useful commands
    By : glenn ( Sat Apr 24 09:45:07 2004 )

    Using the proc file system:

    cat /proc/pci
    cat /proc/interrupts
    cat /proc/bus/usb/devicecs
    cat /proc/scsi/scsi
    cat /proc/cpuinfo
    cat /proc/cmdline
    procinfo -f

    How much RAM is available?
    free -m

    Which version of XFree86 am I using?
    X -version

    Sort disc usage from largest to smallet:
    du / |sort -nr|most
    (will take a while on large drives)

    What's my resolution?
    xvidtune -show

    OR
    xrandr|grep \*

    What ports are open on the localhost?
    nmap localhost

    How to turn on/off energy star features:
    xset +/-dpms

    How to kill an X app that won't exit normally:
    xkill

    How to remount a disc in read-write mode?
    mount -o remount,rw /dev/hdx?

    How to generate ssh keys?
    ssh-keygen -b 1024 -t rsa1 -f /etc/ssh/ssh_host_key -N ""
    ssh-keygen -b 1024 -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
    ssh-keygen -b 1024 -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""

    Return to article...[an error occurred while processing this directive]