Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
CommandSummaryUseful sub-commands and optionsExample usageNotes
and useful optionsdisownRemoves jobs from the current shell.Prevent a background process from receiving a SIGHUP when the shell exits.

-a Disown all jobs

cat /proc/partitionsList disk partitions visible to Linux, mounted or not. Look for an unmounted device corresponding to a USB drive.

 

csetFront end for the Linux cpusets functionality for defining sets of CPUs and limiting specific processes to them.

proc -s <name> -e <command> Runs command on the CPUs in the named cpuset.

set -c <cpus> -s <name> Create new cpuset with given name and including specified set of cpus.

set --destroy <name> Deletes the named cpuset.

set -l List currently defined cpusets.

 
Create a cpuset containing just CPU 0, and run script.sh on that CPU:
$ sudo cset set -c 0 -s cpu-0
$ sudo cset proc -s cpu-0 -e script.sh 

Create a cpuset containing CPUs 0-2, and run script.sh on those CPUs:

$ sudo cset set -c 0-2 -s cpus-3
$ sudo cset proc -s cpu-3 -e script.sh
  • Install the cpuset package if needed
-h Prevent job from receiving SIGHUP signal without removing the job from the shell
  • .
dpkg -lList all installed packages with summaries.   
lspciDisplays information about PCI buses and devices connected to them.
Check if video cards are identified by the system correctly.
-k Show installed drivers for each connected device
.Check if video cards are identified by the system correctly
ubuntu-drivers devicesShow devices which need drivers and the packages that can be installed to supply them.Find the recommended proprietary driver package for an installed NVIDIA GPU
.

 

mount -t exfat <device> <mount-point>Mounts an exFAT drive. 

Mount an

exfat

exFAT-formatted USB thumb drive

device

partition /dev/sdb1 on /mnt/skope:

$ sudo mount -t exfat /dev/sdb1 /mnt/skope
To enable
  • Enable exFAT support by installing exfat-fuse:

$ sudo apt-get install exfat-fuse

cat /proc/partitionsList disk partitions visible to Linux, mounted or not.Look for an unmounted device corresponding to a USB drive. 
ubuntu-drivers devicesShow devices which need drivers and the packages that can be installed to supply them. Find the recommended proprietary driver package for an installed NVIDIA GPU.