Skip to content
sharadchhetri
  • Home
  • ResourcesExpand
    • Artificial Intelligence
    • Devops
    • Cloud Computing
    • Database Server
    • BSD
    • Linux
    • Learn Linux
  • My Projects & WorkExpand
    • My Nagios Plugin
    • My Dockerhub Repo
    • My WordPress plugins
    • My Github Repos
  • Facebook Page
  • Contact
  • Privacy Policy
  • About Me
sharadchhetri
  • list files and directories by 4 commands in linux
    Linux

    list files and directories by 4 commands in linux

    BySharad Chhetri September 9, 2013December 10, 2024

    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…

    Read More list files and directories by 4 commands in linuxContinue

  • MySQL backup bash script
    Linux

    MySQL backup bash script

    BySharad Chhetri September 6, 2013December 10, 2024

    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…

    Read More MySQL backup bash scriptContinue

  • how to remove history from Dash Home in Ubuntu
    Linux

    how to remove history from Dash Home in Ubuntu

    BySharad Chhetri September 5, 2013December 10, 2024

    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…

    Read More how to remove history from Dash Home in UbuntuContinue

  • Forward all incoming emails to other SMTP server or gateway
    Linux

    Forward all incoming emails to other SMTP server or gateway

    BySharad Chhetri September 3, 2013June 25, 2026

    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…

    Read More Forward all incoming emails to other SMTP server or gatewayContinue

  • Convert new line to space by using sed command
    Linux

    Convert new line to space by using sed command

    BySharad Chhetri August 28, 2013June 25, 2026

    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…

    Read More Convert new line to space by using sed commandContinue

  • Debian Wheezy 7.1 package not found
    Linux

    Debian Wheezy 7.1 package not found

    BySharad Chhetri August 24, 2013December 10, 2024

    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…

    Read More Debian Wheezy 7.1 package not foundContinue

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

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

    BySharad Chhetri August 23, 2013June 25, 2026

    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)…

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

  • How to install pam_mysql in CentOS or Red Hat
    Linux

    How to install pam_mysql in CentOS or Red Hat

    BySharad Chhetri August 22, 2013June 25, 2026

    How to install pam_mysql in CentOS or Red Hat While working on some mysql authentication.I required pam_mysql. In CentOS 6.4 I found it was not available even in CentOS 5 it was not also. Again same method is applied. Download the EPEL repo. Step 1: Install latest EPEL Repo rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm Step 2: Now…

    Read More How to install pam_mysql in CentOS or Red HatContinue

  • error could not configure a c compiler Linux
    Linux

    error could not configure a c compiler Linux

    BySharad Chhetri August 22, 2013June 25, 2026

    error: could not configure a c compiler It is the most common error found while installing the package from its source code. Many times I got this issue while working in CentOS and Red Hat Actually the source code has some scripts which require C compiler as the code is written in C language. If…

    Read More error could not configure a c compiler LinuxContinue

  • How to create VirtualHost in Apache Web Server
    Linux

    How to create VirtualHost in Apache Web Server

    BySharad Chhetri August 21, 2013June 25, 2026

    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…

    Read More How to create VirtualHost in Apache Web ServerContinue

  • How to install apache webserver in CentOS and Red Hat
    Linux

    How to install apache webserver in CentOS and Red Hat

    BySharad Chhetri August 20, 2013June 25, 2026

    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…

    Read More How to install apache webserver in CentOS and Red HatContinue

  • How to rename and move the directory and files in linux
    Linux

    How to rename and move the directory and files in linux

    BySharad Chhetri August 17, 2013June 25, 2026

    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…

    Read More How to rename and move the directory and files in linuxContinue

  • How to set user postgres password in postgresql 9.1
    Linux

    How to set user postgres password in postgresql 9.1

    BySharad Chhetri August 17, 2013December 10, 2024

    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…

    Read More How to set user postgres password in postgresql 9.1Continue

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

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

    BySharad Chhetri August 15, 2013June 25, 2026

    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…

    Read More How to configure ethernet in CentOS 6 after installing in Virtual BoxContinue

  • Install MySQL workbench in Ubuntu
    Database Server

    Install MySQL workbench in Ubuntu

    BySharad Chhetri August 14, 2013June 25, 2026

    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…

    Read More Install MySQL workbench in UbuntuContinue

Page navigation

Previous PagePrevious 1 … 25 26 27 28 29 … 39 Next PageNext

© 2026 sharadchhetri.com

  • Home
  • Resources
    • Artificial Intelligence
    • Devops
    • Cloud Computing
    • Database Server
    • BSD
    • Linux
    • Learn Linux
  • My Projects & Work
    • My Nagios Plugin
    • My Dockerhub Repo
    • My WordPress plugins
    • My Github Repos
  • Facebook Page
  • Contact
  • Privacy Policy
  • About Me