Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts
Friday, March 21, 2014
Linux Commands
Most Used Commands for Linux (Servers)
ls
cd
cp (copies files)
mv (rename or move files)
rm (removes--deletes files)
chmod (changes permissions)
Explanation of essential and most used Linux commands
Explanation of Linux (Unix) Commands
ls -l this will list a directory and details about all the listed files
cd .. will go up a directory
cd will change to the highest level directory (root directory)
Read more »
ls
cd
cp (copies files)
mv (rename or move files)
rm (removes--deletes files)
chmod (changes permissions)
Explanation of essential and most used Linux commands
Explanation of Linux (Unix) Commands
ls -l this will list a directory and details about all the listed files
cd .. will go up a directory
cd will change to the highest level directory (root directory)
Wednesday, February 19, 2014
Desktop publishing with Ubuntu linux
I am talking about two of the popular applications to use for desktop publishing.
1) scribus

"Scribus is powerful software that helps you create great looking documents of all kinds."
http://www.scribus.net/
2) inkspace

"Inkscape is an open-source vector graphics editor similar to Adobe Illustrator, Corel Draw, Freehand, or Xara X. What sets Inkscape apart is its use of Scalable Vector Graphics (SVG), an open XML-based W3C standard, as the native format."
http://inkscape.org
1) scribus

http://www.scribus.net/
2) inkspace

"Inkscape is an open-source vector graphics editor similar to Adobe Illustrator, Corel Draw, Freehand, or Xara X. What sets Inkscape apart is its use of Scalable Vector Graphics (SVG), an open XML-based W3C standard, as the native format."
http://inkscape.org
Labels:
desktop,
linux,
publishing,
ubuntu,
with
Puppy Linux 4 00
Do you have old computer lying around in your store. Want to give life to it. Have you heard of puppy Linux?
Try it for yourself.
Puppy really is small, the live-CD typically being 85MB, yet there really is a complete set of GUI applications. Being so small, Puppy usually loads completely into RAM, which accounts for the incredible speed.
Hardware Requirementshttp://puppylinux.com/
CPU : Pentium 166MMX
RAM : 128 MB physical RAM for releases since version 1.0.2 or failing that a Linux swap file and/or swap partition is required for all included applications to run; 64 MB for releases previous to 1.0.2
Hard Drive : None
CDROM : 20x and up
Try it for yourself.
Wednesday, February 12, 2014
How To Change Mac Address In Linux
Q. How can I change the mac address of network card in my Ubuntu box ?
Ans. Changing mac address is very simple. You only need the command ifconfig. Follow the steps below:
Read more »
Ans. Changing mac address is very simple. You only need the command ifconfig. Follow the steps below:
- Open terminal
- Find the name of your interface, for example eth0
- sudo ifconfig eth0 down hw ether aaaabbbb where aabbccdd is the required mac address.
Sunday, February 9, 2014
cool site for linux
There is a guy called Manu Cornet. He has a wonderful website http://www.whylinuxisbetter.net/
It lists why Linux is better with description. Also it has got reasons why you might still want to stick to Windows. It also lists the way to get Linux.
The layout and idea of the website is very cool.
Read more »
It lists why Linux is better with description. Also it has got reasons why you might still want to stick to Windows. It also lists the way to get Linux.
The layout and idea of the website is very cool.
Friday, February 7, 2014
ManiaDrive Car Game for Linux

ManiaDrive is a free clone of Trackmania, the great game from Nadéo studio, and is an arcade car game on acrobatic tracks, with a quick and nervous gameplay (tracks almost never exceed one minute), and features a network mode, as the original.
Features:
- Complex car physics
- Challenging "story mode"
- LAN and Internet mode
- Live scores
- Track editor
- Dedicated server with HTTP interface
- More than 30 blocks - Full soundtrack

Both Linux and Windows version including source is available at http://maniadrive.raydium.org/index.php?downloads=yes
Once downloaded, untar it and run ./mania_drive.sh from terminal

