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

sharadchhetri

AI, Linux, Cloud and DevOps

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

Articles

list files and directories by 4 commands in linux

September 9, 2013 by Sharad Chhetri Leave a Comment

When I started learning linux ,for listing files and directory I firsts learnt the command ls. ls command is widely in linux and Unix like operating system.It is a system command which by default shipped with operating system.Today I am sharing the 4 commands by which you can list file and directories.On other hand you […]

Filed Under: Articles Tagged With: ls

MySQL backup bash script

September 6, 2013 by Sharad Chhetri 1 Comment

This is a simple mysql backup script.The script can be used manually as well as in crontab. Edit the below given script and provide the information required in the script. The script will take the backup in .sql format later it will compress the .sql file and in end send the mail about the status […]

Filed Under: Articles Tagged With: mysql

how to remove history from Dash Home in Ubuntu

September 5, 2013 by Sharad Chhetri Leave a Comment

In this post we will learn about simple steps to remove the history or recent items which are shown in Dash Home in Ubuntu.The practical has been done in Ubuntu 12.10 and applicable to other Ubuntu which has Dash home. To remove the history from Dash ,follow the given below steps: Step 1: In Dash […]

Filed Under: Articles Tagged With: ubuntu

Forward all incoming emails to other SMTP server or gateway

September 3, 2013 by Sharad Chhetri 4 Comments

In this post we will learn how to forward all emails of particular domain to another SMTP server or gateway. I also used this method in different scenario. Scenario: I have my own mail server which can host multiple virtual domains and users (postfix+mysql). Now a client has domain called example.com and for mailing he […]

Filed Under: Articles, Tips And Tricks Tagged With: postfix

Convert new line to space by using sed command

August 28, 2013 by Sharad Chhetri 1 Comment

This is a one line sed command trick in which we will convert the new line into space. I have a file in which there is a words per line.Now here I want to remove all these lines and instead of this I would like to use spaces. For eg. I have a file called […]

Filed Under: Articles, Tips And Tricks Tagged With: sed

Debian Wheezy 7.1 package not found

August 24, 2013 by Sharad Chhetri Leave a Comment

Today I installed the Debian wheezy 7.1 and after doing apt-get update first problem I found ,the system was searching packages from CDROM. Because I do not want to install packages from CD first I commented the below given lines in /etc/apt/sources.list nano /etc/apt/sources.list # deb-src cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ – Official Multi-architecture i386/amd64/source DVD […]

Filed Under: Articles Tagged With: debian

How to configure vsftpd server with virtual user mysql authentication in CentOS 6

August 23, 2013 by Sharad Chhetri 2 Comments

In this tutorial we will learn about how to configure vsftpd server with virtual user and mysql authentication in backend in CentOS 6 and Red Hat 6. Note: SELINUX and IPTABLES are disabled Features: vsftp server with chroot mysql authentication virtual users in mysql (Not in local system) Server Details: Operating System:CentOS release 6.4 (Final) […]

Filed Under: Articles, FTP Server Tagged With: ftp, vsftpd

How to create VirtualHost in Apache Web Server

August 21, 2013 by Sharad Chhetri Leave a Comment

In this tutorial we will learn how to create VirtualHost in Apache Webserver. With the help of VirtualHost we can host many domains or website from single Web Server.This is a simple example to start with your first VirtualHost configuration in Apache Webserver. We have used a few terms which is required for setting up […]

Filed Under: Apache, Articles Tagged With: apache, CentOS, redhat, webserver

How to install apache webserver in CentOS and Red Hat

August 20, 2013 by Sharad Chhetri Leave a Comment

In this tutorial we will learn about how to install apache webserver. Web server as the name says it is server which is used for web services. The websites and web applications required web server to run. Here for webserver we will install apache. There are other web server which are also widely use in […]

Filed Under: Apache, Articles

How to rename and move the directory and files in linux

August 17, 2013 by Sharad Chhetri Leave a Comment

To rename and move the directory and files in linux in linux we use single command called mv. The mv command is used for both purpose means renaming and moving the directory or file,it is system command which ships bydefault when you install any linux. The command is also applicable to all Unix based operating […]

Filed Under: Articles, Linux Commands Tagged With: linux command, mv

How to set user postgres password in postgresql 9.1

August 17, 2013 by Sharad Chhetri 4 Comments

In this tutorial we will learn How to set user postgres password in postgresql 9.1 and force to prompt for password. When you freshly install Postgresql and after using command psql it will allow you to login into postgresql server without prompting or asking for password. Here we will first of all reset the password […]

Filed Under: Articles Tagged With: postgres

How to configure ethernet in CentOS 6 after installing in Virtual Box

August 15, 2013 by Sharad Chhetri 2 Comments

In this tutorial we will configure the additional ethernet in CentOS. The practical has been done in Virtual box whereas it is also applicable to physical machines. Scenario: In Virtual Box,we have only one ethernet or NIC card (eth0) while installing the CentOS.Later we added one more ethernet(eth1) but when we were using command ifconfig […]

Filed Under: Articles, Tips And Tricks Tagged With: CentOS, ifconfig, virtualbox

Install MySQL workbench in Ubuntu

August 14, 2013 by Sharad Chhetri 1 Comment

MySQL Workbench is a integrated tool for MySQL. The MySQL workbench gives a graphical interface to user through which user can easily manage many MySQL Administration task. The tool can be install in Windows,MacOSX and Linux. As well as its source code is also available.The MySQL Workbench is easy to install in Windows,MacOSX and Linux […]

Filed Under: Articles, mysql Tagged With: mysql

How to install vim in freebsd

August 13, 2013 by Sharad Chhetri Leave a Comment

vim is the acronym of Vi Improved . vim is text editor written by Bram Moolenaar. Vim is available in command line as well as in graphical mode. It has advanced features as compared to vi text editor which usually by default available in almost all unix like operating system. Note: Practical Tested in FreeBSD […]

Filed Under: Articles, BSD, BSD troubleshooting Tagged With: freebsd, vim

How to install korn shell ksh in Linux

August 12, 2013 by Sharad Chhetri 6 Comments

Korn shell or ksh is another Unix shell like bash,sh and csh. Korn shell was developed by David Korn at Bell Labs in the early 1980s and announced at USENIX on July 14, 1983. Many Unix based operating system like AIX,BSD etc. they already have ksh preinstalled. The AIX by default uses the ksh. To […]

Filed Under: Articles, Tips And Tricks Tagged With: ksh, shell

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 20
  • Page 21
  • Page 22
  • Page 23
  • Page 24
  • Interim pages omitted …
  • Page 33
  • Go to Next Page »

Primary Sidebar

Articles

  • Install n8n docker in Ubuntu for practicing
  • Bash Script: MySQL Database backup to AWS S3
  • Automate no touch Jenkins setup wizard on docker (jcac)
  • How to run and configure Jenkins in Docker container
  • Complete Guide: How to install Nagios Monitoring on AlmaLinux / Rocky Linux
  • Install KVM on Ubuntu 24.04 LTS ( Bash Script )
  • How to install GIMP 2.10 on Ubuntu / Debian
  • 5 ways to check Ubuntu version of system (commands and GUI)
  • How To Solve Forgot MySQL / MariaDB Root Password
  • Create Self Hosted Build Agent Docker Image for Azure DevOps

Copyright © 2026 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From India.

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