smartctl

Smartctl – Monitoring & Analysis tool for Hard drive

Posted by & filed under .

Smartctl (Self-Monitoring, Analysis and Reporting Technology) is a command line utility or a tool in UNIX like operating system that perform SMART tasks such as printing the SMART self-test and error logs, enabling and disabling SMART automatic testing, and initiating device self-tests. Smartctl is useful on physical Linux servers where smart disks can be checked […]

Screen-after-login

SUSE Linux – Zypper Command Examples

Posted by & filed under .

Zypper is command line interface in SuSE Linux which is used to¬† install, update, remove software, manage repositories, perform various queries, and lot more. In this article we will discuss different examples of zypper command . Syntax : # zypper [–global-opts] <command> [–command-opts] [command-arguments] The components mentioned in brackets are not required. The simplest way […]

wget-resume-download

Linux/UNIX wget command with practical examples

Posted by & filed under .

wget is a Linux/UNIX command line file downloader.Wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies.Wget is non-interactive, meaning that it can work in the background, while the user is not logged on. In this post we […]

ifconfig-command-in-editor

How to run Unix Commands in vi/vim editor

Posted by & filed under .

There are some scenarios where unix admin wants to run unix commands and insert the output of unix command in vi editor without leaving it. This can be possible using below steps : :!UNIX_command Example : Run the ifconfig command within the /etc/hosts file. linuxtechi@mail:~$ sudo vi /etc/hosts Insert UNIX Command Ouptut in vi editor […]

xarg

Linux/UNIX xargs command examples

Posted by & filed under .

xargs is a command in UNIX like System that reads items from the standard input, delimited by blanks (which can be protected with double or single quotes or a backslash) or newlines, and executes the command (default is /bin/echo) one or more times with any initial-arguments followed by items read from standard input. Blank lines […]

datafile for awk

Linux/UNIX Awk Command Tutorial with Examples

Posted by & filed under .

AWK  Stands for 'Aho, Weinberger, and Kernighan' Awk is a scripting language which is used  for  processing or analyzing text files. Or we can say that awk is mainly used for grouping of data based on either a column or field , or on a set of columns. Mainly it's used for reporting data in […]

youtube-dl-file-formats

youtube-dl – download Youtube videos from linux command Line

Posted by & filed under .

Youtube-dl is a small command-line program to download videos from YouTube website and other sites that don't provide direct links to the videos served. youtube-dl allows the user, among other things, to choose a specific video quality to download (if available) or let the program automatically determine the best (or worst) quality video to grab. […]

Reduce size of ext3/ext4 LVM partition in RHEL & CentOS

Posted by & filed under .

Sometimes when we are running out of disk space in our linux box and if partition created on LVM , then we can make some free space in the volume group by reducing the LVM using lvreduce command.In this article we will discuss the required steps to reduce the size of LVM safely. Scenario : […]

Extend or increase LVM Partition’s size using lvextend command

Posted by & filed under .

Resizing the file system size is an important task of Linux admin’s profile. In Linux , LVM(Logical Volume Manager) provides the facility to increase and reduce the file system size. In this tutorial we will discuss the practical examples of lvextend. Scenario¬†: Suppose we have a LVM partition(/home) and running out of space, we can […]