NOTE TO SELF: correct SickRage GitHub
Scroll down to the “New and Final”. Use the first link to get to the github page (where you will see the readme of the repo). Use the 2nd link, which endsRead More…
Scroll down to the “New and Final”. Use the first link to get to the github page (where you will see the readme of the repo). Use the 2nd link, which endsRead More…
Assumption: Assuming your using bash 4. However this will work with bash 3 as im not using anything too special. So your copying alot of things over to a remote system usingRead More…
Here we backup a linux folder /data with all of its data to a remote system. 7zip has the best compression (or some of the best), so we want to use that.Read More…
Bash comes with commands like basename (extracts filename out of a fullpath filename), and dirname (extracts the directory path out of a fullpath filename). However it doesn’t come with commands to extractRead More…
CP followed by RSYNC to copy what was missed my prefered way to copy is to just use rsync or cp. I noticed cp dies less often (less broken pipes) and whenRead More…
netconsole is like syslog where it sends messages to a remote a system for analysis. syslog sends logs (/var/log/messages & syslog & journalctl). Where as netconsole sends the dmesg output, its literallyRead More…
FAT32 maximum partition size is 32GB so you must use a different allocation size to format FAT32 on bigger drives. If you have a 64Gig drive for example you can still formatRead More…
############################# # Blocked State Cant Reboot # ############################# Working with systems that are in blocked state (D state in “ps” output) – means they are waiting for IO from slow media (drivesRead More…
Trying to start an ssh server. When you encounter this error: # /usr/sbin/sshd Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_key Here is the solution: ssh-keygen -A IfRead More…
There are 2 types of data size units. The base 2 sizes and the base 10 sizes. Most systems use base 2 sizes. Base 10 sizes are only really shown on driveRead More…