CP followed by RSYNC to copy what was missed
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…
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…
############################# # 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…
The default is 200 The fix is to put this in your samba configs: winbind max clients = 3000 The fix is also explained here: https://access.redhat.com/solutions/53557 The end
smbclient is the command that we want to use for testing ## smbclient comes with the smbclient package which smbclient # /usr/bin/smbclient dpkg -S /usr/bin/smbclient # smbclient: /usr/bin/smbclient First get the shareRead More…
By example I will show you Bash One Time Temporary Functions (I’m not sure if they existed before me, if not, I just invented them) or simply Temp Functions. Take that circleRead More…
If you forgot to put in your string of -L and -R and -D port forwards with ssh: ie: ssh -L 54321:localhost:443 root@mysshserver.com . Dont worry, you can launch them while your inRead More…
This can be achieved with pid files. Example: http://candrews.integralblue.com/2009/02/one-instance-at-a-time-with-pid-file-in-bash/ Another clever way is to look thru the processes list (if your allowed to look thru all user – if not then either wayRead More…