Saturday, September 28, 2024
Linux - console
There are several ways to execute bash scripts.
- Run Bash Script using sh
sh <script name> <arguments>
Example:
sh helloworld.sh
- Run Bash Script using bash
bash <script name> <arguments>
Example:
bash helloworld.sh
- Run Bash Script using source
source <path>*/<file name> <arguments>
Path:
./file.sh - run in local directory
/home/user/Documents/file.sh - run absolute path directory
Example:
source script.sh - local path
. script.sh - local path
/home/kb/script.sh -absolute path
If necesarry right is needded use:
chmod +x nazwa_pliku.sh
To be continue....
PS.
bash - Bourne Again Shell
To increase my user exprience in CLI, I choose to install ZSH and Starshipp.
In the future my goal is to use Vim daily.
Python - Anaconda
I instaled Anaconda on my Linux (Kubuntu Distro).
I have problem to start Anaconda. Solution was to run extra command before
To start Anaconda run commands in console.
First command:
source ~/anaconda3/bin/activate root
Second/main command:
anaconda-navigator
Wednesday, September 11, 2024
Linux - chapter 1
In this post I will cover basic command used in Linux.
Background:
I have tested many distribution, like Fedora, Kali, Ubuntu, Mint. Currently I use Kubuntu, because it fullfill my needs. Most efficient way of using Linux is CLI(command-line interface). For me at this moment easier is to GUI to use Linux. But usage of CLI is much efficient. My goal is to learn Vim till end of Year( at least at basic level). Mainly used (Maybe most popular) for scripting is used bash programing language. Advantage of Bash scripting programig is Automation, Portability, Flexibilty and Accessibilty.
Bash programing language belong to shell environment. To check list of avaiable shell in Your laptop, is run command "ps":
When we confirmed, we will used bash.
To check date we can use command date.
:To confirm in which file directory, I am run command pwd.
Tuesday, September 10, 2024
Notes & Usefull links
AWS:
AZURE:
AWS paths:
Solutions Architect :
Ramp-Up guide for Architect:
DevOps:
Ramp-Up guide for DevOps.
Developer:
Ramp-Up guide for Developer.
SysOps:
Ramp-Up guide for SysOps.
Solution:
Generative AI:
ML:
Data analitics:
Security:
Advanced Networking:
I decide that Build a Basic Web Application will be good first to go in cloud world.
I will be adding snapshots from my journey to track my progress.
Subscribe to:
Comments (Atom)
K8s cluster - bash install
In my homelab, I testes another method of installation of Kubernetes. Average time of installation of Kubernetes via Ansible was 15 min...
-
In the past I broke my K3s homelab more than few times. To set up K3s cluster again it was not complicated. I want to automate proce...
-
Today I would like to document my base set up for my homelab. I try serveral Linux distros RHEL, Ubuntu, Fedora combined with K8s, ...
-
K9s K9s is a terminal based UI to interact with your Kubernetes clusters. The aim of this project is to make it easier to navigate, obser...



