Linux Commands

bash

The standard unix shell is great but can be made more user friendly by installing zsh. It's a great extension for VSCode. To find the installation instructions, go to the **official website.**

<aside> 💡 Zsh is a shell that can be used on various Unix-like operating systems, including Linux, macOS, and even Windows (through WSL or Cygwin)

</aside>

Anwendung

Directory Navigation

cd -            # Go to previous directory
cd ~-3          # Go to the third most recent directory
d               # Show directory history (with Oh My Zsh)

Command History

history         # View command history
!!              # Run the last command
!ssh            # Run the most recent command starting with 'ssh'
history | grep keyword  # Search command history

Git Integration (with Oh My Zsh git plugin)

gst       # git status
ga        # git add
gcmsg     # git commit -m
gp        # git push