# 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…
2 in 1: find duplicates & remove empty folders in linux and windows
Below content is sourced in the links. Most of the content is not my original content and im giving credit via the links. Windows Remove EMPTY Folders: ############################## ############################## http://sourceforge.net/projects/rem-empty-dir/ Or youRead More…
How to uninstall an application/package completely – leave no trace behind
Im not responsible if you destroyed your computer or data by following these steps. Deleting things in linux maybe a long and complicated processes if you really wnat to remove all tracesRead More…