Linux Articles

Page 131 of 134

How to encrypt and decrypt a file using gpg command on linux

Samual Sam
Samual Sam
Updated on 22-Oct-2019 6K+ Views

There are many choices on hand to secure your data. However, GPG provides the additional benefit to encrypting your data on a priority basis and transfers them securely over the internet. This article explains about – How to Encrypt and Decrypt a file using GPG command on Linux.To get more information about GPG, use the following command –$ gpg -hThe sample output should be like this –gpg (GnuPG) 1.4.20 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO ...

Read More

The best way to compress and extract files using the tar command on linux

Samual Sam
Samual Sam
Updated on 22-Oct-2019 728 Views

Do you frequently compress and extract files on Linux/Ubuntu? Have you heard about.tar extension? Then this article is for you to learn about compress and extract files using the tar command with examples.What is .tar?In computing, tar is an application utility for collecting many records into one archive file, most likely known as a tarball, for distribution or backup functions .Tar was at the beginning developed in the early days of Unix for the intent of backing up records to tape-based storage. It used to be later formalized as a part of the POSIX standard.To get more information about tar, ...

Read More

Great tools to check linux disk partitions and usage in linux

Chandu yadav
Chandu yadav
Updated on 22-Oct-2019 606 Views

Are you working as a system admin, then you should know these tools to manage disk space. This article explains about how to check Linux Disk Partitions and Usage in Linux.FdiskFdisk is a text based utility. By utilizing fdisk, you can create a brand new partition, delete the present partition, or exchange existing partition.To get the more information about fdisk, use the following command –$ fdiskThe sample out should be like this –Usage: fdisk [options] change partition table fdisk [options] -l [] list partition table(s) Display or manipulate a disk partition table. Options: -b, --sector-size       ...

Read More

Learn how to find and list down recently modified files in linux

Samual Sam
Samual Sam
Updated on 22-Oct-2019 432 Views

Are you working with thousands of files? Do you forget the recently modified documents in Linux? but know where you have saved those files.? Then, this article is for you to identify and list down recently modified records in Linux.Using Find CommandThe following command is helpful to identify sorted files in the reverse order of update time-$ find /etc -type f -printf '%TY-%Tm-%Td %TT %p' | sort -rThe sample output should be like this –2016-12-22 11:10:18.2928833250 /etc/cups/subscriptions.conf 2016-12-22 11:09:18.1987314780 /etc/cups/subscriptions.conf.O 2016-12-20 10:38:47.1524556320 /etc/init.d/.depend.stop 2016-12-20 10:38:47.1524556320 /etc/init.d/.depend.start 2016-12-20 10:38:47.1524556320 /etc/init.d/.depend.boot 2016-12-19 13:28:14.3963910250 /etc/ld.so.cache 2016-12-19 13:28:05.8242856890 /etc/mailcap 2016-12-19 13:24:12.4493955340 /etc/apt/sources.list.d/rvm-ubuntu-smplayer-xenial.list 2016-12-19 13:24:12.4493955340 ...

Read More

How to install and configure puppet 4 on ubuntu 16.04

Samual Sam
Samual Sam
Updated on 22-Oct-2019 258 Views

In this article, we will learn – How to install and configure the Puppet 4 on Ubuntu 16.04. Puppet is a configuration management tool which helps in the automation of tasks with respect to system administrators. These type of tools will save a lot of time and effort too.Pre-requisitesHere in this article, we need at least two to three Ubuntu machines with the following requirements.All the machines with a non-root user with Sudo permissions on the machine.One Puppet masterOne or two puppet agents to test the configuration.Configuring the Host FilesAll the server and clients needed to communicate with the host ...

Read More

Increase number of maximum open files in linux

Samual Sam
Samual Sam
Updated on 21-Oct-2019 1K+ Views

If you are working on Linux, then you must have encountered many-a-time with “Too many open files (24)” error. Linux operating system provides a way of limiting the amount of files that can be used by every user. This article provides insights on how to increase the number of open files or file descriptors in Linux operating system.The ulimit command has the control over shell or processes and it should require a login as the root user. The ulimit command is used to set the file limits that apply only to your current session.Use the following command to display the ...

Read More

Prevent fork bomb by limiting user process in linux

Samual Sam
Samual Sam
Updated on 21-Oct-2019 427 Views

A Fork Bomb is a denial-of-service (DoS) attack against a Linux based system. It makes use of the fork operation to create infinite processes and is called as “Rabbit Virus or wabbit”. The system process continually replicates itself to deplete available system resources, causing resource starvation, slowing or crashing the system. This article gives insights on – how to prevent a fork bomb attack in Linux system.Fork Bomb uses a bash code and gets executed repeatedly. Linux system admin often uses bash function to test the user process limitations and this specific process can be configured in /etc/security/limits.conf file. Once Fork ...

Read More

Monitors linux server performance remotely using web browser

Samual Sam
Samual Sam
Updated on 21-Oct-2019 446 Views

Are you looking for speedy server statistics monitoring script? If yes, then this article is for you. Here, we will be explaining about Linux-dash which is a memory efficient, low resource, easy to install, server statistics monitoring script written in PHP.An internet static web page allows you to rearrange various widgets as you want. This script displays residing records of your server, including RAM, CPU, Disk space, community understanding, mounted programs, going for walks approaches and rather more.Linux Dash FeaturesLinux Dash Features should be like this –It is a lightweight and responsive web-based interface for monitoring server resourcesEasy to install ...

Read More

How to add a user to the group on linux

Samual Sam
Samual Sam
Updated on 21-Oct-2019 1K+ Views

The concept of “group” may be confusing to many Linux users. Linux operating system is designed to allow more than one user to have access to the Linux system at a time. Linux/Unix operating systems provides multitasking abilities to its multi-users. In order to do this task, we need to assign a group to each Linux user. This article gives step by step process on – how to add a user to the group in Linux system.Create a New UserTo create a new user using Linux command line, use the following command –$ sudo useradd tutorialspointThe above command is used ...

Read More

How to limit network bandwidth on linux

Samual Sam
Samual Sam
Updated on 21-Oct-2019 8K+ Views

Have you ever shared network bandwidth with multiple devices? If you have ever been in a position where one application consumed all your traffic, then either you are a system admin or just a Linux user, you will need to discover how to control the upload and download speeds for applications to make sure that your bandwidth is not occupied entirely by a single application. This article gives an idea about how to limit network bandwidth on Linux.Limiting Network BandwidthOne of the easiest way to control over the network traffic is via command line tool called “trickle“. It can be ...

Read More
Showing 1301–1310 of 1,338 articles
Advertisements