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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for June 2020

User Unable To Edit crontab, Error: “/tmp/crontab.Lm34gsJV: Permission denied”

by admin

The Problem A non-privileged user cannot edit their crontab file using the command “crontab -e” $ crontab -e no crontab for oracle – using an empty one /tmp/crontab.Lm34gsJV: Permission denied $ The Solution This can happen mainly due to wrong permission on /tmp directory. When a user tries to edit the crontab using ‘crontab -e’ […]

Filed Under: Linux

showmount Command Examples in Linux

by admin

showmount command shows information about an NFS server. This information is maintained by the mountd server on the host. The default value for the host is the value returned by the hostname. With no options, show the clients that have mounted directories from the host. showmount is usually found in /usr/sbin, which is not in […]

Filed Under: Linux

How to Enable Debug Mode for Chronyd Service in CentOS/RHEL 8

by admin

What is Chronyd Service In CentOS/RHEL 7 and 8, the operating system’s time is set on every boot based on the hardware clock, which is a small-battery driven clock located on the motherboard of your computer. Often, this clock is too inaccurate or has not been set right, therefore it’s better to get your system […]

Filed Under: CentOS/RHEL 8, Linux

How to Recover from a Corrupted or empty /etc/mtab file in CentOS/RHEL 7

by admin

Sometimes you may get an error while running the df command saying that tat the /etc/mtab file is either corrupt or empty(removed). It may be a case that someone accidentally edited the /etc/mtab file and has incorrect data. Well, this post will help you restore your correct mtab file. What is the use of /etc/mtab […]

Filed Under: CentOS/RHEL 7, Linux

File Access Commands in Linux – find, sort, head, tail

by admin

The following file access commands are UNIX commands, not specific shell commands. Command Remakr find Finds the location of a file sort Reads a file and sort the output hear or tail Looks at just the start or end of a file The find Command The find command allows you to search for files and […]

Filed Under: Linux

Status Commands in Linux – date, ps, who, uptime, finger, rup, ruser

by admin

The status commands are UNIX commands, not specific shell commands. Command Purpose date Displays the current (system) date and time ps Displays information about system processes who Display which users are logged in to the system rusers Displays the users on local area network (LAN) systems finger Displays information about logged-in users uptime Displays how […]

Filed Under: Linux

CentOS/RHEL : Unmounting a Windows Share Fails – “device is busy”

by admin

The Problem Unable to unmount a Windows share mount point using umount command. This Windows share is not being used by any processes recently. When executing umount command, the following error is seen; umount: /data01: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux

Primary Sidebar

Recent Posts

  • nixos-container : Command Examples in Linux
  • nitrogen Command Examples in Linux
  • nitrogen: command not found
  • nft: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright