Basic Commands -1.1
To check the Present working directorySyntax :-[root@localhost`]# pwdExample :-[root@localhost~]# pwd/rootTo See the contents of a directory (folder)Syntax :-[root@localhost~]# ls <option>...
View ArticleBasic Commands -1.2
Creating files and adding data using cat commandSyntax :-[root@localhost~]# cat <option> <arguments>Example :- To create a file along with some data[root@localhost~]# cat >...
View ArticleCreating Directories & Directory Navigation
Syntax :-[root@localhost~]# mkdir <option> <directory name>Example :- Creating a single directory[root@localhost~]# mkdir directory1Example :- Creating multiple...
View ArticleBasic Commands - 2.0
Copying files and Directories[root@localhost ~]# cp <option> <source> <destination>Example :- To copy a file[root@localhost ~]# cp completereport /optTo check if the file has been...
View ArticleBasic Commands - 2.1
To View the calenderExample : To see the current month[root@localhost ~] # cal August 2011 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 1314 15 16 17 18 19 2021 22 23 24 25 26 2728...
View ArticleCreating an User
Syntax :-[roort@localhost~]# useradd <username>or[roort@localhost~]# useradd <option> <argument> <username>Options:-u -- UID...
View ArticleGroup Administration in Linux
Creating a GroupSyntax:- [root@localhost~]# groupadd <groupname> (or)[root@localhost~]# groupadd <option> <argument> <groupname>Options:-g -- Group ID-0...
View ArticleGroup Membership in Linux
Syntax:- [root@localhost~]# gpasswd <option> <arguments> <groupname>Options:-M -- Add multiple users to a group-A -- Add a group Administrator-a -- Add a single user to a group-d --...
View ArticlePermissions in Linux
Create three users:Example:[root@test119 ~]# useradd kavita[root@test119 ~]# useradd ramu[root@test119 ~]# useradd srinuMake ramu the member of the group kavitaExample:[root@test119 ~]# gpasswd -a ramu...
View ArticleDisk Quotas in Linux
1. Create 4 users as below a. Ravi with the default properties b. Sunil whose primary group is sales c. Tom whose primary group is sales d. Rani whose secondary...
View ArticleBackup and Recovery
Create a folderfor EX:-- /myfolder[root@tsmservertest ~]# mkdir /myfolder[root@tsmservertest ~]# cd /myfolder/Now create Some files and folders inside it.[root@tsmservertest myfolder]# mkdir...
View ArticleBoot Process in Linux
To View the default runlevel while booting the Linux Operating System[root@tsmservertest ~]# vi /etc/inittabid:5:initdefault: (End of the line in Fedora OS)Note: It means that OS by default always...
View ArticleUsage of chkconfig command
To view the status of the the services in all runlevels [root@localhost ~]# chkconfig --listTo view the status of the Particular services.For example Bluetooth[root@localhost ~]# chkconfig --list...
View ArticleTo Recover Root Password in Linux
1. Restart the PC while restarting press any key to get Grub Screen2. Press 'e'3. Select kernal /vmlinuz-2.6.18.-8.el5 ro root=LABEL=/ rhgb quiet4. Again Press 'e' to edit5. Edit kernal...
View ArticleSystem Process Commands in Linux
TO check the Process id of any application, command etc[root@localhost ~]# ps -auxTo kill a process normally[root@localhost ~]# kill <process_id>ex: -- [root@localhost ~]# kill 2521To kill the...
View ArticleNetworking in LINUX
Introduction to Networking in LinuxTo check the system hostname[root@localhost ~]# hostnamelocalhost.localdomainAssigning the hostname - temporarlySyntax:- [root@localhost ~]# hostname...
View ArticleNetwork Configurations in Linux
Assigning a static IP address --- temporarilySyntax:--[root@server ~]# ifconfig <devicename> <IP address>Example:-- To Assign the static IP address as 192.168.10.121[root@server ~]#...
View ArticleConfiguration of FTP Server in LINUX
Ftp server is designed for uploading and downloading the files, when ftp server users log's in, they get their home folder at client side and if public/anonymous user log's in they get data stored in...
View ArticleInstalling Red Hat Enterprise linux 5 step by step
For installing Red hat Linux Enterprise Edition 5, Do the following StepsStep 1: Turn on the system and insert the First CD, then you will get the following Screen.Step 2: From the...
View Articlesamba server configuration in rhel5 step by step
Samba configuration in Linux MachinesSamba is a suite of utilities that allows your Linux Machines to share files and other resources.such as printers with Windows Machines.Before configuring Samba...
View Article