This tutorial will explain how to format a HDD in Linux, You can use the method to format USB pens & HDDs also. The tutorial only explains how to format the HDD in EXT3 file system, Read the manual of the mkfs command to learn more.
# man mkfs
http://tiny.cc/MkV3n
Tuesday, March 11, 2008
Formatting a Hard Disk Drive in Linux
Posted by jyrxs at 12:29 PM
Labels: Formatting a Hard Disk Drive in Linux, Linux Commands
Redirecting Your Emails from One Account to Another
This tutorial explains a simple method to redirect your emails to another account.
http://www.go2linux.org/how-to-use-the-.forward-file
Posted by jyrxs at 12:23 PM
Labels: Redirecting Your Emails
Sunday, March 9, 2008
Linux Unerace Undelete Command
This is a tutorial explaining how to undelete data in Linux
http://tiny.cc/tMJGW
As explained above, We can't undelete or unerace files in Linux, But try out the following live Linux distributions, These are used for system rescue operations.
Trinity Rescue Kit - Website
SystemRescueCd - Website
26/03/2008 - I found this article on how to undelete files form ext3 file system, interesting..
Posted by jyrxs at 4:32 PM
Labels: CentOS, Fedora, Linux Commands, Linux Unerace Undelete Command, Redhat, Ubuntu
Finding All Hosts on a Network
This is nice little script to find out all hosts in a Linux or a Windows network
http://tiny.cc/aYs2h
Posted by jyrxs at 4:25 PM
Labels: CentOS, Fedora, Finding All Hosts on a Network, Linux Commands, Redhat, Ubuntu
Software Managment In Ubuntu
This community guide explains how to manage software in Ubuntu
https://help.ubuntu.com/community/SoftwareManagement
Want a GUI software manager
https://help.ubuntu.com/community/SynapticHowto
Posted by jyrxs at 9:07 AM
Labels: Linux Commands, Software Managment In Ubuntu, Ubuntu
Using YUM and RPM in RedHat / Fedora / CentOS
This is a guide to learn all the things about RPM (Red Hat Package Manager)
http://docs.fedoraproject.org/drafts/rpm-guide-en
This is a guide to learn all the things about YUM (Yellow dog Updater, Modified)
http://docs.fedoraproject.org/yum/en
Posted by jyrxs at 8:46 AM
Labels: CentOS, Fedora, Linux Commands, Redhat, Using YUM and RPM
Wednesday, March 5, 2008
Enabling Compiz Fusion on Fedora
Read this tutorial to learn how to enable compiz fusion on Fedora
http://www.howtoforge.com/compiz-fusion-fedora8-nvidia-geforce-fx-5200-p2
Posted by jyrxs at 4:20 PM
Labels: Compiz Fusion, Fedora
Tuesday, March 4, 2008
Adding Cron Jobs in Linux (Schedule Tasks)
Tutorial about adding cron jobs in Linux (schedule tasks)
http://tiny.cc/DsJr7
Offline NT Password & Registry Editor
A cool bootable CD/Floppy to reset Admin password in M$ Windows, Be sure to read the FAQ section for some cool solutions.
http://home.eunet.no/pnordahl/ntpasswd
Posted by jyrxs at 8:59 AM
Sunday, March 2, 2008
Removing Users From Groups In CentOS / RHEL / Fedora
Removing Users From Groups In CentOS / RHEL / Fedora In CLI
So many websites will explain how to add a user to a group, but if i need to remove a user from a group in the CLI how to do it, This is how..
If you don't know how to add a user to a group read the following tutorial.
http://tiny.cc/W0bzu
How to remove a user from a group.
I have not found any commands for this so I'll teach a manual method.
Assume there is a group call "group1" and there are three members in the group call "user1", "user2", "user3"
I want to remove "user2" from "group1"
1. The group details will be stored under two files call "group" and another call "gshadow", We'll examine the files first
# cat /etc/group
You'll find a line as follows
group1:x:503:user1,user2,user3
# cat /etc/gshadow
You'll find a line as follows
group1:!::user1,user2,user3
2. Now what we have to do is, manually remove "user2" from the "group1", Give the following command.
# vigr
The above command will open "/etc/group" file in VI text editor.
3. Use the down arrow key and go up to "group1:x:503:user1,user2,user3" line and press " i " to go to insert mode, and delete "user2" from the line, Now it'll look like this.
group1:x:503:user1,user3
Then press "esc" and type" :wq " to save and exit the file. It'll ask a question as follows,
You are using shadow groups on this system.
Would you like to edit /etc/gshadow now [y/n]?
Press " y " and press "enter"
Now it'll open "/etc/gshadow" file in VI text editor.
Use the down arrow key and go up to "group1:!::user1,user2,user3" line and press " i " to go to insert mode, and delete "user2" from the line, Now it'll look like this.
group1:!::user1,user3
Then press "esc" and type" :wq " to save and exit the file.
4. That's it, now the "user2" is removed from "group1"
This is another way to do it but you want be able to completely remove a user from the groups he/she belong to.
http://tiny.cc/zMm7x
Posted by jyrxs at 4:05 PM
Labels: CentOS, Fedora, Linux Commands, Redhat, Removing Users From Groups
Saturday, March 1, 2008
Controlling Services In Linux
In a Linux box lot of services will be started during the startup, but we may not need all the services automatically getting started. We can turn off the unwanted services and make our system faster.
1. Read the following tutorial and get an idea about Linux services, although it's written for fedora, all these services will be similar in all Linux systems.
http://www.mjmwired.net/resources/mjm-services-f8.html
2. Controlling
In Ubuntu, RedHat, Fedora, CentOS (GUI)
Go to System -> Administration -> Services -> Unselect unwanted services
In Redhat, Fedora, CentOS (CLI)
# chkconfig servicename off
If you want to turn the service on again
# chkconfig servicename on
Or type
# ntsysv
And using the space bar you can select or unselect the services.