FreeBSD – Show info about running process – SIGINFO
When you are running a command hit Control-T anytime, its very useful when a command looks stuck. It causes the kernel to spit out a line similar to the following: load: 0.69Read More…
When you are running a command hit Control-T anytime, its very useful when a command looks stuck. It causes the kernel to spit out a line similar to the following: load: 0.69Read More…
Screen the app that can split screens like so, is not too intuitive when it comes to scrolling thru your bash shell. Notice where the cursor is in the diagram below, itsRead More…
To print tab characters (and other control characters) you cant just press Tab because tab is a special auto complete char in bash. Control-V then Tab or Control-V then Control-I (also knownRead More…
The version of FreeBSD 8.0 that I am using is missing tee & tee -a (tee append) You know tee as in write on screen & file: date | tee thedate.txt Which will runRead More…
Source: http://stackoverflow.com/questions/1251999/how-can-i-replace-a-newline-n-using-sed Replace with space: Use this solution with GNU sed: someoutput | sed ':a;N;$!ba;s/\n/ /g' Here is cross-platform compatible syntax which works with BSD sed (FreeBSD 8 confirmed): someoutput | sed -eRead More…
Learned it from here http://stackoverflow.com/questions/6168781/how-to-include-nohup-inside-a-bash-script They use it to make current script daemoned but you can also make scripts that you run from within a script daemoned Instead of doing nohup prog & or nohupRead More…
You’ve been hearing about Ransomware attacks (they are attacks that target your files and encrypt them and make you pay money to hidden organizations to get your files back – at firstRead More…
Watching a video and your audio and video are out of sync. Try reloading video. If that doesn’t work try the audio delay option (which will delay the audio by 50 millisecondRead More…
3 window ids that fit many or 1 items snugly. 2 or 4 hidden pockets. +8 credit card holders (i just use 2 and fit them all there). zipper pocket in cash pocket.Read More…
You can either disable all trusted domains or certain/specific trusted domains. Winbind will only allow users to use SMB if they can authenticate into the samba server with a user that isRead More…