Friday, August 30, 2013

NETWORKING QUESTIONS TOO MUCH MORE........FOLLOW TO CRACK THE INTERWIEW BY GORVAM SADDAR



Networkig Question
Networking Essentials Question Bank
  1. 1. 100BASE-FX runs over which of the following media types?
A. Category 5e cable
B. UTP (Unshielded Twisted Pair) cable
C. MMF (Multimode Fiber) optic cable
D. RG-58 (Radio Grade) coaxial cable
Answer: C
  1. 2. Which one of the following topologies does FDDI (Fiber Distributed Data Interface) use?
A. Star
B. Bus
C. Mesh
D. Ring
Answer: D
  1. 3. Which one of the following is an IEEE (Institute of Electrical and Electronic Engineers) copper cable standard?
A. 100BASE-FX
B. 100BASE-CX
C. 10 GBASE-LR
D. 10BASE-FL
Answer: B


TOO MUCH MORE........FOLLOW TO CRACK THE INTERWIEW

RHCE COMPLETE COMPLETE LINUX EXAM QUESTIONS PREPRATIONS PRACTICALS BY GORVAM SADDAR



Learn RHCE
Red hat Linux The Redhat Certification Program is most mature and respected Training Program on Linux. The World’s Leading Linux Certification. The RHCE certificate is a validation of your competency, undeniable proof of your skills, the standard track consist of RH-033, RH-133 and RH-253. It’s the leading choice of the IT professionals and their employers.
RHCE:RedHat Certified Engineer
RH-033:Red Hat Linux Essentials:
Course Duration
Normal Track – 2 weeks
Fast  Track – 3 Days
Designed for Beginners, and covers all skills to become a productive user, including installation and command line essentials                    
more…
RH-133:Red Hat Linux System Administration:
Course Duration
Normal Track – 2 Weeks
Fast Track     - 3 Days
In this module, you will start building skills in system administration on Red Hat Enterprise Linux, to a level where you can attach and configure a workstation on an existing network with virtualization.             more…
RH-253:Red Hat Linux Networking and Security Administration
Course Duration
Normal Track – 2 Weeks
Fast Track – 4 Days
In this module you will learn how to configure common Red Hat Enterprise Linux network services server-side setup, configuration, and basic administration. (DNS, NTP, NIS, Apache, SMB, DHCP, Send mail, FTP. Other common services: tftp, pppd,proxy                                            more…

group quota PERMISSIONS ON A USER BY GORVAM SADDAR



^^^^^^^^^^^^^^^^^^^^^^^^^^GROUP QUOTA^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

GROUP QUOTA ___ means to apply the quota on the users of a particular group so that they can
                                      Use only the limited resources like
                            
                                      They can use assigned amount of space on the hard drive
                             Or      they can make only assigned amount of files on his particular directory.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
No more files no more space
If a single user use the all limits then other users can do nothing not can make files and not modify there files to big files because they have not the space to expend there files.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Now how to do _________________

getfacl setfacl SPEACIAL PERMISSIONS GORVAM SADDAR


                                                           
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {#getfacl} or # {setfacl} ~~~~~~~~~~~~~~~~~~~~~~~~~

                        TO GIVE SPAECIAL PERMISIIONS TO A PARTICULAR USER ON A PARTICULAR FILE.
````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````

Intro___ normally we set the permissions for all users on a file but to set the permissions for a single
                   Or a particular file for the particular users is {setfacl} or {getfacl} commands are used

Or
          These {getfacl/setfacl} are used for the special permissions of a single file for the single user.

Now _____________________________________________________________________________
                   How to use the setfacl or getfacl for assign permissions”’””””””””””””””””””””””””””””
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
          CHECK PERMISSIONS::::::::::::::::::::::::::::::::::::::::::::
         
          #getfacl {filename} __________ to check the permissions on the file for any or all users or any.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

TO SET THE PERMISSIONS ON A FILE FOR A SINGLE USER__________________________

         
          #setfacl    -m  U:{username}:{rwx} {filename}__________ to set the permissions for a
                                                                                                          Particular user.


                                                For user  username     permissions      file for which the permissions are to set                      
                                                                 To which      applier for
                                                                Permission     user
                                                                applied                                                  

FILE SYSTEM



FILE SYSTEM OF LINUX_____________________________________

THERE ARE SIX [6] TYPES OF FILE SYSTEMS FOR THE LINUX.

1_EXT3_____EXTENDED FILE SYSTEM 3.
2_EXT2_____EXTENDED FILE SYSTEM 2.
3_VFAT_____VIRTUAL FILE ALLOCATION TABLE.
4_LVM _____LOGICAL VOLUME MANAGEMENT.
5_RAID_____REDUNDENT ARRAY OF INEXPENSIVE DISK.
6_SWAP____SWAP IS THE VIRTUAL MAMORY FILE SYSTEM FOR LINUX.

EXPLANATION _________________________________________________________
1_EXT3____IT IS VERY SECURE FILE SYSTEM. WE CAN NOT RECOVRE THE                 DATA IF WE FORMAT THE PARTITION WITH EXT3.
NO DATA RECOVRY POSSIBLE.

2_EXT2____IT IS NOT SO MUCH SECURE FILE SYSTEM. WE CAN RECOVER
                      DATA EVEN AFTER THE FORMAT WITH EXT2.
                      DATA RECOVERY POSSIBLE.

3_VFAT___IT IS THE VIRTUALFAT LIKE PARTITION WHICH WE CAN USE ON THE LINUX AS WELL AS ON THE WINDOWS XP O/S.
                     
                   IF WE HAVE THE LINUX AS WELL AS WIN XP ON THE SAME PC AND WE FORMAT OUR PARTITIONS IN THE FAT FILE SYSTEM THEN WE CAN USE ALL FILE PARTITIONS IN LINUX AS WELL AS IN THE XP.
__________  FAT/VFAT IS THE ONLY SILE SYSTEM THET SUPPORT LINUX&XP__________________________________________________

4_LVM___IF WE HAVE THE LVM FILE SYSTEM THENWE CAN MANAGE OUR DATA EVEN IF WE HAVE LASS SPACE B COZ WE CAN EXTEND THE PARTITION IN LVM FILE SYSTEM.
                   PARTITION CAN BE EXTENDED UP TO THE SIZE OF FREE SPACE

5_RAID___RAID IS USED FOR THE BACKUP OR FAULT TOLERANCE.

6_SWAP__SWAP IS THE FILE SYSTEM THET IS USED AS A VIRTUAL MEMORY FILE SYSTEM.
                   OR FOR THE VIRTUAL M/M DIFFERENT FILE SYSTEM IS USED IN THE LINUX          .
                  

FEATURES OF LINUX




FEATURES :-
·        Multi programming :-
                              Multi Programming feature allows many programs to be executed simultaneously by different users.

·        Time sharing :-
                              The programs are queued and CPU time is shared among them. Each program gets CPU time for a specific period and is then put back in the queue to wait its turn again as the next program in the queue is attended to.





·        Multi tasking :-
                               A program in Linux is broken down into tasks, each task being something like reading from or writing to the disk, or waiting for input from a user. The ability of any operating system to handle the execution of multiple tasks is known as multi-tasking.

·        Virtual Memory :-
                               The amount of physical memory may not always be sufficient for executing large applications or having multiple applications active at a point in time. In such situations a partition( that is a logical portion of the hard disk) can be utilize as the artificial or virtual memory.

·        Samba :-
                                The name Samba is derived from the Server Message Block or SMB. SMB is the protocol used Microsoft operating system to share file and print services.

ADVANTAGES :-


·        Reliability :-
                                 Linux is a stable operating system. Linux servers are not shut down for years together. This means that the users on the Linux operating system work consistently with the Linux server, without reporting any operating system failures.

·        Simple Upgrade and Installation Process :-
                                   The installation procedure of most Linux versions is menu-driven and easy. It includes the ability to Upgrade from prior versions. The upgrade process preserves the existing configuration files and maintains a list of its actions during installation.


·        Multiple Distributors :-
                                       Linux is offered by many organizations, each with their own added features. Therefore, the user has a wide variety of options available. Some distributors of Linux are Red Hat, Caldera, Mandrake, Debian, and  Slackware.

·        No Known Viruses :-
                                       Linux is said to be free of any virus attack. So far there are no known viruses for Linux.

·        Excellent Security Features :-
                                      Linux offers high security. This is the reason why many ISPs are replacing their current OSs with Linux.

FREEWARE ________LINUX WEBSITES GIVES US THE FREE SOFTWARES FOR THE LINUX AND ALSO NO NEED OF ANY SOFTEARW KEY.



                                                IMPORTANT FUNCTIONS OF LINUX
 
         There is some type of important functions in Linux like to change a start menu name like other which                         below
1...


TO KILL A PROCESS________________________________________________________________
        
It’s like a process is working on another terminal and by another user you have to terminate it or kill it from another user using another terminal


How to do like running ping command on terminal [TTY 1] on user [gourav]

            Tty1                 #ping 192.168.100.10
                                    Reply ###########################
                                    Reply ###########################

                       

            Tty2    root

                        Login: root
                        Passwd:


                        ] #ps –U gourav_____________ [here ps: - process,   -U: -- user,     & gourav: is like any user name]

                        3248: ping
                                                This type is how a code shown for the process which is in working on tty1 on gourav


Now to terminate the process on gourav user on tty1
                       
                        ] #kill [code]
Like                 ] #kill 3248



Then process of ping is terminated on the gourav user on terminal tty1       






_____________________________________________________________________________________________
2…

To change the NAME on the place of [OK] and [FAILED] when boot up or shutdown



] # vi /etc/init.d/functions _________ this is the file that contains the information about that open the file and go to
                                                            The line 396, insert mode and then edit it by nay name or something you want.



         Line: 396
                        Insert mode
                                            Edit or modify
                                                                    Then save and exit
                                                                                                  :wq!

Ok                                          


--------------------------------------------------------------------------------------------------------------------------------------------




To change the name before login

Open a file and edit in the last of the file

] #vi /etc/issue_______________



____________________________________________________________________________________________


To change the [motd] massage of the day

] # vi /etc/motd___________________ then write any massage here for display when login


Like

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


:wq!


To change the MACHINE NAME _______________________



                        ] # hostname [name]
                        ] # hostname gourav