Showing posts with label GORVAM SADDDR. Show all posts
Showing posts with label GORVAM SADDDR. Show all posts

Friday, August 30, 2013

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



DIRECTORY STRUCTURE OF LINUX



DIRECTORY STRUCTURE OF LINUX :-


·         /root :- Administrative user DIR when login through root user, the root users home directory. Some system related files or we can store data in this directory
·         /home :- Local user’s home DIR. Anyone can store data in this directory. We can use this directory as D:/
·         /etc :- All configuration files in this Dir file. System installation script, server configuration tools or all schedules in this directory.
·         /bin :- Local users and administrative user executable binary file.
·         /sbin :-only administrative users execute these binary files.
·         /var :- Printer  spooler. Log sheets (log creators)
·         /boot :- booting files, kernel images ( virtual kernel & permanent kernel). Grub boot loader file.
·         /proc :- information about hardware, device, CPU information, memory information.
·         /mnt :- temporary mount directory like CD-ROM, floppy.
·         /usr :- rpm – Linux. Red hat packet manager.
·         /tpm :- temporary files for 10 days.
·         /tft boot :- trival file transfer protocol
·         /dev :- it contains device drivers  files.
·         /opt :- it is for third party software.
·         /lost+found:-it acts as a recycle bin in the command mode and as a trash in The GUI mode.
·         /lib:- it contains the library a file of all software’s to open all software’s request is first gone to the /lib for open the application.
·          /temp:- it contains the all temporary files.