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 chef.rpm -- install
rpm -qa -- list all the packages
rpm - e chef -- remove
Ubuntu
--------
dpkg -i chef.dpkg -- 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
chef.log
server1 scp/a/chef.log root@server2:/b --? copies /a/chef.log from server1 to server2 to /b
1)
server1 server2
/a /bl.log
server2
2) scp root@server2:/b/1.log /a -- copies /b/1.log from server2 to server1
ifonfig -- to list the ipaddress
ipconfig -- windows
scp /b/1.log 10.0.0.41:/
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
On this page of the site you can watch the video online Linux Commands - Red Hat | Ubuntu | Copying Files from One Server to Another Server | ssh, scp with a duration of hours minute second in good quality, which was uploaded by the user Online Tutorial 15 April 2019, share the link with friends and acquaintances, this video has already been watched 8,889 times on youtube and it was liked by 71 viewers. Enjoy your viewing!