Linux Interview Questions:
=========================
Linux Interview Questions:
=============================
1).what is the differnece between df and du command into linux os ?
2).where we use the df and du command into linux os ?
3)./etc/passwd and /etc/shadow . Why w can;’t merge tow files into single files into linux os ?
4).Can normal user can access the /etc/shadow file into linux os?
5).lablk and fdisk command ? Both are the same or different into linux os ?
6).hav you created any lvm into linux os ?
7).if you want o see the lvm . Which comman dare u going to be executed into linux os ?
8).Ypu know the how to extend the lvm into linux os ?
9).why we do the resize2fs into linux os ?
10).am trying to create the file /opt directory or is /var diredtcoyr
We are getting the permsiioisn dried issue or disk space related issue and no space issues into linux os ?
How to troubleshooting into it ?
11).what is the inode into linux os ?
12).how to see the indies into it?
13).Have you done the patching into linux os ?
14).why do we the patching into linux os ?
15).what type of differnt of vulnerabilities into linux os ?
16).service request ?
Change request?
Incident management what all are those things into it ?
17).what is the differnece between update and upgrade command into linux os ?
18).how you do the packing after rollbacks into linux os ?
19).u know the scp and rsync command into linux os right ?
20).both are the same or different into linux os ?
21).u know the booting sequences into linux os ?
22).what is the size of MBR into linux os ?
23).are u using the find and grep command into linux os ?
24).what is the differnece between find and grep command into linux os ?
25).please wrote the log file using the find and grep command into linux os ?
25).How to take backup in mysql db ?
mysqldump -u root -p mydatabase > mydatabase_backup.sql
===================
mysqldump -u root -p --all-databases > alldb_backup.sql
=====================
Restre the mysql database into mysql:
mysql -u root -p mydatabase < mydatabase_backup.sql
==================
26).what are the DDL commands or DDL commands into linux os ?
CREATE Create database/table
ALTER Modify table
DROP Delete table/database
TRUNCATE Remove all rows (structure stays)
RENAME Rename table
—————
Command Purpose
INSERT Add data
SELECT Read data
UPDATE Modify data
DELETE Remove data
================
27).u have to search the pattern ip addrsss only for using the sql command into ?
What else into it ?
28).have you configure nfs ? Nfs port number ?
29).am tyring to do a ssh to a server . Am get the error like timeout issues into it?
What could be the reason into it?
30).
Linux interview Questions :
1).How to recover accidently deleted /etc/fstab into linux os ? anyone deleted this /etc/fstab .after this we can' boot ur os. boot into recovery mode . then go to the linux terminal page . here we have to execute the blkid command here it will list out the avilble partions and attached filesystems . if your deleting the /etc/fatab.that time root parttion won't be work now we can mount the root parttion in rw mode mount -t ext4 -0 rw,remount dev/sda1 / 2).VMSTAT command into linux ? 3).iostat and dstat command into linux os ? 4).LInux free command into linux os ? in this way we can check it our the memeory usage and swap memeory as well. then it will display out the , used,space avilble ,total ,buffer/catche abd shared what is free space we can execute the command like as the, free -b command : we will get the particular output for the bits so if you want to getto int the outpit in kilobytes : so we can execut ethe comamnd like as the, free -k free -g: it will sh...
Comments
Post a Comment