Category: Linux

Linux Logs File

Linux log file Most directories may be categorized into one of four categories: 1. Application Logs 2. Event Logs 3. Service Logs 4. System Logs /var/log/syslog or /var/log/messages: general alerts and data concerning the...

Linux Commands

All the basic commands of Linux.

Basic Linux commands

Most used linux commands list 𝐩𝐰𝐝 – Print working directory. 𝐥𝐬 – List directory contents. 𝐜𝐝 – Change directory. 𝐭𝐨𝐮𝐜𝐡 – To create a file without any content. 𝐜𝐚𝐭 – Concatenate and display file...

How to Install Linux on VirtualBox

There are hundreds of different kinds of distros (for example Kubuntu, Ubuntu, Fedora, Linux Mint, etc) in the Linux world. There are many users who want to try out or learn the multiple distros....

How to increase the swap space on Centos7

In below command as you guys can see there is two hard disk onek is /dev/sda another one is /dev/sdb. Into the second hard dsik we are going to create a space 4Gigabyte for...

How to enable SSH step by step

#vi /etc/ssh/sshd_config Go down & change Permitrootlogin from “NO” to “YES” then start ssh service #svcadm restart ssh

How to enable telnet step by step

1)vi /etc/default/login 2) Press i, go to the following line: CONSOLE=/dev/console put # before it,then press ESC then press : then type- :wq! which will exit vi editor 3)svcadm restart telnet

How to Create Yum Repo

1.First unmount the disk #df -h#umount /media/RHEL… (whatever link it shows after df command>media section)#mount /dev/cdrom /mnt 2.reate a folder named pkg(it could be anything) under root #mkdir /pkg 3.Copy all files from iso...