Found 1436 Articles for Linux

How to install gnome desktop on centos rhel 7 using yum command

Lakshmi Srinivas
Updated on 21-Oct-2019 08:50:46

1K+ Views

GNOME is a totally intuitive and user friendly desktop environment for CentOS and RHEL 7.x based system. The latest version of GNOME Desktops are GNOME 2 to GNOME 3 and the GNOME Shell desktop. Most of the users who prefer traditional desktop environments can get it via GNOME’s classic mode. It is also fully configurable with extensions. If you have done basic installation, this article will give insights on – how to install Gnome GUI on a CentOS 7 or RHEL 7 using a command line options.Installing Gnome GUITo install Gnome GUI, use the following commands-$ yum grouplistThe sample output ... Read More

How to install lynis linux auditing tool in centos

Lakshmi Srinivas
Updated on 21-Oct-2019 07:46:27

433 Views

Lynis is an open source and a powerful auditing tool for Unix-like operating systems. It scans system for protection knowledge, common approach know-how, any pre-installed software’s and to be had knowledge, configuration mistakes, safety disorders, consumer accounts without password, unsuitable file permissions, firewall auditing and so forth.Understanding LynisLinux performs individual test cases to secure your Linux system. To display test report, follow the below cases –Determine operating systemSearch for available tools and utilitiesCheck for Lynis updateRun tests from enabled pluginsRun security tests per categoryReport status of security scanDuring the test cases, all scanned details are stored in a log file ... Read More

How to install docker on centos 7

Lakshmi Srinivas
Updated on 21-Oct-2019 07:34:12

309 Views

Docker is an open-source project that automates the deployment of application inside the software container. The container allows the developer to package up all project resources such as libraries, dependencies, assets etc. Docker is written in Go Programming language and is developed by Dotcloud. It is basically a container engine which uses the Linux Kernel features like namespaces and control groups to create containers on top of an operating system and automates the application deployment on the container.Installing DockerBefore installing Docker on CentOS, it is required to update CentOS packages. To update the packages, use the following commands-# yum -y ... Read More

How to use diff Command in Linux

Pradeep Jhuriya
Updated on 20-Jan-2023 15:27:00

6K+ Views

Introduction The Linux operating system is based on a robust set of command line tools that allow users to easily manage and control the system. One of the most powerful and widely used command line utilities is the "diff" command. The "diff" command in Linux is used to compare the contents of two files line by line and show the difference between them. This command-line utility is essential for developers and system administrators to identify changes to code or configuration files. In this article, we'll take a closer look at the diff command and its various options and usage scenarios. ... Read More

How to optimize and compress jpeg or png images in linux

Lakshmi Srinivas
Updated on 21-Oct-2019 07:19:52

312 Views

Do you want to optimize the images or compress images without losing its original quality before uploading them to any cloud or local storages? There are plenty of GUI applications or web applications which are available that will help you to optimize the images. This article helps you to optimize and compress JPEG or PNG images in Linux Command Line.Using jpegoptimjpegoptim is a simple utility to optimize JPEG images without losing quality. It provides lossless optimization and “lossy” optimization based on the setting with a maximum quality factor.To install jpegoptim , use the following command –$ sudo apt-get install jpegoptimThe sample ... Read More

How to download mp3 tracks from youtube video using youtube dl

Lakshmi Srinivas
Updated on 21-Oct-2019 07:09:34

3K+ Views

There are several ways to download MP3 tracks from Youtube such as web applications, windows applications and command line tools in Linux. Youtube-DL is one of the best available tools in the market to download tracks from youtube. It is developed in Python programming language. This program can be used in almost all Linux distributions. If you haven’t heard about this tool then this article is for you.Installing Youtube-DLTo install youtube-DL, use the following command –$ sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dlThe sample output should be like this –--2016-03-08 11:41:21-- https://yt-dl.org/downloads/latest/youtube-dl Resolving yt-dl.org (yt-dl.org)... 95.143.172.170, 2001:1a50:11:0:5f:8f:acaa:177 Connecting to yt-dl.org (yt-dl.org)|95.143.172.170|:443... connected. HTTP request ... Read More

How to find and sort files based on modification date and time in linux

Lakshmi Srinivas
Updated on 21-Oct-2019 06:58:26

1K+ Views

While working with computers, we have a habit of saving a lot of information in our computers such as files, folders, etc. Normally desktop looks like a mess but the problem arises when users want to search a modified file on a particular date or time. There are simple commands which are available in Linux to search a modified file. This article describes “How to Find and Sort Files Based on Modification Date and Time in Linux”.List Files Based on Modification TimeThe list command shows a list of files, directories, information about date and time of modification or access, permissions, ... Read More

How to find and kill running processes in linux

Lakshmi Srinivas
Updated on 21-Oct-2019 06:47:13

348 Views

Do you think Linux computers will automatically handle process by itself? Sometimes administrators need to handle processes. Process management is one of the important aspects for Linux administrators. This article describes”How to find and kill running processes in Linux”.Linux creates a process whenever a program is opened, either by the user or by Linux. This process contains information about “how a program is running”. When a process or application is opened , it keeps on changing from one state to another and it usually stays in either of the following states –Running State – It means the process is executing or ... Read More

How to show historical and statistical running time of linux systems

Lakshmi Srinivas
Updated on 21-Oct-2019 06:44:54

89 Views

The important part of the system administrators is to monitor and examine for a way long Linux system has been strolling. It is a just right concept to hold tracking up time of the Linux systems to optimise the system assets. This article describes Tuptime tool that can help System Administrators to know for how long a Linux machine has been up and running.Tuptime tool is used for reporting the historical and statistical running time (uptime) of Linux systems, which tracks it between restarts.FeaturesRegister the first boot timeTracks System startupsCounts System shutdownsCalculates uptime and downtimeCalculates largest, average, low uptime and downtimePrint ... Read More

How to use rainbow colors in linux terminal

Lakshmi Srinivas
Updated on 21-Oct-2019 06:38:17

1K+ Views

This article is for those who believe that Linux command line is boring and there is not much fun. To create an interesting colorful setting lolcat utility can be used, which produces rainbow colors in Linux terminal. Lolcat utility works for Linux, BSD and OSX which concatenates like similar to cat command.Installing LolcatLolcat utility is one of the gem in Ruby programming language. Hence, if you would like to practice this tip, it is essential to install the latest version of Ruby.To install Ruby use the following command –$ sudo apt-get install rubyThe sample output should be like this –Reading package ... Read More

Advertisements