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
  • How to Check UUID of Disk Partition
    Linux

    How to Check UUID of Disk Partition

    BySharad Chhetri July 19, 2012December 10, 2024

    In this post we will explain about UUID and to check UUId of disk partition in Linux systems. A universally unique identifier (UUID) is an identifier standard used in software construction, standardized by the Open Software Foundation (OSF) as part of the Distributed Computing Environment (DCE). The intent of UUIDs is to enable distributed systems…

    Read More How to Check UUID of Disk PartitionContinue

  • Lock user login after failed login attempts in Red Hat 6.x and CentOS 6.x
    Linux

    Lock user login after failed login attempts in Red Hat 6.x and CentOS 6.x

    BySharad Chhetri July 18, 2012December 10, 2024

    In this article, we will learn how to lock user login after failed login attempts in Red Hat and CentOS. It is a security practice, which is important to implement in critical servers.

    Read More Lock user login after failed login attempts in Red Hat 6.x and CentOS 6.xContinue

  • Terminal Recording with script and scriptreplay command
    Linux | Tips And Tricks

    Terminal Recording with script and scriptreplay command

    BySharad Chhetri July 16, 2012December 10, 2024

    Learn how to do terminal recording with script and scriptreplay command.It is one of the useful command to record the activities on terminal. Morever after recording the terminal session you can play the session activity with the help of scriptreplay command. root@tuxworld:~# script -t 2>sample.time sample.log Script started, file is sample.log root@tuxworld:~# The script will…

    Read More Terminal Recording with script and scriptreplay commandContinue

  • How to change hostname in Ubuntu 12.04 and 12.10 without system restart
    Linux | Tips And Tricks

    How to change hostname in Ubuntu 12.04 and 12.10 without system restart

    BySharad Chhetri July 15, 2012December 10, 2024

    In this post learn,how to change hostname in Ubuntu 12.04 and 12.10 without system restart. Here, there are few steps through which we can change the hostname of system without reboot. System OS: Ubuntu 12.04 LTS n l Follow steps to change hostname in Ubuntu 12.04 LTS and Ubuntu 12.10 Step 1: Edit the /etc/hosts…

    Read More How to change hostname in Ubuntu 12.04 and 12.10 without system restartContinue

  • Convert hyphen to underscore in between all filenames shell script
    Linux | Tips And Tricks

    Convert hyphen to underscore in between all filenames shell script

    BySharad Chhetri December 23, 2011December 10, 2024

    In this post we will learn, how we can convert hyphen to underscore in between of all filenames with the help of shell script or bash script. For eg. if you want to convert the file haveing hyphen sign in between its name to Underscore . Use the below given method. After using the script…

    Read More Convert hyphen to underscore in between all filenames shell scriptContinue

  • Enable ethernet in RHEL 6.0 and CentOS 6.0  : Tested In Virtual Box and VMware
    Linux

    Enable ethernet in RHEL 6.0 and CentOS 6.0 : Tested In Virtual Box and VMware

    BySharad Chhetri December 7, 2011December 10, 2024

    Enable ethernet in RHEL 6.0 and CentOS 6.0 : Tested In Virtual Box and VMware Today I downloaded the CentOS 6.0 and installed it in Virtual Box.After installation I found that no ethernet was enable and has no ip Address. I tried to troubleshoot, restarted the network service,once again restarted the Machine but no luck…

    Read More Enable ethernet in RHEL 6.0 and CentOS 6.0 : Tested In Virtual Box and VMwareContinue

  • How to create iso file from CD/DVD and how to mount .iso file in folder
    Linux

    How to create iso file from CD/DVD and how to mount .iso file in folder

    BySharad Chhetri December 6, 2011December 10, 2024

    How to create iso file from CD/DVD and how to mount .iso file in folder Through the command line we can mount CD/DVD ROM and can create .iso file.In this post we will also see how to mount .iso file in a folder. Step (1) We will create .iso file in our home directory. U…

    Read More How to create iso file from CD/DVD and how to mount .iso file in folderContinue

  • Root Is Not Able To Login In Red Hat And CentOS
    Linux

    Root Is Not Able To Login In Red Hat And CentOS

    BySharad Chhetri December 3, 2011December 10, 2024

    You may have faced the issue when user root is not able to login in Red Hat and CentOS. Mostly the first thing which come into our mind is might be possible we forgot the password of root and we are not able to login. But apart of this there are other possibilities also which results the failure of root login.

    Read More Root Is Not Able To Login In Red Hat And CentOSContinue

  • Keep logs of user after sudo su – : Secondary Logging
    Linux | Tips And Tricks

    Keep logs of user after sudo su – : Secondary Logging

    BySharad Chhetri December 2, 2011December 10, 2024

    When we do sudo su – or su – and user become root we mostly found that in log it is not easy to track which command is used by which user. In this post, we will setup the secondary logging to Keep logs of root user after sudo access. You can also setup the…

    Read More Keep logs of user after sudo su – : Secondary LoggingContinue

  • Non interactive ,without typing password do ssh to Server : By sshpass
    Linux | SSH | Tips And Tricks

    Non interactive ,without typing password do ssh to Server : By sshpass

    BySharad Chhetri December 2, 2011December 10, 2024

    Non interactive ,without typing password do ssh to Server : By sshpass Most of the time I found that there is always a question How to do ssh to Server without typing the passwd. I have one posted on bash scripting method with using expect command and there is one more method of passing RSA-DSA…

    Read More Non interactive ,without typing password do ssh to Server : By sshpassContinue

  • How to Install awstat in Redhat and CentOS
    Linux

    How to Install awstat in Redhat and CentOS

    BySharad Chhetri December 2, 2011December 10, 2024

    Awstat is free log analizer tool which generates advanced web, streaming, ftp or mail server statistics, graphically. This post explains how to install awstat in Redhat and CentOS. Install and setup awstat Follow the steps to install and configure the awstat in your Red Hat based system. Step 1: Download the awstats. wget http://sourceforge.net/projects/awstats/files/AWStats/7.0/awstats-7.0-1.noarch.rpm Note:…

    Read More How to Install awstat in Redhat and CentOSContinue

  • How to delete password of user in Linux
    Linux | Linux Admin

    How to delete password of user in Linux

    BySharad Chhetri December 2, 2011December 10, 2024

    This post will help you to delete password of user in linux. We should also know what is the exact reason we are deleting the password of user. User and group management in any operating system always play an important role. In Linux, sometimes we receive the request to disable the login of a user….

    Read More How to delete password of user in LinuxContinue

  • RSA key authentication in Linux : Passwordless login
    Linux | SSH

    RSA key authentication in Linux : Passwordless login

    BySharad Chhetri November 28, 2011December 10, 2024

    In this post, we will learn how to configure the SSH RSA Key authentication in Linux servers. We will also setup the password less login between the servers.

    Read More RSA key authentication in Linux : Passwordless loginContinue

  • GNU Screen
    Linux | Tips And Tricks

    GNU Screen

    BySharad Chhetri November 25, 2011December 10, 2024

    GNU Screen: It is a terminal multiplexer.By using GNU Screen, we can run many number of applications,interactive command shells, text editors, etc. within a single terminal. Inside  the terminal user can open many windows terminal and sub-terminal. Installation: It can be installed in many flavours of Unix System.(I checked in all linux distro,AIX,Sun Solaris –…

    Read More GNU ScreenContinue

  • Saving every command and its output in log in Unix
    Linux

    Saving every command and its output in log in Unix

    BySharad Chhetri November 25, 2011December 10, 2024

    In this post we will learn about saving every linux/unix command and its output in log file. The command called script will be use to save the command output in log. Run script command to save command output in file/log script  filename.log Example: [root@server1 ~]# [root@server1 ~]# script my.log Script started, file is my.log Welcome…

    Read More Saving every command and its output in log in UnixContinue

Page navigation

Previous PagePrevious 1 … 35 36 37 38 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