Basic concepts of linux

Day 2
Hello everyone welcome back !!!
Myself Swanik Santosh Gudekar and I am back with my blog. This is the second blog of Linux series. Today I attended the second session conducted by Master Pranav Jambare. It was a fun and exciting session.
POINTS COVERED IN THIS SESSION :
Remote Copying Tools
Archive and Backup
User Management
Remote Copying Tools :
Remote copy (RCP) is a command used in Unix operating systems to remotely copy one or more files between machines. The files are transferred via the TCP/IP protocol.
Some Remote Copying Tools are as follows :
1. SCP :
The SCP command stands for secure copy.
Allows the secure transfer of files between the local host and the remote host or between two remote hosts.
SYNTAX : scp[filename][username]@[IP]:[destination]
2.RSYNC :
RSYNC stands for Remote Synchronization.
The Linux RSYNC command transfers and synchronizes files or directories efficiently between a local machine, another host, a remote shell, or any combination of these.
Anyone working with Linux based systems should use this powerful command to improve their productivity.
SYNTAX : rsync -av[filename][username]@[IP]:[destination]
3.STFP :
SFTP stands for Safe File Transfer Protocol.
SFTP is part of the SSH protocol designed to securely transfer files between remote systems.
It allows users to view, manage, and change file and directory permissions on remote systems.
SYNTAX : sftp[username]@[IP]
Archive Tools :
Archival software tools ensure that data is stored in an organized way and preserved in its original context for the long term. Most companies use archiving software for email, instant messaging, and social media data compliance and retention.
Some Archive Tools are as follows :
1.gzip :
SYNTAX : gzip[filename]
Normal : gunzip[filename].gz
2.xz :
SYNTAX : xz[filename]
Normal : unxz[filename].xz
3.bzip :
SYNTAX : bzip[filename]
Normal : bunzip[filename].bz2
Backup :
Data backup software is a software solution that is installed on your computers, devices, and systems. Its primary function is to copy and save your data to an external source. This could be either a drive, server, data center or the cloud.
Some Backup Tools are as follows :
1.Create tar file :
- SYNTAX : tar -cvzf [Backupfile][File1][File2]
Here,
c - Create
v - Verbose
z - Zip
f - File
2.Extract tar file :
- SYNTAX : tar -xvf [Backupfile][File1][File2]
Here,
x - Extract
v - Verbose
f - File
User Management :
User management is a system to handle activities related to individuals' access to devices, software, and services. It focuses on managing permissions for access and actions as well as monitoring usage. Functions of user management include: Providing users with authenticated access.
User management include following task:
Add User
SYNTAX : useradd<username>
Verify user
SYNTAX : id<username>
Delete user
SYNTAX : userdel<username>
Manage the password policy
SYNTAX : cat /etc/passwd| tail -1
Change / Restrict user
SYNTAX Restrict : vi /etc/passwd
SYNTAX Change : su -<username>
Lock and unlock the user
SYNTAX Lock : usermod -L<username>
SYNTAX Unlock : usermod -U<username>
Adding group
SYNTAX : addgroup<groupname>
Add user to group
SYNTAX : addgroup -G<groupname><username>
Deleting group
SYNTAX : delgroup<groupname>
Change the Id of the user
SYNTAX : usermod -u<new_id><username>
These were the topics covered by Master Pranav Jambare in the Second session of Linux.