Labels:
car,
for,
game,
linux,
maniadrive
Thursday, February 6, 2014
Solve Hangman With Linux
By using Linux and standard commands (cat and grep) that come with it we can easily solve hangman puzzle.
Lets see with an example.
Let us suppose the word is PLANET and so far we have guessed _ _ ANE_
Lets assume that we have made incorrect guesses with letters b,s,a,i,u.
Now lets try to solve the hangman with the help of our Linux box.
We all know that there is a file called words that ships with all most all Linux distribution. The file contains dictionary word. Many people have used the file for many clever uses. Let us also try to use that file to solve our hangman.
In my box the file is in "/etc/dictionaries-common/words"
If you do:
cat /etc/dictionaries-common/words
it will show you all the words. Lets try to grep our answer with regular expression.
cat /etc/dictionaries-common/words | grep -iE ^..ane.$
here,
-i makes the grep case insensitive.
- E is for extended regular expression.
^ means starting of the word
$ means end of the word
. means a letter
so, ^..ane.$ means we are grepping for words that can have any first two letter followed by ane and one single letter.
Depending upon the answer this can sometime bring too much words. But we do know letter that doesnt match the word (b,s,a,i,u). Lets try to use this information to limit the output.
cat /etc/dictionaries-common/words | grep -iE ^..an..$ | grep -ivE (b|s|a|i|u)
here we are again grepping the output but this time with reverse match(-v), i.e. words doesnt matching the letters inside the brackets.
This hopefully will help you to solve most of the hangman.
Few more examples:
computer - cat /etc/dictionaries-common/words | grep -iE ^co..u...$ | grep -ivE (b|w|v|s|q) | less
cricket - cat /etc/dictionaries-common/words | grep -iE ^cr.c..t$ | grep -ivE (b|w|v|s|q) | less
Saturday, February 1, 2014
Boot Ubuntu Linux faster by reducing TTY virtual consoles
Most of us never use all the virtual consoles(TTY) that is provided with most Linux distribution. Why leave it there and let it eat memory. You can decrease startup time by removing unwanted virtual console or TTY.
Removing some virtual consoles or reducing TTY is very easy.
Just follow the procedure below:
Reboot to see the change.
Read more »
Removing some virtual consoles or reducing TTY is very easy.
Just follow the procedure below:
- sudo -s
- vi /etc/default/console-setup
- change ACTIVE_CONSOLES=”/dev/tty[1-6]” to your choice. Lets say if you want only two TTY or virtual console then change to ACTIVE_CONSOLES=”/dev/tty[1-2]”
- cd /etc/event.d
- Comment on all the lines in ttyx file that you dont need. In this example tty3-tty6
Reboot to see the change.
Wednesday, January 22, 2014
screenlets mac or vista widget for linux
Linux is powerful with command line, no doubt about it but with few packages you can beat it in graphics to MAC OS and Vista.
The kiba-dock or AWN produces dock that resembles MAC dock. Here is my older post regarding them if you have missed it http://.blogspot.com/2008/03/mac-like-dock-for-ubunut.html
Now lets see the power of a program called screenlets. With it, you can put widgets on your desktop. Check preview below.

Follw the installation procedure.
sudo echo deb http://hendrik.kaju.pri.ee/ubuntu gutsy screenlets >> /etc/apt/sources.list
sudo apt-get update
sudo apt-get install screenlets
sudo apt-get install python-gnome2-extras
sudo apt-get install python-feedparser
This will install screenlets on your system.
Now go to Accessories->screenlets or simply run screenlets-manager from terminal.
There you will find many screenlets.
Double click them or select start/stop to start them.
Select Auto start to start the selected screenlets automatically at logon.
There are few important options:
Window->Lock This locks the position of screenlets making them unmovable.
Window->Sticky This makes your screenlets appear on all workspace.
Window->Widget This makes you screenlets like dashboard in Mac OS X. RUN csm(compiz setting manager), search for the option widget in top left corner and enable it. Now change your screenlets to widget. It will disappear but appear when you press F9 key.
Goto screenlets.org for more screenlets.
Also, now you can use Google gadgets, and other gadgets and web application as your screenlets.
On screenlets-manager select install and select the required option.
Heres what screenlets.org have to say regarding them.
http://screenlets.org/index.php/Google_gadgets_now_run_on_Screenlets_engine_...
http://screenlets.org/index.php/SuperKaramba_themes_now_runs_on_Screenlets_engine_...
Have fun.
The kiba-dock or AWN produces dock that resembles MAC dock. Here is my older post regarding them if you have missed it http://.blogspot.com/2008/03/mac-like-dock-for-ubunut.html
Now lets see the power of a program called screenlets. With it, you can put widgets on your desktop. Check preview below.

