Categories
Linux

How to Find and Replace Text in Vim on Linux

vim is one of the most popular file editors in Linux. Part of the popularity is due to the command line mode of vim, which enables users, especially software developers and advanced users to optimize time for file modification operations. In this article, we will see how to find and replace text in vim command […]

Categories
Linux

How to Delete Files and Folders from Linux Command Line

Linux has many commands for the removal of files and directories. These programs use different kinds of algorithms to delete files from different file systems. In this article, we will see how to delete files and folders from Linux command line using rm and rmdir commands. Delete Files using rm Use rm command to remove […]

Categories
Linux

How to Use SCP Command to Securely Transfer Files in Linux

SCP, i.e., Secure Copy is a remote file transfer program for Linux. It copies files by establishing an SSH connection and hence uses the authentication and security offered by SSH. In this article, we’ll show you how to copy files remotely using SCP. Note that, the user needs to know the password of the user […]

Categories
Linux

How to Create a Bootable USB Flash Drive in Linux

Traditionally, Operating Systems used to install from CDs or DVDs, including Linux distributions. However, now we have USB flash drives, which are much faster and easier to use than CDs/DVDs. Hence they are being used extensively as boot devices for operating system installations. Let us see how to create a bootable USB flash drive for […]

Categories
Linux

How to Use Sed in Linux

Sed stands for stream editor. It is a command line based editor for Linux. Popular use of sed is for editing file(s) as part of an automation script in Linux, as usual editors require active user input and cannot edit files outside of the editor screens. Sed is most commonly used for doing a find […]

Categories
Linux

How to Run Speed Tests from Linux Command Line using Speedtest-cli

Speedtest.net is a service to test the speed of your Internet connection. It uses a nearby speedtest.net server to download a file on the computer and calculate Internet speed. The tool speedtest-cli allows you to access this service from the Linux command line as well. Installation To install speedtest-cli on Ubuntu and Debian, run: Note: […]

Categories
Linux

How to Get Wikipedia Article Summaries in Linux Command Line

Wikipedia has now become the go-to encyclopediac ecosystem on the Internet. Edited, maintained and supported by millions all over the world, it is the most successful decentralized information creation platform. Increasing strictness over the years on citing references has ensured reduced vandalism and promotional content. The node package wikit offers a way to fetch and […]

Categories
Linux

How to Use Grep Command in Linux

grep program is one of the most commonly used text processing programs in Linux. It is used to search for a substring or a string pattern in files. Let us see how to use grep and what options are available. Consider the contents of a text file: To search for string fox in this file, […]

Categories
Linux

How to use SSH in Linux

Secure Shell, or SSH in short, is a remote connection protocol in Linux as well as other operating systems. It was first introduced as a replacement for telnet, which did not encrypt password information over the remote connection, and hence can be vulnerable to even simplest of attacks. SSH on the other hand uses advanced […]

Categories
Linux

How to Fix Brightness Keys Not Working in Ubuntu

Linux distributions like Ubuntu have always faced the problem of compatibility with different devices. Although lately most of these problems have been fixed in newer releases, they still exist in older versions for particular type of devices. One such problem which is widely faced by many Ubuntu users is that of non working “Brightness Control” […]