Working with 7zip compression tool on Linux

7-Zip is a file archiver with a high compression ratio. It is free software with open source.You can use 7-Zip on any computer, including a computer in a commercial organization. You don’t need to register or pay for 7-Zip. 7-zip support multiple formats including:Packing and Unpacking for 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM …

File Compression & Decompression on Linux

One of the basic file operation performed while working on Linux is file compression and decompression. Compression reduces the size of the file depending on the type of the file. Reduced file size helps when moving files between different servers or also If you want to free some of your hard disk. Here I have…

How to Change SSH Login Message

Edit the /etc/ssh/sshd_config file. $ sudo vim /etc/ssh/sshd_config Uncomment or add the line Banner /etc/banner Banner /etc/banner /etc/banner is just a file name it can be anything. Create the file /etc/banner $ sudo vim /etc/banner Add and save whatever message you want to display to the file /etc/banner This is dev server for www.example.comDocument Root:…

Configure Static IP Address on Ubuntu 18

Recently I have been working with Ubuntu 18, there has been a lot of changes but one of the biggest change is how networking is managed and configured. When you cat /etc/network/interfaces file it tells us to use Netplan. Netplan is the new network configuration management tool that was introduced in Ubuntu 17.10. With Netplan…

How to configure Static IP Address on Ubuntu

There are two ways in which a system can get its IP address first is  DHCP server second if you configure it statically. By default when Ubuntu is installed it takes IP from the DHCP server. But we need static IP to connect to server for SSH or to access any other services that will…

Sticky Bit Permissions with Linux

This is a special kind of permission in Linux think of a situation where you need a conman shared folder where all users can create files but these users can only modify the files which are owned / created by them. It is actually possible. This can be achieved by setting Sticky Bit on that…

Managing file and Directory Permissions in Linux

Permission are crucial part of every system. After creating files and directories you need to set the proper permissions on file and directories so that they can be accessed by required users/groups. In Linux permissions are managed by chmod and chown commands. Permission in Linux In Linux there are Following three basic Permissions: ReadWriteExecute While…

Best Practical examples of using “usermod” Command

In Linux creating new user accounts is one thing managing and modifying them overtime according to needs is another, this is when usermod command comes in picture, usermod command can be used to modify all kind of properties of a user account including changing home directory, shell, making account active or inactive etc.   In…

Best Practical examples of using “useradd” Command

User management is one of the most important part of Linux administration. Its everyday job for Linux administrator to create, delete, activate, deactivate and perform other modification operations on users accounts. adduser / useradd are the commands that are used to manage user accounts. adduser command is more interactive it will as you for the…

Users and Groups Management in Linux

User and group management is one of the most basic and crucial part of Linux administration. It covers things like creating, altering. enabling and disabling users, adding or moving users into different groups, creating groups, defining the permissions for users and groups. This article is about how you can manage users and groups in Linux.As…