Cookies support analytics and personalized ads. Accept, or only necessary storage is used.

Quick reference for shell commands, vim basics, and essential CLI tools.

- NeoHtop

  • The Shell
    • echo

      • "" \
      • $PATH
      • cd -

      • ctrl+L to clean

      • ctrl+r

      • append

      • output into | input
      • into root or sudo su

      • xdg-open opent the file with reletive app
      • foo=bar ; must be without space
      • echo "value is $foo" -> value is bar
      • echo 'value is $foo' -> value is $foo
      • mcd () { mkdir -p "$1" cv "$1" } source mcd.sh !!

command + / option+shif+a

!/usr/bin/env python

import sys for arg in reversed(sys.argv[1:]): print(arg)

tools

tldr locate grep ripgrep = rg fzf broot nnn

vim

i esc r k s-v c-v :


Source: Pirahansiah, F. “Shell & Vim Quick Reference”. pirahansiah.com, updated 2026-09-19. Canonical URL https://pirahansiah.com/farshid/content/note-shell-vim/ · markdown source note-shell-vim.md · how to cite, quote and link this site.