Sunteți pe pagina 1din 3

The Linux Juggernaut

HOME ADMINISTRATION FREE E-BOOK SCRIPTING BASICS INTERVIEWS CLUSTERS SERVERS DATABASE SECURITY VIRTUALIZATION

MONITORING

Basic linux commands interview questions


Aug 18, 2011

1)Give me 15 commands which you use frequently

SUBSCRIBE FOR FREE..!

Depends on the environment you work. Some examples are mkdir For creating folders( use -p option to create multiple folders at a time) ls List folders/files( check what ls -1 do) top To monitor system activities lsof To check whats happening on the server and which process open which file. netstat -tcp Gives you complete picture about network connection details. vnstat Gives you Network band width statics sh For running shell scripts history For monitoring the commands executed by users cd For changing directories vi - -For editing configuration files. chmod To change permissions of folders and files.
TOP POSTS What is SUID and how to set SUID in Linux/Unix? How to check a service is running or not in Linux? What is a sticky Bit and how to set it in Linux? Linux TOP command explained How To Install Apache Tomcat on Linux(Redhat/Ubuntu)? How to mount a remote directory in Linux using sshfs Basic linux commands interview questions What is SGID and how to set SGID in Linux? Linux/Unix Shell PS1 prompt explained in detail FOLLOW ME:

mount For mounting formated partitions. service For start/restart/stop a service. chkconfig For permanent on/off a service. fdisk -l To list all the partitions This is my own list, you can have your list. 2)Give me some commands for user management. last, chage, chsh, lsof, chown, chmod, useradd, userdel, newusers. 3)Give me syntax checking commands for following services DNS, SAMBA, Apache etc 4)What is the command to do password less logins to other machines. expect and ssh-keygen 5)Give me some security monitoring related commands.

PAGES About US Advertise Contribute Get your free e-book today Testimonials

lsof, netstat, top, ps -ef, tail, last, tcpdump, sestatus, history, w. 6)What is the difference between man, info, whatis commands and a help option for a command? whatis gives you one line answer. help option for a command gives you one line answers for each option supported by a command man command gives you medium size info. info command gives full details about a commands, lots and lots of information about a command. Please share your interview questions with us, we post them here so that others can get help from this.
Share this: Share

linuxnix.com
The Linux Juggernaut is a blog deals with Linux system administration,Linux security,Linux server related issues, Linux basic system administration all related to Linux administration

View Full Profile

Related posts:
1. All About info, man, whatis, whereis, help Commands 2. Commands On Commands 3. Linux Interview Questions:Basic 4. Linux interview questions 5. Linux interview questions :FTP

How to debug a Shell script in Linux

Require your valuable inputs on new site name selection

4 Comments
SOMNATH
MAY 07, 2012 @ 16:57

REPLY

pls provide help to configure mail notification alert in nagios. I configured nagios 3.1.0 on rhel 5.1 with web interface.

SURENDRA
JUL 27, 2012 @ 07:22

REPLY

This folder contains the files with no links and files to be required. This folder is present in a folder which is mounted on a partition. In other words we can for each partition we have this folder so that any file to be recovered is kept in this folder. fsck command is used to recover these files.

LOKENDRA SINGH

REPLY

FEB 17, 2013 @ 04:31

ur blog is really good for the people who are beginner great job

JASWANT
MAR 25, 2013 @ 06:48

REPLY

Your all post is very help fule. i am posting my some interview question. 1. what is zombi process. 2. what is runlevel

Leave a Reply
Enter your comment here...

THE LINUX JUGGERNAUT


The Linux Juggernaut 2013 Thanks to My Buddy Surya Telaprolu for customizing this blog

S-ar putea să vă placă și