Skip to content

Debian CLI

General CLI Commands

Archives - rar & zip

How to Create, Extract and List RAR Files in Linux

rar

Installation

bash
apt install rar unrar

Creation

bash
rar a tecmint.rar tecmint

Extraction

bash
unrar x tecmint.rar

List Files

bash
unrar l tecmint.rar
zip

How to Unzip Files in Linux

Installation

bash
apt install zip unzip

Creation

bash
zip gfg.zip first.txt second.txt

Extraction

bash
unzip latest.zip

To suppress the printing of messages, use the -q option:

bash
unzip -q filename.zip

List Files

bash
unzip -l latest.zip

SSH

ssh remote host identification has changed

Node.js

How To Install Node.js on Debian 10

bash
apt update
bash
apt install nodejs
bash
node -v

This is optional, npm should be installed with Node.js.

bash
apt install npm
bash
npm -v

Credit @Wayne19980