Linux Commands - Red Hat | Ubuntu | Copying Files from One Server to Another Server | ssh, scp
Linux Commands - Red Hat | Ubuntu | Copying Files from One Server to Another Server | ssh, scp
#linuxtutorials #linuxcommands #devops
RedHat
------
redhat/suse/fedora/centos --- rpm -- .rpm
ubuntu --- dpkg --- .dpkg
rpm -ivh -- install
rpm -qa -- list all the packages
rpm - e chef -- remove
Ubuntu
--------
dpkg -i -- install
dpkg -l -- list
dpkg -r chef -- remove
man pages -- to check the usage of a command
man ls --
rpm --help --- to check syntax
wget url -- downloads the package to linux machine
1 ) download to windows
copy it linux
winscp -- too copy
2 ) directly download to linux -wget
linux machine1 linux machine2
log file
rpm file
ftp - file transfer protocol
scp -- secure copy protocol
server1 server2
/a /b
server1 scp/a/ root@server2:/b --? copies /a/ from server1 to server2 to /b
1)
server1 server2
/a /
server2
2) scp root@server2:/b/ /a -- copies /b/ from server2 to server1
ifonfig -- to list the ipaddress
ipconfig -- windows
scp /b/ :/
1) /etc/ssh/sshd_config
permitrootlogin yes
service ssh restart -- restart ssh
password -- to set a password
useradd -d /home/user1 -s “/bin/sh“ -c “comment“ -m -- to create user cat /etc/password
password
su - root@server2
su - user --
ssh -l user1 ip/hostname --
base -- ubuntu/xenial64
vagrant up --
vagrant ssh
sudo su -
redhat package manager
user
home directory
shell
ksh
shell
bash
comment
1 view
1512
303
3 months ago 02:01:29 1
Ultimate Mr. Robot Original TV-Series Score Music Mix for Hacking, Coding & Programming
3 months ago 00:16:04 11
30+ команд Docker, которые вы Должны Знать!
3 months ago 00:38:14 1
Как ломали PlayStation
3 months ago 00:10:21 1
Базовые консольные команды навигации в windows, linux\ mac os x | Заметки оцифрованного кота
3 months ago 00:13:09 1
🎥 How to open Sony a7S III 10-bit 4:2:2 video in Da Vinci Resolve Free || Panasonic Lumix DC-GH5
3 months ago 00:17:03 1
Plasma 6.1: the BEST LINUX DESKTOP (in my opinion)
3 months ago 00:07:35 1
HOW TO CLONE A WEBSITE AND OWN IT BY EDITING THE NECESSARY DETAILS TO YOURS
3 months ago 00:04:03 1
How To Clone Any Website Free | Copy Full Website
3 months ago 01:26:56 1
X-COM: UFO Defense 23 - Больше ученых и выход второй команды.
3 months ago 00:38:57 1
Linux Mint 21.3 Cinnamon – Что нового?
4 months ago 00:10:11 1
Analysez votre système Linux avec Kaspersky Removal Tool !
4 months ago 00:11:49 1
GROMACS Installation on Ubuntu Linux : A Step-by-Step Guide
4 months ago 00:13:02 1
How to Install Ubuntu on Windows 11 (WSL)
4 months ago 01:21:05 45
X-COM: UFO Defense 12 - Новые лица в команде.
4 months ago 00:11:33 1
CS 2 BOOST Fps, Fix LAG and Fix STUTTERING
4 months ago 00:10:28 1
Команды для резервного копирования в терминале Linux
4 months ago 00:10:17 1
3. Основы терминала Linux. Команды изменяющие права доступа в Linux.
4 months ago 00:12:34 1
2. Основы терминала Linux. Команды для работы с файлами и папками
4 months ago 00:06:45 1
1. Основы терминала Linux. Команды для навигации
5 months ago 00:32:14 1
The ULTIMATE Raspberry Pi 5 NAS
5 months ago 00:34:00 1
The Only Video You Need to Get Started with Neovim
5 months ago 02:48:41 2
Building Linux From Scratch () bootable disk image using just one command