Search This Blog

September 30, 2019

Aliases Created In Terminal Not Showing Up In Tmux

Issue

I create a few aliases in terminal like below:
alias k=kubectl
source <(kubectl completion bash)
And then I open a tmux session with command: tmux.

Now inside of tmux pane, when I try using the alias and expect the behaviour of source command run in terminal, it fails! :(

Why does this happen and how do I get it right?

The context is that I end up using multiple panes in tmux and I don't want to re-peat the same set of aliases creation again and again as I open every tmux pane. Possible?

Side Note: If you don't know this, it might be another cause for your stress during your CKA/CKAD exam.

Essential Tmux for CKAD or CKA Exam


If you are preparing for CKAD or CKA exam and are new to Tmux (Terminal Multiplexer), this post will help you know everything that is essential to being productive with Vim during your exam.

Tmux is a software that is used to launch and play around with multiple terminals, all visible in a single screen for better productivity. Give it a shot to see how you can get productive. But what do you need for it? Possibly just this video tutorial titled Basic Tmux Tutorial in youtube and then this post for reference.

September 26, 2019

Essential Vim For CKAD Or CKA Exam


If you are preparing for CKAD or CKA exam and are new to Vim/Vi, this post will help you know everything that is essential to being productive with Vim during your exam.

Vim has 3 modes as  depicted in picture below:
  • In Command Mode, you do things like navigating your cursor from one point to another in your text file, or delete text or replace text or select text or things like that. When you open Vim, you will be in this mode to begin with.
  • In Insert Mode, you insert text and delete text with [backspace] key :)
  • In Execution Mode, you do things like search text in file, set tab length, set line numbers in editor and stuff like that.

CKAD Exam Preparation Checklist


CKAD (Certified Kubernetes Application Developer) exam is really hard; harder than you think it can be. I made some terrible mistakes while taking the exam albeit I passed the exam in first attempt. But then, I don't want you to go through the pain and stress that I have been through which i think is totally unwarranted. This post is a collection of ideas and advises that I would vouch for based on my very own experience in taking the exam. So go through the checklist to check how prepared you are to take the examination.