Encode or Decode base64 from the Command Line | If you have ever needed to quickly decode or encode base64, Linux has a command line utility called base64 that works great. I’ll show you how it works! To encode text to base64, use the following syntax: $ echo ‘scottlinux.com rocks’ | base64 c2NvdHRsaW51eC5jb20gcm9ja3MK To decode, use base64 -d. To decode base64, use a syntax
This account is currently not available | This account is currently not available If you get this message attempting to ssh in or su’ing as another user, there is no valid shell set for this user. You can quickly inspect this by looking at the /etc/passwd file. Check for an entry that has something like ‘/bin/false’ or ‘/bin/nologin’ for the shell: userdude:x:111:113::/home/userdude:/bin/false
Quick Intro to zsh: auto complete | zsh or the z shell is an interactive shell that builds upon features of other shells such as bash, ksh, and tcsh. zsh is great for advanced script monkeys but also is an excellent simple bash replacement for the regular joe user. Here is a quick intro to the auto complete features of zsh! On
Useful Windows Commands | Here are some basic Windows commands that are good to know! Hit Windows key + R or use the Search box to type these commands. gpedit.msc Group Policy Editor services.msc Services devmgmt.msc Device Manager compmgmt.msc Computer Management This one is cool: Crack open a command prompt. (Windows key + R or Search box -> cmd
Create Animated GIF in Linux from Command Line | Imagemagick can easily make an animated gif from existing images with a simple command. I’ll show you how! First, install imagemagick: $ sudo apt-get install imagemagick Next, gather all of your .jpg images together in a single folder or directory. If needed, date/name files in a numbered or sequential order. The manor in which they
Bash Tips – Return to Previous Location | Ok this is a quick one, but useful! To return to the previous working directory, simply type: cd – and hit enter. Cool!