• 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

How to change hostname or FQDN in CentOS and Redhat

December 23, 2012 by Sharad Chhetri 6 Comments

How to change hostname or FQDN in CentOS and Redhat In this tutorial we will learn about,how to change Hostname or FQDN in CentOS and Red Hat. The method is applicable to all Red Hat based operating system. I have described about difference between hostname and FQDN which you can read from this post (The […]

Filed Under: Articles Tagged With: CentOS, hostname, redhat

This XML file does not appear to have any style information associated with it, RSS Feed problem(wordpress)

December 16, 2012 by Sharad Chhetri Leave a Comment

Mostly I use firefox and few days back I was working on RSS feed burner of my this Blog. I tested this blog in Google Chrome and surprised to see an Errr: “This XML file does not appear to have any style information associated with it” I checked my XML file and it looks fine. […]

Filed Under: Articles Tagged With: xml rss feed

How to find cpu processor supporting 64 bit or 32 bit

December 15, 2012 by Sharad Chhetri Leave a Comment

The post will explain, how to find cpu processor supporting 64 bit or 32 bit. In modern time, most of application are released with 64 bit compatibility only. Recently Chromium Dev team has announced in google forum about no support to 32 bit version in coming years. You should also know that 64 Bit Operating […]

Filed Under: Articles Tagged With: cpu

rsync all files,hidden files,symlinks,hardlinks to remotes Linux Server

December 13, 2012 by Sharad Chhetri Leave a Comment

rsync all files,hidden files,symlinks,hardlinks to remotes Linux Server I have used these flags -ravpzHogt along with rsync command many times in server migration. And I always get good results. Key features** (1) Date Time stamp of files and folder remain same as you find in source server. (2) Hidden files or directory recursively transfer to […]

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

What is /dev/shm and how to mount /dev/shm

August 15, 2012 by Sharad Chhetri 1 Comment

Introduction: This post will explain about the /dev/shm and you will also know how to mount /dev/shm in linux system. /dev/shm is nothing but implementation of traditional shared memory concept. It is an efficient means of passing data between programs. One program will create a memory portion, which other processes (if permitted) can access. This […]

Filed Under: Articles Tagged With: /dev/shm

Installing Nagios-3.4 in CentOS 6.3

August 5, 2012 by Sharad Chhetri 2 Comments

Installing Nagios-3.4 in CentOS 6.3 This is how to install nagios 3.4 tutorial for installing nagios-3.4 in CentOS 6.3 in a few steps. rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm yum install nagios nagios-devel nagios-plugins* gd gd-devel httpd php gcc glibc glibc-common Bydefualt on doing yum install nagios, in cgi.cfg file, authorized user name nagiosadmin is mentioned and for […]

Filed Under: Articles, Monitoring Server Tagged With: Nagios

How to find which filesystem is supported by running kernel

July 30, 2012 by Sharad Chhetri Leave a Comment

How to find which filesystem is supported by running kernel /proc/filesystems is the file which is used to detect the filesystems supported by running kernel. The nodev represent the file system is not assoicated with any disk partition for eg. /dev/sda1 In below given output, you can find out the ext3,ext4 and fuseblk can be […]

Filed Under: Articles Tagged With: filesystem, kernel

subtract integer written in columns from 2 different files

July 25, 2012 by Sharad Chhetri Leave a Comment

subtract integer written in columns from 2 different files This is an eg. of subtracting the integer value in column of file1 and file2. root@tuxworld:/mnt# for i in `seq 1 5`;do echo $i >> file1;done root@tuxworld:/mnt# for i in `seq 0 4`;do echo $i >> file2;done root@tuxworld:/mnt# cat file1 1 2 3 4 5 root@tuxworld:/mnt# […]

Filed Under: Articles Tagged With: script

How to Check UUID of Disk Partition

July 19, 2012 by Sharad Chhetri Leave a Comment

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 […]

Filed Under: Articles Tagged With: uuid

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

July 18, 2012 by Sharad Chhetri Leave a Comment

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.

Filed Under: Articles Tagged With: system-auth

Terminal Recording with script and scriptreplay command

July 16, 2012 by Sharad Chhetri Leave a Comment

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 […]

Filed Under: Articles, Tips And Tricks Tagged With: script command

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

July 15, 2012 by Sharad Chhetri Leave a Comment

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 […]

Filed Under: Articles, Tips And Tricks Tagged With: hostname, ubuntu

Convert hyphen to underscore in between all filenames shell script

December 23, 2011 by Sharad Chhetri 3 Comments

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 […]

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

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

December 7, 2011 by Sharad Chhetri 4 Comments

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 […]

Filed Under: Articles Tagged With: centos6, ethernet

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

December 6, 2011 by Sharad Chhetri 2 Comments

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 […]

Filed Under: Articles Tagged With: iso file

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 29
  • Page 30
  • Page 31
  • Page 32
  • 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