Cheatsheet for Linux
Ownership sudo chown $USER:$USER fileName sudo chown $USER:$USER folderName sudo chown -R $USER:$USER folderName //Modifies the files inside File Permission There are three permissions: Read: 4 ...
Ownership sudo chown $USER:$USER fileName sudo chown $USER:$USER folderName sudo chown -R $USER:$USER folderName //Modifies the files inside File Permission There are three permissions: Read: 4 ...
Image docker run imageName docker build -t yourImageName . docker images docker rmi imageName docker image prune Container docker ps docker ps -a docker container stats docker start containerNam...
Nginx Docker Setup on a VPS mkdir ~/dockerDemo/html && cd ~/dockerDemo; echo 'hello world from docker using nginx' > html/index.html touch Dockerfile docker-compose.yml nginx.conf #ngi...
Configuring a VPS Add your public key to VPS: #In Local pbcopy < ~/.ssh/id_ed25519.pub #In VPS nano ~/.ssh/authorized_keys # Add .pub content here Update & Upgrade: sudo apt update &a...
This list contains the most useful apps that I have installed on my system. Utility: Syncthing: Open source sync solutions that allows syncing of file/ folders. Download Localse...
Symlink: Symlink is a type of file that’s used to point to another file/directory. It contains a text string that’s automatically interpreted and followed by the OS as a path to another file/direc...
Dotfiles Dotfiles are files that’s used by applications or packages for storing it’s configurations. It’s called a dot file as it’s naming starts with a dot > . Common dotfiles include .zshrc ....
Git Git is an opensource version control system used to track changes in files. It’s a powerful tool allowing multiple developers to work efficiently on a single code-base. Cheatsheet #Setup git i...
Vim Key Bindings CheatSheet Vim Modes: There are three modes. It’s used for the following: Normal Mode: Movement, deletion and searching Insert Mode: Entering text directly Visual: Manipula...
Neovim Neovim is a cli based text editor written in lua. It’s written in lua and is based on vim. Use :q! to quit or :wq to write & quit btw. Installation on Mac #Using HomeBrew brew install ...
Jekyll is used to convert your markdown notes into a static site. This blog was created by converting my Obsidian notes written as .md and converting them to a static site using Jekyll. Setting up...
Markdown CheatSheet 1. Typography: # H1 ## H2 ###### H6 *italics* or _italics_ **bold** ~~strike~~ 2. URL & Lists: [Click Me](example.com "tooltip here") [Click Me](example.com){:target="...
The scripts have been verified on Ubuntu 22.04 LTS : Apache Setup sudo apt update -y; && sudo apt upgrade -y; sudo apt install apache2; sudo systemctl enable apache2; && sudo syste...
Hugo is used for generating static sites using markdown. This blog has been created using Hugo. Get Hugo using apt on Ubuntu based distros: sudo apt install hugo; Commands #Project Setup hugo ...
QEMU is a Level 0 HyperVisor and allows for the best VM performance in linux. Installation: sudo apt update -y; sudo apt upgrade -y; sudo apt autoremove -y; sudo apt autopurge; sudo apt install v...