Skip to content
sharadchhetri
  • Home
  • Linux Commands
  • ResourcesExpand
    • Learn Linux
  • My Projects & WorkExpand
    • My Nagios Plugin
    • My Dockerhub Repo
    • My WordPress plugins
    • My Github Repos
  • AboutExpand
    • Privacy Policy
    • Contact
sharadchhetri
  • remove html tags by using sed command
    Linux | Linux Commands

    remove html tags by using sed command

    BySharad Chhetri July 10, 2014December 10, 2024

    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…

    Read More remove html tags by using sed commandContinue

  • sed : find the pattern (keyword) and delete the line from file
    Linux | Linux Commands

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

    BySharad Chhetri July 6, 2014December 10, 2024

    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…

    Read More sed : find the pattern (keyword) and delete the line from fileContinue

  • vi : Edit file without opening it
    Linux | Linux Commands

    vi : Edit file without opening it

    BySharad Chhetri July 6, 2014December 10, 2024

    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…

    Read More vi : Edit file without opening itContinue

  • mysqldump: Got error: 145: Table ‘./DB/table-name’ is marked as crashed
    Linux | mysql

    mysqldump: Got error: 145: Table ‘./DB/table-name’ is marked as crashed

    BySharad Chhetri July 1, 2014December 10, 2024

    It was time to take backup of mysql database of my server. I run the command mysqldump with some options and found the error, ” mysqldump: Got error: 145: Table ‘./DB/table-name’ is marked as crashed and should be repaired when using LOCK TABLES ” I have seen this error before but not written on this…

    Read More mysqldump: Got error: 145: Table ‘./DB/table-name’ is marked as crashedContinue

  • PHP Warning:  Unknown: Unable to allocate memory for pool. in Unknown on line 0
    Apache | Linux

    PHP Warning: Unknown: Unable to allocate memory for pool. in Unknown on line 0

    BySharad Chhetri June 30, 2014December 10, 2024

    It was shiny morning and at the time of taking tea at home. I opened my laptop and login into my server. Recently, I changed the apache MPM to worker mode. Running php-fpm and mod_fcgi to run the WordPress based blog. After a few days of Worker apache implementation, I checked the php-fpm log directory…

    Read More PHP Warning: Unknown: Unable to allocate memory for pool. in Unknown on line 0Continue

  • Install Jekyll on Ubuntu 14.04 LTS
    jekyll | Linux

    Install Jekyll on Ubuntu 14.04 LTS

    BySharad Chhetri June 30, 2014December 10, 2024

    Jekyll is a static site generator, ruby based free software. It is written by Tom Priston Werner , GitHub’s cofounder. In this post we will install the latest jekyll 2.0 version. Whereas the steps are applicable to previous version(Jekyll 1.0) also By using jekyll you can create awesome blogs, writing the post and pages in…

    Read More Install Jekyll on Ubuntu 14.04 LTSContinue

  • How to install Octopress on Ubuntu 14.04 LTS
    Linux | Octopress

    How to install Octopress on Ubuntu 14.04 LTS

    BySharad Chhetri June 29, 2014December 10, 2024

    The post explains, how to install Octopress on Ubuntu 14.04 LTS. Octopress is a jekyll based framework. It has lots of many feature. Best part is, it is static site generator. Many website and blogs have been migrated to Octopress. Install Octopress on Ubuntu 14.04 LTS Follow the given below steps to install Octopress on…

    Read More How to install Octopress on Ubuntu 14.04 LTSContinue

  • Octopress : Could not find a JavaScript runtime
    Linux | Octopress

    Octopress : Could not find a JavaScript runtime

    BySharad Chhetri June 29, 2014December 10, 2024

    Octopress, which is now a days considered as awesome html site generator.It is a framework based on Jekyll.Regulalry I explore the Octopress and Jekyll both. Octopress has lots of feature over jekyll. In my last, I wrote post on How to install Octopress on CentOS/Redhat. This time , I tried new Octopress installation on Ubuntu…

    Read More Octopress : Could not find a JavaScript runtimeContinue

  • php 5.5 APC : ERROR: `make’ failed
    Linux

    php 5.5 APC : ERROR: `make’ failed

    BySharad Chhetri June 28, 2014December 10, 2024

    Yesterday evening, I was working on my CentOS Server which has php-apc already installed. It was some error I found and after solving I was just monitoring it. I made a thought to try to install php-apc on newly arrived Ubuntu 14.04 Server Edition . Installing php-apc is easy steps. I installed the php 5.5…

    Read More php 5.5 APC : ERROR: `make’ failedContinue

  • How to install ssh server on Ubuntu
    Linux | SSH

    How to install ssh server on Ubuntu

    BySharad Chhetri June 27, 2014December 10, 2024

    SSH, the abbreviation is Secure Shell. It is a software program use the secure shell protocol to accept connection from remote computers.SSH is TCP based protocol. By default the ssh protocol listen at port no. 22 . You can also customize the port number but always remember while changing the ssh port no. it should…

    Read More How to install ssh server on UbuntuContinue

  • How to set root password on Ubuntu / Debian / Linux Mint
    Linux Commands | Ubuntu

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

    BySharad Chhetri June 26, 2014December 10, 2024

    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…

    Read More How to set root password on Ubuntu / Debian / Linux MintContinue

  • grep command to remove commented lines
    Linux Commands

    grep command to remove commented lines

    BySharad Chhetri June 25, 2014December 10, 2024

    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…

    Read More grep command to remove commented linesContinue

  • grep command to remove blank lines from file
    Linux Commands

    grep command to remove blank lines from file

    BySharad Chhetri June 25, 2014December 10, 2024

    FAQ : How to use grep command to remove blank lines from file Answer: To remove the blank lines from file, use the given below syntax grep -v ‘^$’ /path/of/file-name In above command, -v = Invert the sense of matching, to select non-matching lines ^$ = It is regex. ^ means start with and $…

    Read More grep command to remove blank lines from fileContinue

  • cat,sed and awk commands to display file contents
    Linux | Linux Commands

    cat,sed and awk commands to display file contents

    BySharad Chhetri June 24, 2014December 10, 2024

    With the help of cat, sed and awk command you can read or display the file contents. Learn about the method in this article.

    Read More cat,sed and awk commands to display file contentsContinue

  • Disable “System Program Problem Detected” on Ubuntu
    Linux

    Disable “System Program Problem Detected” on Ubuntu

    BySharad Chhetri June 20, 2014December 10, 2024

    Have you ever met with this error “System Program Problem Detected” on your Ubuntu system ? Does it come always and annoys you to close it every time ? This error generally comes when any program get crashed.The Apport program reports the debug result to Ubuntu developers. For good reasons the apport program is awesome…

    Read More Disable “System Program Problem Detected” on UbuntuContinue

Page navigation

Previous PagePrevious 1 … 12 13 14 15 16 … 39 Next PageNext

Tags

apache automation awk aws bash script cat CentOS centos 7 debian devops docker freebsd ftp ghost git grep jenkins kvm linux linux command MariaDB Server mysql Nagios nginx Octopress owncloud Owncloud 6 php postfix postgres python Red Hat rpm sed ssh swap tips troubleshooting ubuntu user management vagrant varnish virtualbox vsftp wordpress
  • About Me
  • Contact
  • Learn Linux
  • My Wordpress plugins
  • Privacy Policy
  • Search
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

© 2025 sharadchhetri.com

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My Projects & Work
    • My Nagios Plugin
    • My Dockerhub Repo
    • My WordPress plugins
    • My Github Repos
  • About
    • Privacy Policy
    • Contact