• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

Linux Commands

sed command to display text between two strings or keywords

July 11, 2014 by Sharad Chhetri Leave a Comment

In this post we will know about sed command to display text between two strings or keywords or words . Sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline) (Definition Reference from man page of sed). Knowledge of […]

Filed Under: Linux, Linux Commands Tagged With: linux command, sed

remove html tags by using sed command

July 10, 2014 by Sharad Chhetri Leave a Comment

In this post we are sharing tips to remove html tags by using sed command. Today, while working on migration of site from wordpress to static site, I used lots of sed command. I am sharing some sed command which are always successful for me. In html tags generally the tags are coded in this […]

Filed Under: Linux, Linux Commands Tagged With: linux command, sed

sed : find the pattern (keyword) and delete the line from file

July 6, 2014 by Sharad Chhetri Leave a Comment

sed is stream line editor utility in unix operating systems.sed is a line-oriented text processing utility: it reads text, line by line, from an input stream or file, into an internal buffer called the pattern space. Each line read starts a cycle. To the pattern space, sed applies one or more operations which have been […]

Filed Under: Linux, Linux Commands Tagged With: linux command, sed

vi : Edit file without opening it

July 6, 2014 by Sharad Chhetri 7 Comments

In this post I am sharing the trick to edit file without opening it. To achieve this task we will use vi editor. vi is very well known,popular,ultimate and awesome editor and by default available in all Unix/Linux operating system. Syntax: vi -c ‘COMMAND|wq’ /path/of/file Example: We will replace a keyword with new keyword in […]

Filed Under: Linux, Linux Commands Tagged With: linux command, vi

How to set root password on Ubuntu / Debian / Linux Mint

June 26, 2014 by Sharad Chhetri 5 Comments

FAQ : How to set root password on Ubuntu / Debian / Linux Mint Operating system ? How may I also check , the root password is working ? Answer: Ubuntu is Debian based operating system. Whereas Linux Mint is based on Ubuntu and Debian both. Set / reset root password on Ubuntu / Debian […]

Filed Under: Linux Commands, Ubuntu Tagged With: linux command, reset root password, ubuntu

grep command to remove commented lines

June 25, 2014 by Sharad Chhetri Leave a Comment

In this post we will learn how to use grep command to remove commented lines. We can also use egrep command which is extended form of grep command. As a Linux System Engineer, I mostly use some of the command. Most of the time when I am busy in playing on system, I generally meet […]

Filed Under: Linux Commands Tagged With: grep, linux command

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to page 5
  • Interim pages omitted …
  • Go to page 12
  • Go to Next Page »

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Linux Commands

Linux Tac Command : Reverse Of cat Command Output

Jpeg Image Optimization / Compress on Linux

semanage command not found in CentOS 6 and RHEL 6

type Command : Display Information About Command Type On Linux

How to find installation date and time of rpm package

yum : how to find rpm package which has certain command or file

smbpasswd command not found on CentOS 7 and RHEL 7

Explore 70+ Articles On Linux Commands

Always Useful Tips And Tricks

How to backup and restore iptables on Linux systems

configure: error: C++ compiler cannot create executables

4 Different commands to find system uptime in linux

How to see system load average in terminal with graphical representation

postgres database backup script using database user password inside

How to page scroll up/down in Linux terminal

Keep logs of user after sudo su – : Secondary Logging

Explore 90+ Article On "Linux Tips And Tricks"

You Might Like These Articles!

Internal External Command

What is Linux/Unix Internal And External Command

Linux basic command

Linux Basic Commands For Every Beginner

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission but Schools and Colleges can do in their Private Network
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy