Category Archives: Linux

scroll on screen

Control + a , then Escape . After that, you should be able to move your cursor around using the arrow keys

ubuntu set env permanent

sudo vi ~/.profile Add the command to the bottom of the file export PATH=”/home/name/telo/bin:$PATH”  

tunnel

ssh -L 3318:localhost:3306 user@someipaddress ssh -L 2222:ipVpnEpt:22 user@ipnosrtobackup ssh -L *:3318:localhost:3306 -L *:7070:localhost:8080 user@someipaddress

linux mount

sudo mount /dev/sdb1 /media sudo umount /media fdisk -l Device Boot Start End Blocks Id System /dev/sda1 * 63 204796619 102398278+ 7 HPFS/NTFS /dev/sda2 204797952 205821951 512000 83 Linux /dev/sda3 205821952 976773119 385475584 8e Linux LVM sudo mount -t ntfs /dev/sda1 /media USB devices are usually vfat and Linux are usually ext sudo mount -t… Read More: linux mount »

ubuntu echo to serial port

Agar tidak pakai sudo :  sudo vi /etc/udev/rules.d/99-serial-permission.rules KERNEL==”ttyS0″, MODE=”0666″ sudo udevadm control –reload-rules sudo udevadm trigger Write : echo “coba” > /dev/ttyS0 Read : cat /dev/ttyS0 atau pakai screen masing2 :  screen /dev/ttyS0 9600

ubuntu unzip jar

install unzip sudo apt-get install unzip unzip asdf.jar -d ~/folder/tujuan/