Added more basic references, need fleshing out

master
Aney 5 years ago
parent 74764849a5
commit dff62c93dc

@ -0,0 +1,5 @@
# fstab
1. Get the devices UUID `sudo blkid`
2. Create a mount point. e.g. `/mnt/usb/`
3. Add to fstab `vim /etc/fstab`

@ -0,0 +1,3 @@
`ffmpeg -y -f x11grab -s 1280x800 -i :0.0 -f alsa -i default out.mkv`
`ffmpeg -y -i /dev/video0 out.mkv`

@ -0,0 +1,25 @@
#
# Find drives
lsblk
The above command can be used to see all drives and partions, as well as where they're mounted.
# Nuke
To remove all data from a drive and replace it with nothing do
dd if=/dev/zero of=/dev/<drive> bs=1M
You can append `status=progress` to the end to see how far it's going.
This also words on partitions, you just need to make sure it's selected.
dd if=/dev/urandom
Above is an alternative to replace the data blocks with random data. This is better for when giving the device to another person, but will take longer.
# Parition
This can be done with a number of utilities, such as `parted` and `fdisk`

@ -0,0 +1,13 @@
# Install with apt/dpkg
Install from the repositories
apt install <package>
Install a local .deb file
apt install <local package location>
another way to install local .deb files
dpkg -i <local package location>

@ -0,0 +1,7 @@
# Systemd
It does too much for an init system, and lots of what it does is overwritten with other systems.
The actual init system portion is fine though.
https://www.howtogeek.com/687970/how-to-run-a-linux-program-at-startup-with-systemd/

@ -0,0 +1,8 @@
wpa_passphrase <network> <password> > /etc/wpa_supplicant/wpa_supplicant.conf
sudo ip link set dev <device> down // up
systemctl restart wpa_supplicant.service
Loading…
Cancel
Save