linux – Page 5 – POFTUT

How To Create Snapshot of KVM / Libvirt / Qemu Vm?

KVM  is a hyper visor used by a lot of Linux distributions. I am currently using it and very happy with it. I have most of the abilities paid hypervisors like HyperV, Vmware provides. Snapshots is picture of the VM in specified time. For example we will install new application but it can brake our … Read more

How To Set Permission For Folders and Subfolders in Linux

During daily Linux administration we generally work generally with file and directory permissions. In this tutorial we will look different examples about how to change and revert Linux file and directory permissions. There is different ways to set folder and sub folder permission in Linux but here we will describe most convenient way. Read Only … Read more

Linux History Command Tutorial with Examples

Linux history is a function of the bash that provides previously issued commands with different options. In this tutorial we will look these options. Display History To simple list history providing history command is enough. History file is located in users home directory and named .bash_history for bash shell. $ history OR another way to … Read more

10 Things To Do After Fedora Installation

Fedora is popular distribution among Linux community. I am already using Fedora too. I prefer Fedora because of its updated packages and virtualization support. If you are not using it please give a try. After installation, there are things to do in Fedora to make the user experience more smooth. These steps can be implemented … Read more

How to Install Ansible and Manage Servers?

Enterprise IT needs more than traditional IT tools. Because there are different architecture and styles in IT infrastructure. In a small company one web server is enough for all but in an enterprise company, there may be 10 – 100 web servers for the department’s different needs. Here one of the most important things is … Read more

Grep and Filter IP Address In Linux

Searching IP address in a text file or a console output may become cumbersome. This little command named grep will help you in this way. Example Data We have a file or output which includes the IP address and we want to extract just IP addresses nothing other. This file is created with a nmap … Read more

Linux Print History Command Without Line Numbers

Linux history command is used to get previously used commands by the current user. The default size for the history command is 1000 which means that last 1000 command will be stored in history. While listing history of bash line numbers are provided too. This is not expected in some situations. To get history without line … Read more

How To Create and Setup SSH Keys For Passwordless and Public Key Based Authentication In Linux?

How To Create and Setup SSH Keys For Passwordless and Public Key Based Authentication In Linux?

Ssh is a protocol designed to make network connections between hosts secure. Ssh is a defacto standard for Linux and related operating systems. Ssh encrypts the connection between sides. Ssh gives terminal access between host and server. To get a terminal there need to be an authentication process. The authentication process is generally password-based but … Read more