Files
documentation/i18n/uk/docusaurus-plugin-content-docs/current/user-guide/snigdha-os-terminal-shortcuts.md
2025-01-11 19:08:14 +05:30

135 lines
3.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
sidebar_position: 1
---
# Introduction to Terminal
## Launch Terminal
Heres a list of common shortcuts to launch the terminal in various desktop environments and window managers on Snigdha OS, along with relevant emojis:
### 🌐 **Desktop Environments & Window Managers**
1. **KDE Plasma**
- Shortcut: `Ctrl + Alt + T`
2. **GNOME**
- Shortcut: `Super (Windows key) + T`
3. **XFCE**
- Shortcut: `Ctrl + Alt + T`
4. **LXQt**
- Shortcut: `Ctrl + Alt + T`
5. **Cinnamon**
- Shortcut: `Ctrl + Alt + T`
6. **MATE**
- Shortcut: `Ctrl + Alt + T`
7. **i3wm** (Tiling Window Manager)
- Shortcut: `Mod + Enter` (where "Mod" is usually the `Super` key or `Alt`)
8. **Sway** (Wayland-based i3-like WM)
- Shortcut: `Mod + Enter`
9. **Openbox**
- Shortcut: `Super + Enter` (or configure manually)
10. **AwesomeWM**
- Shortcut: `Mod + Return`
11. **Fluxbox**
- Shortcut: `Super + Return`
12. **Budgie**
- Shortcut: `Super + T`
13. **LXDE**
- Shortcut: `Ctrl + Alt + T`
14. **Herbstluftwm**
- Shortcut: `Mod + Return`
## Shortcodes(Regular)
Heres the explanation of your aliases with relevant emojis:
### System and Package Management
- **`alias ls='ls -l --color=auto'`** 🖥️🌈:
List files in long format (`-l`) and colorize the output for better readability (`--color=auto`).
- **`alias grep='grep --color=auto'`** 🔍🌈:
Highlight matching text in color when using `grep` for easier identification of search results.
- **`alias rs="sudo pacman -Rs"`** 🚫📦:
Remove a package and its dependencies (`pacman -Rs`) with `sudo`.
- **`alias s="sudo pacman -S"`** 📦✨:
Install a package with `pacman` using the shortcut `s`, which runs `sudo pacman -S`.
- **`alias sy="sudo pacman -Syy"`** 🔄📦:
Force sync the package databases (`-Syy`) to fetch the latest information from mirrors.
- **`alias syyu="sudo pacman -Syyu"`** ⬆️📦💻:
Perform a system update by forcing a database refresh (`-Syy`) and upgrading all packages (`-u`).
- **`alias lck="sudo rm /var/lib/pacman/db.lck"`** 🔒🗑️:
Remove the lock file (`db.lck`) that may block `pacman` from functioning properly.
- **`alias vm="sudo systemctl enable --now vmtoolsd.service"`** 🖥️⚙️:
Enable and start the VMware Tools service (`vmtoolsd.service`) in a virtual machine.
- **`alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl"`** 🕒📋:
List the most recent 200 installed packages, sorted by date, with numbered entries.
- **`alias ys="yay -S"`** 🚀📦:
Install packages from the AUR using `yay` with the `ys` shortcut.
- **`alias pas="paru -S"`** 🛠️📦:
Install packages from the AUR using `paru` with the `pas` shortcut.
- **`alias wget="wget -c"`** 🌐⬇️:
Resume interrupted downloads with the `-c` option for `wget`.
### Navigation
- **`alias ..="cd .."`** 🔼📁:
Move up one directory level using the shortcut `..` instead of typing `cd ..`.
- **`alias home="cd ~"`** 🏠💻:
Quickly go to your home directory with the `home` alias.
- **`alias docs="cd ~/Documents"`** 📂📝:
Navigate to your `Documents` folder with the `docs` alias.
- **`alias dl="cd ~/Downloads"`** 📥🗂️:
Go to the `Downloads` folder using the `dl` alias.
- **`alias music="cd ~/Music"`** 🎵🎶:
Navigate to your `Music` folder with the `music` alias.
- **`alias pics="cd ~/Pictures"`** 🖼️📸:
Quickly jump to the `Pictures` folder using the `pics` alias.
- **`alias vids="cd ~/Videos"`** 🎬📹:
Go to the `Videos` folder with the `vids` alias.
- **`alias desk="cd ~/Desktop"`** 🖥️💻:
Jump to the `Desktop` folder using the `desk` alias.
These aliases with emojis make it easy to remember their functions and provide a fun, visual way to enhance your terminal experience!