• 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

tips

2 Methods to remove CONTROL-M characters from a file in Linux/Unix

March 20, 2015 by Sharad Chhetri Leave a Comment

vi and vim editor

Whenever we transfer the files from Windows to Linux / Unix system generally it has CONTROL-M character inside. Which appears as ^M inside the files . To prevent this you can first copy paste the content in notepad then again copy to file in linux system. Here, notepad will help you to transfer the ASCII character.

Filed Under: Articles Tagged With: tips

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

March 13, 2014 by Sharad Chhetri Leave a Comment

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory While working on setting new squid transparent proxy in network.I faced an unusual error while restarting the Squid service. The getcwd() function copies an absolute pathname of the current working directory to the array pointed to by buf, which is […]

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

error could not configure a c compiler Linux

August 22, 2013 by Sharad Chhetri Leave a Comment

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

Filed Under: Tips And Tricks Tagged With: tips

How to find when Operating system was installed in linux CentOS and Red Hat

June 18, 2013 by Sharad Chhetri Leave a Comment

How to find when Operating system was installed in linux CentOS and Red Hat This is a short video to know how you can find out on which date the linux was installed. It is applicable to Red Hat based linux distro. Step 1 : First find out the basesystem rpm. rpm -qa|grep basesystem Step […]

Filed Under: Articles, Tips And Tricks Tagged With: linux, tips

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