 |
|
12-11-2006, 05:40 PM
|
#1 (permalink)
|
|
Just another linux lover.
Join Date: Jun 2006
Location: Bangalore, KA
Posts: 562
|
Linux: Making Life Easy
Hello friends,
As many of us using Linux as our prime operating system, it is very important to keep it loaded with all the goodies we can't live without. I am starting this new thread to discover the possibilities of the Open Source Software and what can be done using OSS. I also want you to contribute to this thread with useful tips, news and ofcourse your own experience with Linux...
So here it goes...
Quote:
Do you know...
Why linux can be updated without rebooting. Check this out-->
Why linux can be updated without rebooting
Why "su" is not equal to "su -" -->
If you switch user to root without the dash you do not get roots path, but your present working directory does not change.
if you switch to user root with the dash, you get roots path and your present working directory change to roots home directory.
|
__________________
Today is a most unusual day, because we have never lived it before; we will never live it again; it is the only day we have.
(Registered Linux User #432737 - subratabera.blogspot.com)
Last edited by subratabera; 04-09-2008 at 12:25 AM.
Reason: Automerged Doublepost
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
12-11-2006, 05:56 PM
|
#2 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Linux: Making Life Easy
__________________
Bad Bad server.....No candy for u!
|
|
|
12-11-2006, 07:14 PM
|
#3 (permalink)
|
|
The Thread Killer >:)
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
|
Re: Linux: Making Life Easy
Thank you! Hope this thread becomes a sticky
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
|
|
|
12-11-2006, 07:50 PM
|
#4 (permalink)
|
|
Resident Fanatic
Join Date: Jul 2006
Location: /Milky way/earth/india/
Posts: 911
|
Re: Linux: Making Life Easy
Yeah thnx for the Links.
It helped me a Lot.
__________________
----------
|
|
|
12-11-2006, 09:28 PM
|
#5 (permalink)
|
|
The No.1 Stupid
Join Date: May 2005
Location: CYBERYARD
Posts: 1,708
|
Re: Linux: Making Life Easy
whoa gr8 links.
thanx guys.
__________________
n00b forever...
|
|
|
13-11-2006, 07:54 AM
|
#6 (permalink)
|
|
Just another linux lover.
Join Date: Jun 2006
Location: Bangalore, KA
Posts: 562
|
Re: Linux: Making Life Easy
Random News..
Surprise! Microsoft Windows Live is protected by Linux!!
Check this out...
http://truehacker.blogspot.com/2006/...owered-by.html
__________________
Today is a most unusual day, because we have never lived it before; we will never live it again; it is the only day we have.
(Registered Linux User #432737 - subratabera.blogspot.com)
|
|
|
13-11-2006, 03:21 PM
|
#7 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Linux: Making Life Easy
Here's a script that makes ur life more easy!
Quote:
echo -n "Enter shutdown timing (like 06-00) : ";read tim
echo "Shutdown scheduled for $tim"
while [ 1 ]
do
if [ "`date "+%H-%M"`" = "$tim" ];then
echo "`date -R`" > log.log
/sbin/shutdown -h now
echo "SHutdown Initiated"
exit
else
echo -n ""
fi
done
|
1. Save it as "autoshutdown.sh"
2. As root command "sh autoshutdown.sh"
3. Fill 07-00 for 7AM, 19-00 for 7PM and 04-35 for 4.35 AM!
Its a autoshutdown script made purely by me some 2 yrs back and still use it to shutdown my PC when required! Its good for people who have MTNL night plan. So that they can download torrents all night and shutdown PC automatically before or at 8 AM. U can use it for other purposes toooo! I hope u like it.
__________________
Bad Bad server.....No candy for u!
|
|
|
13-11-2006, 03:26 PM
|
#8 (permalink)
|
|
GaurishSharma.com
Join Date: May 2005
Location: Jaipur
Posts: 4,116
|
Re: Linux: Making Life Easy
i shutdown using this method or from terminal. next time a get a warning from azureus and other that i was not shut tidily. so how to unload and the apps from the memory( like we close them manully)??
|
|
|
13-11-2006, 03:43 PM
|
#9 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Linux: Making Life Easy
Oops! Well I have said so that people can use it when downloading torrents. But personally I neva downloaded a single torrent yet on my PC. I actually use it when large files from websites are being downloaded using download accelerator/resumer , when using limewire etc.
Well u can ignore the Azureus warning if the torrent resumes fine. Or it may have a shutdown option to close it itself. The kill command use to close apps can be used. But it will be same as shutdown as it executes kill for all processes finally! So if the torrent resumes fine, u can ignore the warning!
__________________
Bad Bad server.....No candy for u!
|
|
|
13-11-2006, 03:52 PM
|
#10 (permalink)
|
|
GaurishSharma.com
Join Date: May 2005
Location: Jaipur
Posts: 4,116
|
Re: Linux: Making Life Easy
also i have seen myself, the system shutdown in a diffrent way as we do it with a script or through terminal, while the normal way is clicking on shutdown icon.
i do'nt know much about shell so can't tell but it seems two diffrent methods are envolved.
|
|
|
13-11-2006, 04:31 PM
|
#11 (permalink)
|
|
Just another linux lover.
Join Date: Jun 2006
Location: Bangalore, KA
Posts: 562
|
Re: Linux: Making Life Easy
Quote:
|
Originally Posted by mediator
Here's a script that makes ur life more easy!
|
Thanks...
That's a good one...
The thread is updated with more links (Games, Web resources sections)...
Check it out...
(I hope mods will make this thread a sticky...)
__________________
Today is a most unusual day, because we have never lived it before; we will never live it again; it is the only day we have.
(Registered Linux User #432737 - subratabera.blogspot.com)
Last edited by subratabera; 13-11-2006 at 04:48 PM.
Reason: Automerged Doublepost
|
|
|
13-11-2006, 04:53 PM
|
#12 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: Linux: Making Life Easy
ppl ppl y? u can use cron to set timings for ur d/ling torrents may be u can use some gui's for crond like gnome-schedule
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
13-11-2006, 08:31 PM
|
#13 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Linux: Making Life Easy
^^Thats correct P.K. Neways never knew of Gnome-Scehule. But I trust mah own programs and shell scripts more than GUI ones. There were 2-3 popular programs on windows (hell forgot their name now). They offered to shutdown automatically. But many times when I woke up around 10 am (shutdown timing scheduled for 8am) I found the PC still running and their count gone!! 
Windows commandline in that case is much better than the GUI ones. Similarly for such simple things I prefer shell scripts. I don't trust GUI in these cases much!!
__________________
Bad Bad server.....No candy for u!
|
|
|
13-11-2006, 11:40 PM
|
#14 (permalink)
|
|
Just another linux lover.
Join Date: Jun 2006
Location: Bangalore, KA
Posts: 562
|
Re: Linux: Making Life Easy
Another good news for Linux Gaming...
ATI offers DirectX - OpenGL converter. And yes its open source...
http://www.macworld.com/news/2006/11...lsl/index.php#
__________________
Today is a most unusual day, because we have never lived it before; we will never live it again; it is the only day we have.
(Registered Linux User #432737 - subratabera.blogspot.com)
|
|
|
14-11-2006, 03:18 AM
|
#15 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Linux: Making Life Easy
Nice!
__________________
Bad Bad server.....No candy for u!
|
|
|
14-11-2006, 10:48 AM
|
#16 (permalink)
|
|
In The Zone
Join Date: May 2004
Location: dehradun
Posts: 389
|
Re: Linux: Making Life Easy
a good thread.
__________________
Music is like Sex, The more you get, the more you want.
|
|
|
15-11-2006, 04:27 PM
|
#17 (permalink)
|
|
Just another linux lover.
Join Date: Jun 2006
Location: Bangalore, KA
Posts: 562
|
Re: Linux: Making Life Easy
Tutorial: How To transfer your Linux system to a new hard drive...
Quote:
Materials
- Old drive (duh)
- New drive
- Linux install disc (any live cd will do, I just happened to use that as it was the first bootable Linux CD I found)
- A bit of time
Procedure
1) Hook up new drive. I used secondary master, hdc.
2) Reboot into the live CD, this saves complications of dynamic directories and such.
3) Partition the drive with cfdisk or equivalent. Make sure you set up the same partition layout as previously. I had a 20GB drive to work with, so I created 1.5gb for / (partition 1), 256mb swap (partition 2), and 18gb for server data (partition 3).
This mirrored my existing setup, the only difference being that the new partitions were much larger.
4) Time to format (reiserfs, for example):
mkreiserfs /dev/hdc1
mkswap /dev/hdc2
mkreiserfs /dev/hdc3
5) Mount the root partitions:
mkdir /mnt/old
mount /dev/hda1 /mnt/old
mkdir /mnt/new
mount /dev/hdc1 /mnt/new
6) Copy the old partition onto the new one:
cp --recursive --verbose /mnt/old/bin /mnt/new/bin
7) Get a drink, take a walk, etc. This is going to take a while.
8) Repeat steps 5-7 as needed for other partitions. For example, to copy your /home on hda5 to hdb5:
mount /dev/hda1 /mnt/old/home
cp --recursive --verbose /mnt/old/home /mnt/new/home
9) Once it's finished, check out the new fstab:
vi /mnt/new/etc/fstab
10) Verify that all the partitions are still arranged how you want them set up.
11) Run lilo on the new drive to make it bootable (for Grub support, go here):
chroot /mnt/new
/sbin/lilo
exit
12) If all went well, you should be able to shut down, swap the new hard drive into the position of the old one, and boot into your much roomier new hard drive.
|
Source: http://www.openaddict.com/page.php?4
__________________
Today is a most unusual day, because we have never lived it before; we will never live it again; it is the only day we have.
(Registered Linux User #432737 - subratabera.blogspot.com)
|
|
|
15-11-2006, 07:09 PM
|
#18 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Linux: Making Life Easy
Hehe, this guide will surely rock. I'll gonna try this one when I'll have the time. Thanx man!
__________________
Bad Bad server.....No candy for u!
|
|
|
17-11-2006, 05:35 PM
|
#19 (permalink)
|
|
Just another linux lover.
Join Date: Jun 2006
Location: Bangalore, KA
Posts: 562
|
Re: Linux: Making Life Easy
OK. Here I am again with something new...
I know all of you Linux fans like UBUNTU but feels something missing and then customize it to your taste by installing FLASH, JAVA, AMAROK, REALPLAYER etc. etc.
What if you get all these goodies preinstalled and ready to use. Well, then you should try...
Linux Mint 2.0 "Barbara"
It is Ubuntu "Edgy Eft" all dressed up in DECENT colors and everthing is installed already. I mean everything you would download after a install. Java, Flash, MP3 codecs, Windows codecs, DVD playback - already installed.
According to a review it loads much more faster and has an updated splash screen and a custom boot screen.
Give it a try...
__________________
Today is a most unusual day, because we have never lived it before; we will never live it again; it is the only day we have.
(Registered Linux User #432737 - subratabera.blogspot.com)
Last edited by subratabera; 17-11-2006 at 06:28 PM.
|
|
|
17-11-2006, 09:14 PM
|
#20 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Linux: Making Life Easy
Kewl mahn! Noobies gonna luv this!
__________________
Bad Bad server.....No candy for u!
|
|
|
18-11-2006, 12:39 PM
|
#21 (permalink)
|
|
Just another linux lover.
Join Date: Jun 2006
Location: Bangalore, KA
Posts: 562
|
Re: Linux: Making Life Easy
Cube
===
This is a free single and multi player 1st person shooter game with some satisfying fast oldskool gameplay. A large variety of gameplay modes from classic SP to fast 1 on 1 MP and objective based teamplay, with a great variety of original maps to play on...
http://wouter.fov120.com/cube/
__________________
Today is a most unusual day, because we have never lived it before; we will never live it again; it is the only day we have.
(Registered Linux User #432737 - subratabera.blogspot.com)
Last edited by subratabera; 18-11-2006 at 12:44 PM.
|
|
|
19-11-2006, 11:14 PM
|
#22 (permalink)
|
|
Just another linux lover.
Join Date: Jun 2006
Location: Bangalore, KA
Posts: 562
|
Re: Linux: Making Life Easy
Linux Easter Egss
Quote:
As with most Linux distros or Open-Source programs, there are several easter eggs in them, the hard part is finding them. We've done the work of searching the net for those that we could find, and here they are.
1. The Book of Mozilla
Open a Firefox, Mozilla, or Netscape tab or window, and type: “about:mozilla” in the URL field. You will get a message from the book of Mozilla, depending on your version, you will get 1 of 3 passages from here: http://www.mozilla.org/book/
It is said that if it's done in Internet Explorer that it will give a blue screen similar to the wonderful BSOD.
2. Hidden Release Names
These funny “Ubuntu names” are stored in your Ubuntu kernel documentation files:
jonathan@highvoltage-t42 $ zcat /usr/share/doc/linux-image-`uname -r`/changelog.Debian.gz | egrep -e "Release"
The "Ben got a PowerBook for Christmas" Release.
The "Quickest re-release ever" Release
The "Oh crap, what did I get myself into?" Release.
The "Welcome Ben!" Release.
The "Morose Mungbean" Release.
The "Laughing Lentil" Release.
...
There’s also:
jonathan@highvoltage-t42 $ zgrep "The.*Release" /usr/share/doc/dpkg/changelog.Debian.gz
The "Good, clean fun" Release.
The "Bully's Special Prize" Release.
The "On like Donkey Kong" Release.
The "In like Flynn" Release.
The "Maidenhead Creeping Water Plant" Release.
The "Just kidding about the God part" Release.
The "Flatulent Elm of West Ruislip" Release.
The "? ????????????" Release.
...
3. OpenOffice.org Star Wars
Star Wars is only one of the games that are added in OO.o, with a simple search around the net you'd be suprised by how many extras there are.
Open up OpenOffice.org2 Calc, then enter:
=Game(”StarWars”)
in any cell and press enter!
4. Apt-Get Fun
Apt-get and aptitude both have some nice little easter eggs, you have to work a little harder to get aptitude to cooperate. Note: The text in italics is what you type in at the termianl and the text after it is the response you get.
Open a terminal and run the following:
apt-get moo
(__)
(oo)
/——\/
/ | ||
* /\—/\
~~ ~~
….”Have you mooed today?”…
aptitude help
This aptitude does not have Super Cow Powers.
aptitude moo
There are no Easter Eggs in this program.
aptitude -v moo
There really are no Easter Eggs in this program.
aptitude -vv moo
Didn’t I already tell you that there are no Easter Eggs in this program?
aptitude -vvv moo
Stop it!
aptitude -vvvv moo
Okay, okay, if I give you an Easter Egg, will you go away?
aptitude -vvvvv moo
All right, you win.
/—-\
——-/ \
/ \
/ |
—————–/ ——–\
———————————————-
aptitude -vvvvvv moo
What is it? It's an elephant being eaten by a snake, of course.
This is a reference to Antoine de St. Exupery's "The Little Prince"
5. Gnome Fun
Under Gnome, press Alt+F2 (to execute a command), and then, type: "free the fish" (without the quotation marks of course).
You can also open the About Panels dialog box and press the "f" key three times.
A fish will then appear on the screen and will keep moving around. Apparently the only way to stop it is to kill the panel process.
Again, press Alt+F2 and type "gegls from outer space" (without the quotation marks of course). The result is a space invaders game but with cows
|
Source: http://blog.fasttracksites.com/index...viewentry&id=5
__________________
Today is a most unusual day, because we have never lived it before; we will never live it again; it is the only day we have.
(Registered Linux User #432737 - subratabera.blogspot.com)
|
|
|
20-11-2006, 12:52 AM
|
#23 (permalink)
|
|
El mooooo
Join Date: Jan 2006
Location: India
Posts: 1,414
|
Re: Linux: Making Life Easy
Wow! Didn't know about the OOo one. Cool one 
BTW for Mozilla there is another one. Try typing about :kitchensink in your URL bar and see.
|
|
|
21-11-2006, 02:34 PM
|
#24 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Linux: Making Life Easy
Hi guys, Here's another shell script to make ur life easy!
Half of the 'how to' was gathered by me from some place else and the rest is purely mine!!
Quote:
#!/bin/sh
# File info.sh by P.S.
echo "Hello $HOSTNAME!"
men()
{
echo -e "\n*********************************"
echo "0. Bring up the menu"
echo "1. CPU info "
echo "2. partition info "
echo "3. Memory info "
echo "4. Usb info"
echo "5. Graphic hardware"
echo "6. CDROM"
echo "7. Kernel info"
echo "8. Mac Address"
echo "9. EXIT "
echo "*********************************"
echo ""
}
men
while [ 1 ]
do
echo ""
echo -n "Option : ";read option
echo ""
case $option in
0)men;;
1)
echo "**** Host Info ****"
echo -e "\n--- CPU Info ---"
cat /proc/cpuinfo | grep model
cat /proc/cpuinfo | grep MHz
cat /proc/cpuinfo | grep cache;;
2)
echo "****Partitions****"
cat < /proc/partitions
echo "**** more ****"
df;;
3)
echo -e "\n--- Memory Info ---"
cat /proc/meminfo | grep MemTotal;;
4)
echo -e "\n--- USB Hubs ---"
lspci | grep USB;;
5)
echo -e "\n--- Graphics Hardware ---"
lspci | grep VGA;;
6)
echo -e "\n--- CDROM ---"
dmesg | grep CD;;
7)
echo -e "\n-- Kernel Version ---"
cat /proc/version;;
8)
echo -e "\n-- Mac Info -- "
ifconfig -a | grep HWaddr;;
9)echo -e "\033[31m"
echo "Thanx 4 using mah script."
echo "If u need any help contact me at darkmediator@gmail.com"
echo -e "\033[0m"
exit;;
*)echo "Enter Valid options";;
esac
done
|
1. Make sure the commands like lspci,dmesg,ifconfig etc are in path!
2. . Save the above script as "hostinfo.sh"
3.. Run it as "sh hostinfo.sh"
4. Njoy!
NOTE : In the script where there's a smiley with black glasses, its actually "option 8". So please correct it urself. I dunno why it happened here, but the code became a smiley !
I hope u like it! Njoy the Linux the world !
__________________
Bad Bad server.....No candy for u!
|
|
|
21-11-2006, 02:55 PM
|
#25 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: Linux: Making Life Easy
@mediator:good one,You can attach the script as .txt in the forum.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
21-11-2006, 04:09 PM
|
#26 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Linux: Making Life Easy
^^ OK I attached it!
__________________
Bad Bad server.....No candy for u!
|
|
|
21-11-2006, 07:22 PM
|
#27 (permalink)
|
|
Just another linux lover.
Join Date: Jun 2006
Location: Bangalore, KA
Posts: 562
|
Re: Linux: Making Life Easy
Great script...
__________________
Today is a most unusual day, because we have never lived it before; we will never live it again; it is the only day we have.
(Registered Linux User #432737 - subratabera.blogspot.com)
|
|
|
21-11-2006, 08:43 PM
|
#28 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Linux: Making Life Easy
Thanx bro!
__________________
Bad Bad server.....No candy for u!
|
|
|
25-11-2006, 05:19 PM
|
#29 (permalink)
|
|
Just another linux lover.
Join Date: Jun 2006
Location: Bangalore, KA
Posts: 562
|
Re: Linux: Making Life Easy
20 Must Read HOWTOs and Guides for Linux
Topics covered...
Quote:
Advanced Bash Scripting
Bluetooth on Linux
Introduction to Linux
IPTables
Linux Administration Made Easy
Linux Complete Backup and Recovery
Linux Dictionary
Linux Encryption
Linux Gamers
Linux IPv6
Linux on the Road
Linux Security
Linux System Administrator’s Guide
Networking Overview
Online Troubleshooting Resources
Printing in Linux
Qmail & ClamAV
Unix Hardware Buyer
Wireless Networking
XWindow User
|
__________________
Today is a most unusual day, because we have never lived it before; we will never live it again; it is the only day we have.
(Registered Linux User #432737 - subratabera.blogspot.com)
|
|
|
27-11-2006, 05:46 PM
|
#30 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Linux: Making Life Easy
Here's a nice link of Open source packages!
http://en.wikipedia.org/wiki/List_of...tware_packages
Typo cleared!
__________________
Bad Bad server.....No candy for u!
Last edited by mediator; 27-11-2006 at 11:28 PM.
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|