-
Notifications
You must be signed in to change notification settings - Fork 1
Linux tools and links
https://windelbouwman.wordpress.com/2014/06/12/linking-two-serial-ports-with-socat/
socat -d -d /dev/ttyUSB0,raw,echo=0,crnl,b115200 /dev/ttyUSB1,raw,echo=0,crnl,b115200
To create an image from a drive sudo dd if=/dev/sdx of=/path/to/new.iso Alternatively, to create a USB drive from an image sudo dd if=/path/to/iso of=/dev/sdx
useradd -m -d /PATH/TO/FOLDER USERNAME if you forget home dir
sudo mkdir USERNAME
sudo chown USERNAME:USERNAME /home/USERNAME/
ssh -X to forward x11
cat /proc/mounts
cat /etc/mtab
xxd <file>
vbindiff
dd [skip=<tostart>] [count=<bytes>] if=input.bin of=output.bin bs=1
[syslinux](http://www.syslinux.org/wiki/index.php?title=Install)
sshfs root@<target-hostname-or-ip>:/home/root /home/user/mnt/ -o nonempty
Set board rate: stty -F /dev/ttyX0 567890
yourcommand and arguments |& tee $(date +%F-%H%M%S-)YourName.log the ampersand after pipe (|&) ensures stderr also goes to tee.
Permissions: http://linuxcommand.org/lc3_lts0090.php