Tag: Linux
moreutils: the utilities package every UNIX/Linux/Mac OS developer should know
SOURCE: CLEAN CODING Amazing additions to the cli toolset: combine – combine lines in two files using boolean operators AND NOT OR XOR ifdata – ifconfig with simple to parse … Read More
WP upgrade – need to lower security for time of upgrade
LOOSEN PERMISSIONS: Reset the permissions of all files to 1664 : 1find /path/to/site/ <span class="nt">-type</span> f <span class="nt">-exec</span> chmod 664 <span class="o">{}</span> <span class="se">\;</span> Reset permissions of directories to 1775 … Read More
Video Transcoding – scripts @ Github
transcode-video detect-crop convert-video query-handbrake-log 1234567891011brew install ruby gem install video_transcoding # ** THE FOLLOWING ARE REQUIRED ** brew install handbrake brew install ffmpeg brew install mkvtoolnix brew install mp4v2 # … Read More
screen -r // Using screen to handle disconnected ssh sessions
Before ssh, first initiate a “screen” session, ssh from there, then disconnect from the “screen window” – change locations, reconnect, all will be intact. Similar behavior in OSX and Linux, … Read More
SET YOUR: ssh config FOR FASTER: ssh & scp
source: stackexchange for faster SSH & SCP : Edit: ~/.ssh/config (or create it) 1234Host happy Hostname my.remote.server.com User bob Port 12345 Then: 1ssh happy or 12scp happy:~/tmp/myfiles … Read More
BASH – faster navigation
CTRL – A :: JUMP TO THE START OF THE CURRENT LINE CTRL – E :: JUMP TO THE END OF THE CURRENT LINE CTRL – U :: CLEAR (part … Read More