Tuesday, 17 July 2012

Configuring Yum in RHEL5

Normal 0 false false false MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} Configuring Yum in RHEL5...

Wednesday, 11 July 2012

Run Windows applications on Linux with WINE

One of the biggest reasons why some organizations resist the move to Linux is the lack of applications available for Linux users—or, more specifically, the lack of Windows applications. However, just because you want to run Linux as your operating system, that doesn't mean you have to abandon your favorite Windows application. You might be able to get it to run on Linux using WINE.What's WINE?WINE is an ongoing project that is intended to allow Linux users to run Windows applications in a Linux environment. Although not all Windows applications...

List All Users in Linux

To list all the users who can access a Linux machine we have to access the /etc/passwd file, which stores information about all registered users of that machine. But it is not really so easy as told above since the file contains many other fields & machine trust accounts & inbuilt accounts.We'll start by cat /etc/passwd As we all know that by default all the users created will have their home directories in /home share so we'll modify our command a bit by using grep. Now it'll becat /etc/passwd | grep "/home"Now we'll get all the...

Howto: Linux Add User To Group

How can I add a user to a group under Linux operating system? You can use the useradd or usermod commands to add a user to a group. The useradd command creates a new user or update default new user information. The usermod command modifies a user account i.e. it is useful to add user to existing group. There are two types of group. First is primary user group and other is secondary group. All user account related information is stored in /etc/passwd, /etc/shadow and /etc/group files to store user information.useradd Example - Add A New User...

Recover root password

How-To: Recover root password under linux with single user mode It happens sometime that you can't remember root password. On Linux, recovering root password can be done by booting Linux under a specific mode: single user mode.This tutorial will show how to boot Linux in single user mode when using GRUB and finally how to change root password. During normal usage, a Linux OS runs under runlevels between 2 and 5 which corresponds to various multi-user modes. Booting Linux under runlevel 1 will allow one to enter into a specific mode, single...

Tuesday, 10 July 2012

Cool Linux command tricks

he Linux command line is one of the most versatile tools you will ever use. It can do just about anything you can image for a machine. With such a large scope of tasks you can imagine just how much there is to learn. So, it’s always good  to have an arsenal of tricks at your fingertips.So…let’s take a look at some nifty trickery with the Linux command line.seqThis is one of the coolest (and most useful) tips I have ever come across.  The seq command will print out a sequence of numbers. So if you issue the command:seq 0 50You...

How to mount usb drive in linux

1. Detecting USB hard driveAfter you plug in your USB device to your USB port, linux will add new block device into /dev/ directory. At this stage you are not able to use this device as the USB filesystem needs to be mouted before you are able to retrieve any data. To find out what name your block device file have you can run fdisk command: # fdisk -l You will get output similar to this: Disk /dev/sdb: 60.0 GB, 60060155904 bytes255 heads, 63 sectors/track, 7301 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk identifier:...

Resize all your images in linux

I love linux only because it makes the work very simple.. So many inbuilt softwares which are commonly needed available in it. One of them is image editing.. Today , i was looking for image resizing software and at last i found an inbuilt tool which does an excellent job.. All you need to know is one command $ convert -resize 50% input.jpg output.jpg thats it.. the file input.jpg will be reduced to 50% and will be saved as output.jpg in the same folder .If you have a collection of images to be resized. Keep it in a single folder and follow this...

How to find files in linux

These are some of the useful commands to search files in linux system. Consider we need to list all the mp3 files in our system. Use the following command find / -name *.mp3 Now, we need to find a file which has the name in which some letters are s and e find / -name *se* if we need to search in a particular folder, just include the folder path find Softwares/ -name *se* Find command is useful but it will take some time to search the system if it contains too many files. Locate is a very simple and powerful command which can be used in place...

How to change file/folder permissions in linux

Recently i crossed through a serious issue of folder permissions.. I installed xampp in /opt folder which is under file system.. And i was not able to add or copy files into that folder. Even in the properties bar the option is shaded as i was not logged on as the root user.. Now, its the time to know how to unlock all permissions. User permissions can be provided using the command “chmod”. We have to specify for which user we are going to give permission and what permission we are going to approve. u user/ownerg groupo othera all and file...

how to use ls commands

Sometimes we need to display only the directories in a folder. At this case use the following command $ ls -l | egrep ‘^d’ It will display only the directory list with some options.. If you need to see only the files, use -v to get the converse effect of the above command $ ls -l | egrep -v ‘^d’ Every time we cant execute these big commands. Better we can use alias for these commands. let me call ldir as list directories lf as list files.. Now, we can create alias as $ alias ldir=”ls -l | egrep ‘^d’” and for files $ alias lf=”ls -l | egrep -v...

How to mount and unmount images in linux

When i was using Win xp i had to create a virtual drive through power iso, alcohol 120,daemon tool or nero smart… Everytime the trial period gets expired and i would be in trouble when i were in need to extract iso.. In linux mounting and unmounting iso images is so simple.. Here to we have some softwares to read iso.. gmountiso and isomaster.. there of few 100 kb size.. but through terminal its too simple.. Mounting: open the terminal Login as root by su command $ suPassword: Create a directory ie. mount point $ mkdir /mnt/mountpoint move...

How to format usb in linux using terminal

Hi friends today lets learn about   How to format usb drive or any external device.lets follow these steps and  learn and update your knowledge with my SpecialSite . of Prem verma. Here is the step to format your usb drive using linux terminal Step 1: Insert your usb drive. Wait till it mounts. Step 2: Login as super user by typing su command $ suPassword: Step 3: Use the following command to find the device name # fdisk -l check out the device boot name.. for example its /dev/sdb1 in my pc. Step 4: If you are using Ext3 type following...

Monday, 9 July 2012

A 2 Z LINUX ALL COMMANDS

Below given are the list of Linux commands which starts with A. We have provided a breif description for each command. To know more about each command and its usage try the following. man command-nameExample:man accept                                          A           accept - accept a connection on a socket ...

Pages (38)123456 Next

 

Subscribe to our Newsletter

Contact our Support

Email us: youremail@gmail.com

Our Team Memebers