# Linux Comand

By [Degeneratos.eth](https://paragraph.com/@degeneratos-eth) · 2022-12-08

---

Ubuntu/Debian - At the start
----------------------------

`sudo snap install snap-store` - Snapstore `sudo -s` next `passwd` change a root password`passwd <user>` - change a user password `sudo apt install stacer` - GUI ccleaner for Linux `sudo apt install gufw` - install firewall `sudo apt install clamtk` - Antyvirus opensource `sudo chkrootkit` - Rootkit checker

GNUPG - Keys GPG
----------------

`sudo apt-get update & sudo apt-get install gnupg` Install gnupg

`gpg --gen-key` - Create a pair of key

`gpg --list-key` - Check a key

`gpg -a --export our@email // or username, or id` - create our public key.This key we can sent to other person

`gpg -a --decrypt` - Decrypt message

`gpg --import` - if you want sent message to other you use this command and then you import his public key or id.

`gpg -a --encrypt -r jego@adres.mailowy` - encrypting message to a friend.

`gpg --import --allow-secret-key-import ~/file.asc` - encrypting message to a friend + flag `--ignote-time-conflict` (if problem with import because clock problem)

MetaData - mat
--------------

`sudo apt-get update && sudo apt-get install mat2` `mat2 photo.jpg` - How to use

Communicators
-------------

`sudo snap install telegram-desktop` - Telegram `sudo apt update && sudo apt install telegram` - Telegram second option `Discord` - Click `sudo apt update & sudo apt install pidgin` - Pidgin `sudo snap install --channel=candidate wickrme` - Wickrme `a` - AAA `a` - AAA

Data
----

`sudo apt update & sudo snap install onionshare` - OnionShare

`a` - AAA `a` - AAA

Wallet
------

`sudo apt-get update && sudo snap install mymonero` - MyMoneroWallet `Link →` - [Atomic Wallet](https://support.atomicwallet.io/article/6-how-to-install-atomic-wallet-on-your-device) `a` - AAA

Security
--------

`a` - KeePass `VeraCrypt` - KeePass

`sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh)` - NordVPN

T0r-Br0wser `sudo add-apt-repository ppa:micahflee/ppa` - add repository `sudo apt update & sudo apt install torbrowser-launcher` - Install `sudo apt remove torbrowser-launcher` - Uninstall

Useful command
--------------

`apt purge kupa` - Uninstall app with kupa name `apt –purge remove` - Remove package `apt -f install` - fix broken package `dpkg -i paczka.deb` - instal .deb apps `/etc/apt/sources.list` - Repo list `sudo kill [PID]` \- Kill process

`cp xyz /home/myfiles` - copy plik cp xyz to /home/myfiles `mkdir` - create a directory `rm` delete file `rm -r` delete directory with content`top` - show process `whatis <command>` - show command function a

---

*Originally published on [Degeneratos.eth](https://paragraph.com/@degeneratos-eth/linux-comand)*
