RedHat – Page 59 – POFTUT

Category: RedHat

0

How Convert Files Between Ascii and Utf-8

I have a java code and I want to convert it into Utf-8. How can I do it in console. By the way I have multiple files so it need to be do multiple conversion. Getting Info About Character Set We start by getting information about character set. We need to be sure files character set to convert accordingly.

file is very useful tool to get information about files like...

0

How To Delete Route In Ubuntu Linux?

I have some route in my routing table. But I want to delete one route from routing table. How can accomplish this? List Existing Routes To get detailed information about route that will be removed we list the existing routes in our system.

Remove Specific Route This command can be run all modern Linux distributions like Kali, Debian, Ubuntu, Fedora, CentOS. We remove the route by giving specific details...

0

How To Add or Change Default Route or Default Gateway in Ubuntu, Linux?

Systems connected to the network will generally access to the internet. In order to access to the internet they need some network configuration like gateway or default gateway. In this tutorial we will examine how to add or change default gateway in Ubuntu, Debian, CentOS, Fedora, Mint, Kali operating systems. List Routing Table Routing table is used to route IP network communication. Hosts generally uses default route to send packages...

0

How To Add New Route In Ubuntu, Linux?

I have a box with Ubuntu Linux and I want to add new route to my box. Because I want to access external network from a different interface and network. How can I add new route to my Ubuntu, Debian, Fedora, Cent-OS Linux box? Because ip-tools is the same for all of this Linux distributions. Display Existing Routing Table First we should display existing routing table. Our target network should...

0

Awk Print Tutorial With Examples

Awk is a stream type programming language. Awk can edit given text ant provided new text according to instructions. We will look popular usages of Awk in this  tutorial. There are alternative awk implementations like below Nawk Gawk Awk Syntax Awk is line oriented so by default provided text is processed line by line. Awk is generally used to search a pattern and make actions against it. We can call...

1

Linux tar Command and How To Tar A Directory

Old days of Unix to make backups into tape archives tar utility was used. The days past and Linux become popular in UNIX world. But the popularity of tar is never ended. tar is used compress and extract files. We will look usage examples of tar in this tutorial. Tar command is similar to the Windows zip. We can call this for Linux zip folder. There are alternative ways to...

1

Linux ls Command Tutorial With Examples

Linux operating system provides a lot of different functionalities with different tools and commands. ls is the most used command in linux. ls is the arm and leg of Linux system administrator. ls provides a lot of different functionalities with different options. Man ls Man page of ls command can be retrieved like below.

List Files We can list files and folders simple without providing any parameter. This will list all files except hidden files...

0

How To Remove Files Older Than 1 Day/1 Week/1 Month Recursively

We are decent with scripting language bash and not now hot to remove older files for example 1 day. rm command do not have this type of option to use easily. I think adding this type of feature make a lot of system administrators more happy. Remove Older Than 1 Day We will use following find command example which is explained in detail below.

find is the command we...

0

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 system. We want to backup our system and if something bad happens we want to...

0

How To Use Linux df Command with Examples?

One of the main duty of System Administrator is monitoring and checking the disk usage. According to situation take action against it. df command is used to file system disk space usage. It is practical to see disk usage in a fast and clean way. Getting Help About df We can get help about df with –help parameter. Keep in mind that -h is used for formatting operation. How To Use Linux...

Enjoy this blog? Please spread the word :)