1).

How will you check the kernel version of os you are currently running ?

Uname -a command 

uname -v command

uname -r command 

2).

How can you check the ip address of your server which is currently associated?

if config command
ip r command
hostname -I
ip addr command

3).

How do check free disk space in our linux os ?
df- Th command 
It will list out the avilibity of filesystems , user space , available space and mounted place.

4).

How do you manage on services on server?

we can execute the command like as the ,
systemctl or service command 
5).

How do you check size of directories and files on server?

we can execute the command like as the,
du -sh * command 
du -sh 8h* | sort -rn | tail | head command 
it will list out the file and folders size in linux os 
6)..

How do you check open ports on linux server?

we can execute the command like as the ,
netstat - tunlp command
t- its list out the tcp ports
u -list out the udp ports
n-numerically address
l-listening ports
p -lis out the process

7)..

Hoe do you check cpu process on linux server?

we can execute the command like as the ,
top command 
it will list out the cpu process 
we can figure it out , which process consumes lot of resources

8)..

How do you create access mount points ?

check the df -th command 
which file system is mounted or not 
next we can execute the command like as the ,
mkdir /mnt
mount -t /dev/sda123 /mnt
make parment entries with /etc/fstab
ten execute the mount -a comamnd 
finally check it out with df -th command 


9)..

How do you find the file if you don;t know the  which location is this?

locate command
find command 
locate /etc/fstab 
find ./ -name/etc/fstab
using this two comands we can find out the file where its located ..


10)..

How do you check all logging in users in linux operating system?

we can execute the command like as the ,
w -command 

how many useres are logging 
how many users are available
which is user are which terminal
what is login time and idle time 
how much cpu consumed 
what kind terminal and what kind of process they are using 
what is the load average of the server,,

Comments

Popular posts from this blog

SQL Interview Questions: