Terminal Commands For Beginners

bash

Let’s go over some terminal commands for Beginners. This assumes you have basic computer knowledge and might have some sort of interest in software development. Terminal commands, especially those for linux systems, will get you pretty far. My Setup MacOS Opening Your Terminal On a mac hit command+space. This will open a search window. My … Read moreTerminal Commands For Beginners

Execute Bash Commands and Return Results in Python

bash

I’ve had numerous cases where I’ve needed to execute bash commands and return the results in Python for some additional manipulation. My most recent example involved me working with BigQuery schemas. Getting schemas from the CLI was easy peasy but I’m not the best at BASH programming so I naturally turned to something more familiar … Read moreExecute Bash Commands and Return Results in Python

Unable to connect to the server: getting credentials: exec: executable aws-iam-authenticator not found

bash

Setting up Kubernetes on AWS and got the unable to connect to the server: getting credentials: exec: executable aws-iam-authenticator not found error? Execute the following to solve your problem! Not going to bore you with fluff this time around. I am assuming that you have homebrew installed which might be a leap. Also I’m on … Read moreUnable to connect to the server: getting credentials: exec: executable aws-iam-authenticator not found

Listing the Largest N Files or Folders Recursively

bash

Listing the largest N files or folders recursively is handy. Let’s frame a usecase. So, you’re Ubuntu server is tanking. You’re running Jenkins or something else and your job logs have just started piling up. You’re UI doesn’t work anymore and the only thing you can do is SSH into your instance. What do you … Read moreListing the Largest N Files or Folders Recursively

Remove Your Computer’s Name From your Bash/Terminal on Ubuntu

Happen to be trying to remove your computer’s name from your bash/terminal on Ubuntu? I thought it was an eyesore when I was writing up some docs and was taking screenshots. I did some research and thought I’d pass along what I learned. My Setup Windows 10 Ubuntu Subsystem Edit your hidden .bashrc file! So … Read moreRemove Your Computer’s Name From your Bash/Terminal on Ubuntu

Search For Strings Across Files in Linux

bash

Need to search for strings across files in Linux or on a Linux server? Use GREP! This will help you find that pesky module that needs updating or that misspelled table name. My Computer Setup macOS The Solution This command will recursively search files and folders for whatever you’re interested in. Still learning about how … Read moreSearch For Strings Across Files in Linux

Change Directory on a Mac, Linux, or Windows Machine

bash

We’ll be showing you how to change directory on a Mac, Windows, or Linux machine. Need to do something to a file on the terminal? Need to delete an entire folder and its children on the command line like I show here? Well first you might want to get to the same directory where it’s … Read moreChange Directory on a Mac, Linux, or Windows Machine