Follw the installation procedure.
sudo echo deb http://hendrik.kaju.pri.ee/ubuntu gutsy screenlets >> /etc/apt/sources.list
sudo apt-get update
sudo apt-get install screenlets
sudo apt-get install python-gnome2-extras
sudo apt-get install python-feedparser
This will install screenlets on your system.
Now go to Accessories->screenlets or simply run screenlets-manager from terminal.
There you will find many screenlets.
Double click them or select start/stop to start them.
Select Auto start to start the selected screenlets automatically at logon.
There are few important options:
Window->Lock This locks the position of screenlets making them unmovable.
Window->Sticky This makes your screenlets appear on all workspace.
Window->Widget This makes you screenlets like dashboard in Mac OS X. RUN csm(compiz setting manager), search for the option widget in top left corner and enable it. Now change your screenlets to widget. It will disappear but appear when you press F9 key.
Goto screenlets.org for more screenlets.
Also, now you can use Google gadgets, and other gadgets and web application as your screenlets.
On screenlets-manager select install and select the required option.
Heres what screenlets.org have to say regarding them.
http://screenlets.org/index.php/Google_gadgets_now_run_on_Screenlets_engine_...
http://screenlets.org/index.php/SuperKaramba_themes_now_runs_on_Screenlets_engine_...
Have fun.
Tuesday, January 21, 2014
Linux is for your wife
I read couple of blogs claiming Linux is ready because his/her wife or old granny was able to use it without any problem.
Here is my view on this.
First of all, what are the general work your wife or old granny do on the computer?
1. Surf net
2. Chat
3. Listen Music
4. Maybe little of word processing
So you say Linux is ready because it can do above mentioned work nicely?
Linux was able to do such work since last decade. Instead of judging the maturity of Linux with less tech savvy wife and granny, it should be compared with technocrats who wants his/her computer to do everything, try new gadgets, always play with new software and so.
Does your new printer or you ipod work with Linux?
Does your brand new laptop behave well?
Is you printer recognized and you can use free wifi?
Can you name few games you have played on your Linux box?
.
.
.
.
and the list can go on.
So is the Linux ready?
Read more »
Here is my view on this.
First of all, what are the general work your wife or old granny do on the computer?
1. Surf net
2. Chat
3. Listen Music
4. Maybe little of word processing
So you say Linux is ready because it can do above mentioned work nicely?
Linux was able to do such work since last decade. Instead of judging the maturity of Linux with less tech savvy wife and granny, it should be compared with technocrats who wants his/her computer to do everything, try new gadgets, always play with new software and so.
Does your new printer or you ipod work with Linux?
Does your brand new laptop behave well?
Is you printer recognized and you can use free wifi?
Can you name few games you have played on your Linux box?
.
.
.
.
and the list can go on.
So is the Linux ready?
Monday, January 20, 2014
Adobe Stand Alone Flash Player for Linux
Adobe stand alone flash player for Linux is available.
Most of us only need flash plugin for browser to view swf. But sometimes we or most of the times developer wishes for the availability of stand alone flash player for Linux.
Stand alone flash player means that you dont need anything to run swf other than the player itself. Yes, you dont need browser or any media player.

Get it from http://www.adobe.com/support/flashplayer/downloads.html
or download the version 10 directly from http://download.macromedia.com/pub/flashplayer/updaters/10/flash_player_10_linux_dev.tar.gz

Not only that you can create self running binaries from the stand alone player.

Most of us only need flash plugin for browser to view swf. But sometimes we or most of the times developer wishes for the availability of stand alone flash player for Linux.
Stand alone flash player means that you dont need anything to run swf other than the player itself. Yes, you dont need browser or any media player.

or download the version 10 directly from http://download.macromedia.com/pub/flashplayer/updaters/10/flash_player_10_linux_dev.tar.gz


Friday, January 17, 2014
Subscribe to:
Posts (Atom)





