INSTALLING LATEST BTRFS-TOOLS WITH TROUBLESHOOTING TOOLS: I got these instructions from: http://www.funtoo.org/BTRFS_Fun INSTALL NORMAL TOOLS Note might need these dependencies: # apt-get install uuid-dev libattr1-dev zlib1g-dev libacl1-dev e2fslibs-dev libblkid-dev liblzo2-dev To install regularRead More…
My Opinion – Best TV Shows/Series So Far
From What I have watched My favorite so far: The Wire The Walking Dead True Detective Dexter (went bad last Season, the rest was good- especially season 4) Game Of Thrones WhyRead More…
Check Debian or Apt System Integrity – Is my System Curropt? – Is my system okay?
# how to see what files were changed – is system okay – is system not curropt ################################################## This will scan all pacakges and check for curroption based on checksums. A goodRead More…
Advanced Bash redirection with Pipes and File IO: > and >> and 2> and 2>> and |
redirection advanced with pipe and file io ################################ comm short for command/program name a good program to test all of this with is: service –status-all , this has different output for error andRead More…
Run multiple commands in linux/bash – note on jobs listing
Run multiple commands in linux/bash ############################# a few methods: ============== NOTE: the # hash sign below means run the command run command2 if command1 is successful (exit status 0) # command1 &&Read More…
NOTE TO SELF: See if a long process is stuck or is it reading or writing to disk – strace – iostat
See if a long process is stuck or is it reading or writing to disk ############################################## Imagine you have a process runing but it seems stuck, here is how to see wahtRead More…
BTRFS – using alternate superblock – checking other superblock
Checking other superblocks in BTRFS ############################## CITATION: http://www.funtoo.org/BTRFS_Fun 1) get the latest version of btrfs-tools See here: HERE 2) test another superblcok: # btrfsck –s 2 /dev/sda3 3) restore the default superblock (#0)Read More…
sgdisk – gpt – script to split disk into 2 partitions of equal size
sgdisk disk script to split disk into 2 partitions #################################### #!/bin/bash # WHAT THIS DOES: # imagine last good sector (with regards to alignment is) is 2000000 on drive /dev/sdf (about aRead More…
UMASK Notes – Show Exceptions etc – script to see every umask
UMASK NOTES ############# ############# The umask tells the session what mask to apply to new files and folders. Its calculated in inverse. So for files you need to subtract 666 for foldersRead More…
Move or Copy Files and subfolder’s files into 1 path, destination will not have any directories & c# code
Windows Move or Copy Files and subfolder’s files into 1 path, destination will not have any directories #################################################### PRO: have all files in one folder, CON: hard to tell certain files apart HowRead More…