Other articles

  1. Argument list too long

    If you are trying to delete a large number of files like:

    rm -rf *.gz
    -su: /bin/rm: Argument list too long

    There is a way to get around this:

    find . -name "*.gz" -print0 | xargs -0 rm
    read more
  2. Assign an IP manually and add the default gateway

    If you want to set an IP address manually using the command IP follow the procedure below:

    To assign an IP to interface em1 run the following:

    ip addr add dev em1

    Now set the local route:

    ip route add dev em1

    Finally set the default gateway:

    ip route add default
    read more

Page 1 / 10 »