Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
In a company there are 3 groups i.e Finance, HR and Marketing. Each groups havin
g 3 members. There is a file named as file1.txt. The permission set for the abov
e file is rwx-rw----x. Now the question is only the members of Hr and Marketing
group can view and edit the file. But the file is not accessible to the members
of Finance Group. Can anyone tell me what would be the exact command for linux.r
oot@localhost#
---------------------------------------------------------------------------------------------what is the roles and responsibilities in linux system admin having 2yrs exp..?
---------------------------------------------------------------------------------------------In Linux how you set time a limit on quota?
---------------------------------------------------------------------------------------------How did you do the Health check in Linux?
Top :
Top Command can provide the top processes, CPU Load, Memory
Utilization, Swap Utilization, Running/Zombie Process,
Uptime, etc..
iostat:
This command will provide the information about the disk
utilization, Read/Write rate, etc..
[root@fgrestore-100343-cr312561-app001 ~]# iostat
Linux 2.6.32-358.23.2.el6.x86_64 (fgrestore-100343-cr312561-app001)
15
_x86_64_
(2 CPU)
avg-cpu: %user
11.61
Device:
sda
tps
3.43
Blk_read/s
81.99
Blk_wrtn/s
27.25
08/10/20
%idle
72.06
Blk_read
69701072
Blk_wrtn
23168588
[root@fgrestore-100343-cr312561-app001 ~]#
vmstat:
vmstat command provides the swap memory utilization report.
[root@fgrestore-100343-cr312561-app001 ~]# vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu----r b swpd free buff cache si so
bi
bo in cs us sy id wa st
1 1
0 260272 7588 4544680
0
0
21
7
6
4 12 4 72 13
0
netstat
netstat
rn
who / finger
ps ef
files
sestatus
---------------------------------------------------------------------------------------------How to add Crete a new ftp user? or How to add a exiting user into FTP ?
---------------------------------------------------------------------------------------------How to activate / deploy licence in RHEL 6 and what will happen if you don't act
ivate / deploy licence in RHEL 6 ?
---------------------------------------------------------------------------------------------When u comment the ctrl+alt+del trap in the /etc/inittab save the file. Tell the
command to save the changes without rebooting the machine?
init q
---------------------------------------------------------------------------------------------How we can set the password length in linux?
[root@fgrestore-100343-cr312561-app001 ~]# cat /etc/login.defs|grep -i PASS_MIN_
LEN
#
PASS_MIN_LEN
Minimum acceptable password length.
PASS_MIN_LEN
5
[root@fgrestore-100343-cr312561-app001 ~]#
4115
How to root mirror in Linux? How to replace mirrored hdd in case of failure?
siemens 1
3390
What is the command to check wwn # in linux?
siemens 4
7309
hcl 4
ibm [also asked @ eer]
3862
How to hide the partition in GRUB booting? (This technique is required when you
have more that one Windows system on different partitions of the same disk, let
us say the first and second partitions of the first hard drive, to boot from the
first partition you must hide the second one) 2
3117
[Send This Quest
ion to Your Friend]
How to shuffle the GRUB booting from one Disk to other? 1
What is the Difference between 'su' and 'su-' ?
explain about vnc 4
2385
fujitsu 3
5544
2438
what is the booting process of linux systen and explain it,is the first process
comes under the installation process. mind-tree [also asked @ csc csc ea-elec
tronic-arts vsworx vsworx]
3
7194
Linux system monitoring Tools? hcl [also asked @ ibm ibm]
6
8676
what is work of dns
hcl 3
3677
yahoo [
what command would you use to find the hostname of the server if yo ony have the
ip address? 10
4761
What are the files to be used in the network installation of linux os? 4
4224
Explain about kernel file in linux? 7
4103
What is the command to see the installed rpm's in the linux system. 4
4499
What is the command to see all the processes are working in the last 30 days? 9
5906
How can we see the default gateway ip ini linux. 6
what is ldd?
6613
4298
in redhat Linux wat is the command to check at ahich date and time file was crea
ted? 16
8659
what is the command to uninstall processes in linux?
cl aegon ugam-solutions]
17
11391
what is the command for finding the higest memory occupied file in linux?
ibm 9
9873
what are the linux boot files? wipro [also asked @ css css ]
13034
3284
5302
In my linux machine, i lost /etc/passwd file and /etc/shadow file, then how can
i recover it? google 5
9150
I want to kill zombie process, but with using kill 9 i cannot kill that process?
can u tell other commands?
cts 2
5030
[Send This Question to Y
our Friend]
How can I know my linux os is 32 bit or 64 bit? and How can i know my CPU is 32
bit or 64 bit in linux machine environment.? 7
5868
[Send This Quest
ion to Your Friend]
My linux machine is crashed due to root file system, I need not to bother about
the root file system, but i need to take care of /etc, /usr, like that.,, can i
recover these file systems? 2 2332
I lost a root password and i need to give it, I treid to change it through singl
e usermode even though i am not get a password, then what is the other procedure
to give a root password? 8
2844
A file which is not deleted by normal user and also root (using rm), for that ty
pe of file how we delete it?
cts 5
4008
[Send This Question to Y
our Friend]
what r the different command to check ram,process and hdd of linux machine 4
3617
if i have one folder say aaa and that folder having 100 files from that 50 files
there aaa word is written how to find in which aaa is writen and without openin
g that file
6
2558
if i run ls command it will show me the junk output what is problem and how to r
esolve it
bpo 2
3377
3381
Hi All of Unix/Linux professional Q.Why soft link file not open by cat command.
Ihave make following symbolic link but when i open with #cat linkfilename it doe
s not oped please see the following code and try to answer. # ln -s file1 ~/mydi
r/filea [root@dhcppc0 ~]# cd mydir [root@dhcppc0 mydir]# ls -l total 4 lrwxrwxrw
x 1 root root 5 2010-04-04 09:04 filea -> file1 [root@dhcppc0 mydir]# cat filea
cat: filea: No such file or directory 2
2005
WHAT IS THE MEANING IF AIX
ibm 5
3247
1). What are the situation in process is duplicate is linux box.? 2) Give me 5 s
ituation to kill a process?
perot-systems 1
2142
[Send This Quest
ion to Your Friend]
Why ls -F dev/log file output indicate as = sign at end of the file name?
ibm [also asked @ hcl hcl ]
5
4792
how to call recursive grep function? 2
what is nis server? 4
3696
6719
9108
6501
google 3
What can you type at a command line to determine which shell you are using?
tech-mahindra 6
5079
What are two subtle differences in using the more and the pg commands? airtel
2
2989
When you issue the command ls -l, what signifies the first character of the resu
lting display file? 701 What command can you use to determine the purpose of any
command?
What is Write Command? 3
3231
3845
3700
What command you use for cpio to create a backup called backup.cpio of all the u
sers home dirs? 2
2507
What is the command to list ALL (hidden also) files of current directory & it s su
bdirectories? 6
3432
To move /home/ben/memos dir in /home/bob/memos, what is the result by mv /home/b
en/memos /home/bob 4
2089
our wish to print the file vacations with 60 lines to a page. Which command will
accomplish this? 2
1464
2996
What command you execute to display the last five commands you have entered? 4
4303
What command can you use to review boot messages?
tcs 3
2923
2617
3184
wipro 3
3266
Write a cron entry for the following scenario:- At 10:30 AM for every Sunday of
every 1st month of a quarter.
1. Why "d" is postfix in almost every service name of Linux like httpd, dhcpd? 2
. how to restrict su & ssh services for some users? 3. how can we configure a de
fault gateway for 10 n/w cards in a server? 6 3191
How to block the message in wall command some students are send messages to all
in the lab. please help me 5
7356
[Send This Question to Your Friend]
i dont know root password then this situation can we change or break root passwo
rd to ant process 5
2721
what is the difference between RHEL4 & RHEL5?
tcs 3
6211
what is the command to make a process to run in the foreground from background?
5
3321
how to give a normal user reboot and shutdown permission? Plz also mention the s
tep. 4
5937
what is the difference between service and process?
ibm 7
20016
tech-mahindra 6
3334
my clients are getting services from servers but how to know which client is usi
ng which service. is there any files to keep information about these? clients us
ed ftp, nis, samba, apache, squid, nfs and mail services how to know how many us
ers got service from server side with date,time and client system ip ? wipro 3
4097
[Send This Question to Your Friend]
i am working in one company and i attend intervew they asked why do u want to ch
age company pls give me inteligent answar 3
2608
[Send This Question to Y
our Friend]
how many hard disks can i able to connect to desktop pc and server (IDE & SATA)
pls send this ans to my mail : ping2pavan@gmail.com 1 2130
[Send This Quest
ion to Your Friend]
How to FTP user access other directory except his own home directory ? ibm 2
4152
what are the Linux-based security tools? 4
3011
can some one tell me the steps(with commands) to create LVM in RHEL 5???? 5
4648
In which File is Static IP address given so that it becomes Permanent ?
dcm [also asked @ wipro wipro]
10
5404
To Check Which Service is Running at Present in System what is the Command?
dcm 9
4648
what is emacs editor and feature........??????????????????????????? 1
1609
You have a computer with 80 GB hard disk and Ubuntu 8.04 is installed on entire
hard disk. Now you have to create a seprate partition for Windows OS and Install
Win Xp as Dual boot. write down the steps involed along with the commands.
indian-navy [also asked @ bhel bhel tata-steel-limited]
8
5832
[Send This Question to Your Friend]
which command is used to see all the system configuration? like hardware, HDD, m
emory etc.
eclinicalworks [also asked @ ads ads njn]
13
16100
[Send This Question to Your Friend]
What are the basic commands in LINUX? 6
7766
please advice me what i have to prepare for NIC Exam(22-feb- 09). send me the qu
estion pattern for the 2 hrs exam. please sent it to manivannan_it15@yahoo.co.in
google [also asked @ pge]
0
818
what are the features of Linux? 2
What is an inode?
4049
prodex-technologies 3
4658
7176
when i create SAMBA server it is ok but while i try for access from windows pc h
e ask me only first time smb password then i close samba login next time he can`
t ask for passwd why.? wipro 4
3687
I have Laptop. I want to assign DHCP ip address, but in my Laptop having Wireles
s and with wire NIC cards, it is possible to assign reserve ip address for both
NIC card, but same host name? aol 4
4308
Write a command to find all of the files which have been accessed within the las
t 30 days.
mphasis [also asked @ tcs tcs]
8
8681
[Send Th
is Question to Your Friend]
hcl 9
hcl 12
32173
hi friends how to reinstall the grub.conf file. once i delete the grub file in p
erminatle ofter how to get back that file. plz send me ans. regards. madhu.m 5
6064
find out what file systems supported by kernel? 4
how to add linux user to group? 18
4491
6770
wipro 5
4676
wipro 10
3450
wipro 1
11954
satyam 2
5306
yahoo 3
5912
4308
6296
satyam 2
2893
how many limitations of under directories in ext2/3 linux file system? logica-c
mg 1 3833
what is a superblock ? 1
3767
what is the command to check network interfaces in our system? how to set etho t
o 10 full duplex speed? 1
3843
[Send This Question to Your Friend]
what is the UID and GID of root user? Can a normal user can change the ownership
of a file? what is the command to change ownership of a file? ipsoft [also as
ked @ hcl hcl ]
9
26729
what is soft mount and hard mount? i have to make permanent nfs mount permanent
what shall i do?
ibm 4
12836
what is major and minor?
ibm 2
3491
what is the command to make a process to run in the background from foreground?
patni 5
4360
1.what is Kernel parameters? 2.how many cpu have use in your machine?
3
7599
consim
1.I want to change runlevel but the Users shall not be disturbed?how? 2.Disk hav
e 5gb disk utilization even though files unable to create, why? 3.what are the i
nternal and external command in linux? 4.sar command o/p? 5.how list the open fi
les? 6.what is kernel compiling? 7.How do u See complete configuration in ur sys
tem? 8.how will u make a daily updates with cron daily? 9.which port is associat
ed with ttys0? 10.specific some problems linux admin(if u are linux admin)faced
and how did u overcome it?
ibm [also asked @ tcs tcs]
10
6063
how to run the boot loader in the linux....... 5
what is user mode & kernel mode? 7
4400
23618
10522
7381
My machine is running half duplex mode how to change half duplex to full duplex?
oracle 4
5578
some one is asking my machine is slow what is your steps?
ked @ talent]
5
5195
what is mean by system calls
infotech 4
oracle [also as
9578
6535
Working in Linux/Unix platform, if any command dose not work, say # ls reports a
s command not found. what to do? 5
6438
[Send This Question to Your Frie
nd]
why do u want to join this company
infosys infosys wipro wipro wipro]
Hi guys, I am working in MNC from 1 and half year as Software Engg but not in pr
ogramming, its in Information Security. Now I am doing RHEL 5(Red Hat certificat
ion) to move into Linux Admin. Can anyone please give me the future scope of thi
s field and please send me the interview questions or links to get the idea. Tha
nks, Sushant. 1
3910
in unix how to change old name to new name
google 7
11627
what is the standard output in a file as well as disply it on the terminal optio
ns like A)pr B) tail C) tee D)nl
google [also asked @ thermotech-enginee
rs]
3
3838
what is command like " #(cd unixos; pwd) " tell me OUTPUT
4273
google 10
3511
google 7
what is "ls* " is run options are 1) x 2).x 3) hidden 4) no disply tell exact an
swer. google 6
4507
tell me command for" to create more than one name to a file".
6077
how to create a new file command
google 17
15306
what is command for "calj2007" google 2
3742
google 3
google 4
google 2
4312
google 4
3479
5478
how is the possible the "last 10 files present in the current directory and stor
es them in the file list".
google 9
5054
[Send This Question to Y
our Friend]
script is like x=10; y=20; [$x-ne$y]; echo $ please give me output.
[also asked @ amdoc ]
2
3216
what is Bourne shell.
1
3184
hp 2
hp [also asked
4908
3011
6265
hp 8
4840
hp 5
hp 2
3758
have you ever got warning message from unix admin that file system running out o
f space or not enough disk space?what will u do?
hp 5 4132
[Send Th
is Question to Your Friend]
How will retrieves incoming mails from different web sites
@ wipro wipro] 4
3205
hp [also asked
linux 0
5605
Display the Disk Usage of file sizes under each directory in currentDirectory ?
8
6514
What does the following command line produce? Explain each aspect of this line.
$ (date ; ps -ef | awk {print $1}' | sort | uniq | wc -l ) >> Activity.log
cisco 4
5010
What is the most graceful way to get to run level single user mode?
6558
difference between Tcp and udp 5
cisco 8
9367
9341
linux 7
7212
5202
5151
When is it better to use the more command rather than cat command? 3
4271
in LINUX,What are two subtle differences in using the more and the pg commands?
2
3813
Send me some of the commands being used in linux
ddys reddy-labs]
5
5483
http://www.allinterview.com/interview-questions/223-14/linux-commands.html