Saturday, April 16, 2016

Useful Linux Commands


  1. lsusb - list all usb ports
  2. lsmod - list loaded modules
  3. modprobe <module name> - load a module
  4. modprobe -r <module name> - unload a module
  5. delete all the files in the directory or subdirectory matches the pattern
    1. rm -- **/*.o
      or 
      find . -type f -name '*.o' -delete 
       
       

No comments:

Post a Comment