How to fix Cloud Server SSH Session getting disconnected frequently?


Resolution

Simply update /etc/ssh/sshd_config file on your server

Continue reading
  0 Comments

What is the command to list all groups in Oracle Linux?


Question

What is the command to list all groups in Oracle Linux?

Continue reading
  0 Comments

What is the command to list all users in Oracle Linux?


Question

What is the command to list all users in Oracle Linux?

Continue reading
  0 Comments

How to find the largest top 10 Files and Directories in Linux?


How do I find out all large files in a directory?1. For RedHat / CentOS / Fedorafind {/path/to/directory/} -type f -size +{size-in-kb}k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

2. For Debian / Ubuntu Linuxfind {/path/to/directory} -type f -size +{file-size-in-kb}k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'

Continue reading
  0 Comments

How to use Linux Install media as depot to install software

DVD repo01
DVD repo02
DVD repo03

On this document I will go through a series of steps to add a local DVD to a RPM based Linux server and then use it as a Yum repository to install software.

Step 1 - Insert the Linux DVD containing the required software and then issue the command scsi-rescan NOTE: For help on how to add a Linux DVD to a Virtual Box VM check this other blog.

Continue reading
  0 Comments

Linux: How to find out files updated in last N minutes?

Issue

How to find out files updated in last N minutes?

Continue reading
  0 Comments