Professional Documents
Culture Documents
Manj Inst 151020
Manj Inst 151020
Manj Inst 151020
sha1sum = xterm -fg gold -bg black -geom 60x6 -hold -e ' sha1sum -c %F'
sha256sum = xterm -fg gold -bg black -geom 60x6 -hold -e 'sha256sum -c %F'
Create symlink = ln -s %f '%n (symlink)'
O. and when when you have it as you like it, make an fsarchiver snapshot!
IV. Others
A. Yogurt: 4 c. water + 2 c. dry milk + c. live yogurt; 8 - 12 hours at 115F.
B. For Samsung phone: APN =Access Point Name: movistar.WAP wap.movistar.ve
C. DLink KVM-2K: Scroll-lock + Scroll-lock +1 or 2 / +S (scan every 10 secs) / +ESC
Computer
d1p1
d1p2
d1p3
sda1
/MANJ
29 G
sda2
/MX14
30 G
sda3
/DATL
368 G
sda1
/WIN
35 G
sda2
/MX14
20 G
sda3
/DATL
80 G
sda1
/WIN
35 G
sda2
/MX14
20 G
sda3
/DATL
80 G
sda1
/WIN
35 G
sda2
/MX14
15 G
sda3
/DATA
74 G
d1p4
d1p5
d1p6
d1p7
d1p8
Extend
III.Tweaks
A. Configure desktop, wallpaper, environment, settings, users, etal...
B. for EeePC: install eee-acpi-scripts
then add quiet silent acpi_osi=Linux to /etc/default/grub & update-grub
C. tune2fs -m2 /dev/sdaX where / is located. (changes 5% to 2%)
D. Dual mon: xrandr --output LVDS1 --auto --output VGA1 --auto --above LVDS1
E. Belkin Router: 00:22:75:4A:AD:EF Router IP: 192.168.2.1
F. git clone https://github.com/*/*.git
G. set xterm -geom 100x25 -e htop and/or xfce4-terminal --geometry 100x25
H. Alt +SysReq +R,S,E,I,S,U,B: Raising Skinny Elephants Is So Utterly Boring
I. Wifi management: ifconfig iwconfig ifup ifdown lspci -vv
J. users: # adduser for new, # addgroup for new groups.
aptitude keep-all
K. Swapiness: set sudo sysctl vm.swappiness=50 && cat /proc/sys/vm/swappiness
Set perm, add vm.swappiness=50 to end of /etc/sysctl.conf Default: 0-60-100
L. Inxi button: xterm -fg yellow -bg black -hold -geom 140x25 -e "bash /usr/bin/inxi -Fxz"
M. MaxiMini: wmctrl -r :ACTIVE: -b toggle,maximized_veRrt,maximized_horz
button = object-flip-horizontal
N. Thunar Actions:
VI. SATA Partitions, BIOS: 4 primaries; or 3 primaries & 1 extended with max 15 logicals
Partitions, ext4: P1=30G; P2=30G; P3=data 360G; L5 BOOTR, L6swap, Ln = ca 12 -18 G each
Leave /home on the root partition, use a separate /DATL Primary partition & automount it.
sda5
/BOOT
50 M
sda6
/SWAP
2G
sda7
/MANJ
18 G
sda8
/CLDX
17 G
Extend
V. Tips
A. App won't nstall issues:
sudo rm -f /var/lib/pacman/db.lck &&
sudo pacman-mirrors -g && sudo pacman -Syyuu && sudo pacman -Suu
B. Console: ssh user@ip ssh -X user@ip
File manager: sftp://user@ip lsusb
C. $ startx > /dev/null 2>&1 # etune # e2label Time:%T Date:%F TimeTip:%A %x
# dpkg-reconfigure tzdata (for older Debian versions - tzconfig)
# date MMDDhhmmCCYY.00 && date && hwclock --systohc && date && hwclock
D. NO PUBKEY displays YourErrorNumber:
gpg --keyserver pgpkeys.mit.edu --recv-key YourErrorNumber
gpg -a export ReturnedKeyNumber | sudo apt-key add E. smartctl --H ;(help) smartctl s=on /dev/sda ;(turn on)
F. VirtualBox: sudo /etc/init.d/vboxdrv setup
G. dd if=/dev/zero of=/dev/sdb to zero USB then Gparted >Device >CreatePartitionTable
dd if=path-to-input-file.iso of=/dev/sdb bs=4M;sync gparted resize & create live-rw
H. fsarchiver as root, to clone or restore to an unmounted partition, # cd /fsa and then:
# fsarchiver -ov savefs filename.fsa /dev/sdxN
# fsarchiver -ov restfs filename.fsa id=0,dest=/dev/sdxN
I. Cloning ntfs: Restore to sdxN, gparted to make sdxN bootable: umount, reboot sdxN
J. Print PDF: Reverse=Even Pages/Reverse ON; Anverse=Odd Pages/Reverse OFF
K. Print ODF: Reverse=Even Pages/Reverse ??;
Anverse=Odd Pages/Reverse ??
L. qpdf --decrypt input-file.pdf output-file.pdf {remove password from pdf files}
sda5
/BOOT
30 M
sda6
/ swap
1.5 G
sda7
/MANO
20 G
Sda8
/???
11 G
Extend
sda5
/BOOT
30 M
sda6
swap
1.5 G
sda7
/MANJ
18 G
Sda8
/???
11 G
sda5
/X1
12 G
sda6
/X2
12 G
sda7
swap
1.5 G
Extend
SUCCESS: Passion driven. Enjoy work. Be good at somthing-practice. Focus on 1 thing. Push through doubt-physically, mentally. Serve others something of value. Ideas: listen, observe, curious, question, solve, connections. Persist through failure and C.R.A.P.