Note Dump – Linux Tips & Tricks

Raw data dump from my Simplenote. Figure someone may find these useful. From when I started Linux until now. 

Linux Tips and tricks commands

#Find all groups to a specific user
getent group | grep $USER

Find application file executable
– sudo apt install apt-file
– sudo apt-file update
– apt-file search (appname)

– Use top to get the running processes and PID

Woeusb to make a windows bootable usb in Linux

Set default browser
xdg-settings set default-web-browser google-chrome.desktop

Nvidia settings
sudo nvidia-xconfig
sudo nvidia-settings
This creates a xorg file first

Chrome – turn off smooth scrolling

$ ls -al  : displays hidden files vs just ls command

 $ cp (copy command to move files)
cp /home/rits/Desktop/folder1/name_of_textfile /home/rits/Desktop/folder2/

sudo fstrim -v /

Encryption Workaround

Add Permissions to external drive
sudo chown -hR dasgeek /media/dasgeek

/media/dasgeek if where drive is mounted by default
dasgeek if that is username

Latest Firefox install
sudo add-apt-repository ppa:mozillateam/firefox-next
sudo apt update && sudo apt upgrade

– Install ‘aptitude’
– Terminal interface for all aptitude packages for system administration
– ‘/’ to search
– ‘q’ to quit
Add ‘Mugshot’ to customize whisker menu picture

Profile hardware and drivers in terminal
lspci -v

Wifi detect
lspci -vnn -d 14e4:

sudo dd bs=4M if=archmerge-v6.2.1-2017.11.28.iso of=/dev/sde

Install driver
Yaourt nvidia-settings

Use netdata in Arch
– install netdata via pamacmanager
– systemctl start netdata
– – go to http://localhost:19999/. in browser
sudo killall netdata-

lshw [options]

And here’s how the man page explains the tool:

      lshw  is  a  small tool to extract detailed information on the hardware
      configuration of the machine. It can report exact memory configuration,
      firmware version, mainboard configuration, CPU version and speed, cache
      configuration, bus speed, etc. on DMI-capable x86 or IA-64 systems  and
      on some PowerPC machines (PowerMac G4 is known to work).

      It  currently  supports  DMI  (x86 and IA-64 only), OpenFirmware device
      tree (PowerPC only), PCI/AGP, CPUID (x86), IDE/ATA/ATAPI, PCMCIA  (only
      tested on x86), SCSI and

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *