Linux Tutorials on the topic “shell”
-
Linux Uniq Command Tutorial for Beginners (10 examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 2
The uniq command reports or even deletes repeated lines in a file. In this article, we will discuss uniq through easy to understand examples.
-
How to use markers and perform text selection in Vim
Author: Himanshu Arora • Tags: linux, shell • Comments: 5
When using GUI-based text/source code editors, some features are a given, such as selecting text. I mean, most of us won't even consider this a feature anymore. But that's not the case with command line based editors like Vim. Specifically for Vim, when only using keyboard, you'll have to learn certain commands in order to select text the way you want. In this tutorial we will discuss this feature as well as the 'marks' feature of Vim in detail.
-
Linux Basics: How to Download Files on the Shell With Wget
Author: howtoforge • Tags: linux, shell • Comments: 1
Wget is a popular and easy to use command line tool that is primarily used for non-interactive downloading files from the web. wget helps users to download huge chunks of data, multiple files and to do recursive downloads. It supports the download protocols (HTTP, HTTPS, FTP and, FTPS). The following article explains the basic wget command syntax and shows examples for popular use cases of wget.
-
-
How to let users securely edit files using sudoedit on Linux
Author: Himanshu Arora • Tags: centos, debian, fedora, linux, opensuse, shell, ubuntu • Comments: 5
Suppose you are a system administrator in a company where teams mostly work on Linux with limited privileges. Now imagine a situation where members of one of the teams - as part of some new work - need to frequently edit a file that requires superuser privileges. What would you do?
-
How to perform pattern search in files using Grep
Author: Himanshu Arora • Tags: centos, debian, fedora, linux, opensuse, shell, ubuntu • Comments: 1
This article focuses on some advanced features of the grep command like case insensitive search, displaying certain non-matched lines with line containing matched string, print matched strings in grep, and to display the position of a match in grep.
-
How to take screenshots on Linux using Scrot
Author: Himanshu Arora • Tags: centos, debian, desktop, fedora, linux, opensuse, shell, ubuntu • Comments: 6
If you are looking for an even better command line utility for taking screenshots, then you must give Scrot a try. This tool has some extra features that are currently not available in gnome-screenshot. In this tutorial, we will explain Scrot using easy to understand examples.
-
How to make file-specific setting changes in Vim using Modeline
Author: Himanshu Arora • Tags: linux, shell • Comments: 0
While plugins are no doubt one of Vim's biggest strengths, there are several other functionalities that make it one of the most powerful and feature-rich text editors/IDEs available to Linux users today. One of these functionalities is the ability to make file-specific setting changes. This ability can be accessed using the editor's Modeline feature.
-
How to do line-by-line comparison of files in Linux using diff command - Part II
Author: Ansh • Tags: centos, debian, linux, opensuse, programming, shell, ubuntu • Comments: 1
Assuming that you already know the basic usage of the diff command that we explained in the first part of this diff command tutorial series, in this tutorial, we'll discuss the various command line options the tool provides, through some easy to understand examples.
-
Expanding a software RAID on Debian by migrationg to new large hard disks
Author: Bellucci Stefano • Tags: debian, desktop, linux, shell, storage • Comments: 1
This tutorial shows you the steps to replace two old hard disks with new (larger) ones when using a software RAID on Debian.
-
How to practically use your Linux terminal (part 2)
Author: Bill Toulas • Tags: linux, shell • Comments: 0
Quite a while ago, we had published a post that showcased four examples of how Linux users can utilize their terminal to perform simple daily tasks and fulfill common everyday use needs. Of course, the use case possibilities for the Linux terminal are nearly endless, so we’re naturally back for a second part containing more practical examples.