DirectoryComputersBlog Details for "Go2Linux - The Linux Site"

Go2Linux - The Linux Site

Go2Linux - The Linux Site
Linux help, news, tips, how to, security, backup, virtualization and software for your linux, Debian, Ubuntu, CentOS and Fedora
Articles: 1, 2, 3, 4, 5, 6, 7

Articles

How to: Find the fastest apt mirror server
2008-05-14 22:51:00
If you want to use the fastest mirror to download the .deb files you may need to upgrade or update your Debian machines, you have to remember that not always your nearest server is the fastest one, and that could be because not only the distance the server is from you but also the network congestion is a factor when talking about network speed. For instance, your ISP may have a direct satellite connection to another country, and thus your nearest server should be in that country, to avoid you the hassle to get that info, Debian give you some tools, I will touch two of them here. netselect-apt This tool will download the full list of mirrors and will quickly explore throw them for the fastest mirror for you, the use of it really easy and reliable. Installation You just need to run: sudo aptitude install netselect-apt Running it Once installed, run sudo netselect-apt -n -s lenny Be sure to change lenny for your appropriate version, you can use the name of the version, (edge, lenny, si...
More About: Find , Server , Mirror , Debian Linux
How to: Install a Debian/Ubuntu package (.deb) cache server - apt-cacher
2008-05-14 16:36:00
If you have more than one PC using Debian or Ubuntu , you know that upgrading them makes most of the time download the same files more than once, and that is not good for your bandwidth. I usually forward my requests to my Squid (in my office) and to my Personal proxy Polipo at home, it works, but apt-cacher may be a better approach as the way it decides if a file stays or is erased from the cache is more appropriate for .deb package than in Squid or Polipo, as they are optimized for web surfing. Well, after that introduction, lets go to the interesting part of the post. Installing To install it just run: sudo aptitude install apt-cacher Configuring The main configuration file is located at: /etc/apt-cacher/apt-cacher.conf And you should check these parameters, which at least for me are the most important ones. # cache_dir is used to set the location of the local cache. This can # become quite large, so make sure it is somewhere with plenty of space. cache_dir=/var/cache/apt-cacher...
More About: Server , Cache , Package
How to: Install a Debian/Ubuntu package (.deb) cache server - apt-cacher
2008-05-14 16:36:00
If you have more than one PC using Debian or Ubuntu , you know that upgrading them makes most of the time download the same files more than once, and that is not good for your bandwidth. I usually forward my requests to my Squid (in my office) and to my Personal proxy Polipo at home, it works, but apt-cacher may be a better approach as the way it decides if a file stays or is erased from the cache is more appropriate for .deb package than in Squid or Polipo, as they are optimized for web surfing. Well, after that introduction, lets go to the interesting part of the post. Installing To install it just run: sudo aptitude install apt-cacher Configuring The main configuration file is located at: /etc/apt-cacher/apt-cacher.conf And you should check these parameters, which at least for me are the most important ones. # cache_dir is used to set the location of the local cache. This can # become quite large, so make sure it is somewhere with plenty of space. cache_dir=/var/cache/apt-cacher...
More About: Ubuntu Linux , Server , Cache
Great Linux Car race simulator "VDrift"
2008-05-13 22:24:00
I like to play with simulators, and I have found a good car race simulator, that works great under my Debian, the game come in autopackage binary format, or at least that is the one I have downloaded. Download your package from VDrift page, I got the full version for Linux , once you have the .package file make it executable and run it as root, If you have installed an autopackage software before you can run: package install VDrift-2007-03-23-full-2.package Replace the name of the package with the one you have downloaded If you haven't installed a .package file before, be sure to have an Internet connection alive, to be able to install the needed software. You should see a screen like this when installing: And once installed, you should see: Ok, now it is installed, and it is time to play, so here is a screeshot, and I will go to play.
More About: Great , Race , Simulator
Great Linux Car race emulator "VDrift"
2008-05-13 22:24:00
I like to play with emulators, and I have found a good car race emulator, that works great under my Debian, the game come in autopackage binary format, or at least that is the one I have downloaded. Download your package from VDrift page, I got the full version for Linux , once you have the .package file make it executable and run it as root, If you have installed an autopackage software before you can run: package install VDrift-2007-03-23-full-2.package Replace the name of the package with the one you have downloaded If you haven't installed a .package file before, be sure to have an Internet connection alive, to be able to install the needed software. You should see a screen like this when installing: And once installed, you should see: Ok, now it is installed, and it is time to play, so here is a screeshot, and I will go to play.
More About: Great , Race
vnstat - Command Line Tool to check how much bandwidth you use
2008-05-13 16:17:00
It is always useful to know how much bandwidth you are using, also to check if your provider is honoring the contract you signed with them. At my office I have installed Cacti and as I have a layer 3 SNMP capable switch, I can graph the bandwidth that all my office's PCs uses, and also the main pipe to the Internet (My ADSL connection), but at home, I do not have such an expensive switch (and I do not need it), and my ADSL modem is not SNMP capable, so Cacti is not a solution, but with Linux Operating System there is always a solution, and the one for this kind of problem is vnstat. To install it run: sudo aptitude install vnstat Then you need to initialize the database, and add a cronjob task, but it is easy and automatic. First determine the name of your NIC or NICs for that run: sudo ifconfig My output is: eth2 Link encap:Ethernet HWaddr 00:19:d1:ea:e6:3f inet addr:10.87.58.2 Bcast:10.87.58.7 Mask:255.255.255.248 inet6 addr: fe80::219:d1ff:feea:e...
More About: Tool , Check , Bandwidth , Line , Command
vnstat - Command Line Tool to check how much bandwidth you use
2008-05-13 16:17:00
It is always useful to know how much bandwidth you are using, also to check if your provider is honoring the contract you signed with them. At my office I have installed Cacti and as I have a layer 3 SNMP capable switch, I can graph the bandwidth that all my office's PCs uses, and also the main pipe to the Internet (My ADSL connection), but at home, I do not have such an expensive switch (and I do not need it), and my ADSL modem is not SNMP capable, so Cacti is not a solution, but with Linux Operating System there is always a solution, and the one for this kind of problem is vnstat. To install it run: sudo aptitude install vnstat Then you need to initialize the database, and add a cronjob task, but it is easy and automatic. First determine the name of your NIC or NICs for that run: sudo ifconfig My output is: eth2 Link encap:Ethernet HWaddr 00:19:d1:ea:e6:3f inet addr:10.87.58.2 Bcast:10.87.58.7 Mask:255.255.255.248 inet6 addr: fe80::219:d1ff:feea:e...
More About: Tool , Check , Bandwidth , Line , Command
Cut or trim mp3 files with Linux, mpgsplit and mp3cut
2008-05-12 22:51:00
Some months ago I have posted an article showing how to use audacity to edit mp3 files with Linux , this time it is almost the same but we will use our Linux Operating system command line to do that. We are going to see two different options: 1. mpgtx To install this program under Debian sudo aptitude install mpgtx Now if you want to trim a mp3 file into 10 pieces just enter this command mpgtx -10 input.mp3 -o output You will get output01.mp3, output02.mp3 .... output10.mp3 files, and now you can easily transport them, use them as ringtones, or anything you need. Now if you want to cut an specific part of the mp3 file you may use ranges: mptsplit input.mp3 [00:00:20-00:00:58] -o output.mp3 Now you will have from the 20th second to the 58th second of the song, in output.mp3 file, which is great for creating ringtones for your cellular. Read the man page for more options, as you can also join files and some other useful things. 2. mp3cut First install the program, mp3cut is one tool, o...
More About: Files , Trim , Debian Linux
Cut or trim mp3 files with Linux, mpgsplit and mp3cut
2008-05-12 22:51:00
Some months ago I have posted an article showing how to use audacity to edit mp3 files with Linux , this time it is almost the same but we will use our Linux Operating system command line to do that. We are going to see two different options: 1. mpgtx To install this program under Debian sudo aptitude install mpgtx Now if you want to trim a mp3 file into 10 pieces just enter this command mpgtx -10 input.mp3 -o output You will get output01.mp3, output02.mp3 .... output10.mp3 files, and now you can easily transport them, use them as ringtones, or anything you need. Now if you want to cut an specific part of the mp3 file you may use ranges: mptsplit input.mp3 [00:00:20-00:00:58] -o output.mp3 Now you will have from the 20th second to the 58th second of the song, in output.mp3 file, which is great for creating ringtones for your cellular. Read the man page for more options, as you can also join files and some other useful things. 2. mp3cut First install the program, mp3cut is one tool, o...
More About: Files , Trim
Connect a Motorola cellular phone to Linux
2008-05-12 21:49:00
I own a Motorola L6 phone, I have been trying to connect it to my Linux (Debian Lenny) to upload some .mp3 files to be used as ringtones. I have found in my search Moto4Lin which is a software written using QT, and it works great!, well lets see how to install and use this program. As I am running Debian it is really easy to install sudo aptitude install moto4lin The same should work for Ubuntu. For CentOS or Fedora, or any other distribution (including Debian) you can download the latest version from here and then uncompress it, once this is done: Install this packages: libqt3-mt-dev (Ubuntu) qt-devel (Fedora) zlib1g-dev (Ubuntu) zlib-devel (Fedora) libusb-dev (Ubuntu) libusb-devel (Fedora) And then run this commands in the moto4lin directory, (as root) qmake make make install Ok, now we have the software installed, lets now run it, we need to run it as root so: Now lets configure it, first get the info for your phone from here, and create the configuration file, the important data...
More About: Phone , Desktop , Cellular
Connect a Motorola cellular phone to Linux
2008-05-12 21:49:00
I own a Motorola L6 phone, I have been trying to connect it to my Linux (Debian Lenny) to upload some .mp3 files to be used as ringtones. I have found in my search Moto4Lin which is a software written using QT, and it works great!, well lets see how to install and use this program. As I am running Debian it is really easy to install sudo aptitude install moto4lin The same should work for Ubuntu. For CentOS or Fedora, or any other distribution (including Debian) you can download the latest version from here and then uncompress it, once this is done: Install this packages: libqt3-mt-dev (Ubuntu) qt-devel (Fedora) zlib1g-dev (Ubuntu) zlib-devel (Fedora) libusb-dev (Ubuntu) libusb-devel (Fedora) And then run this commands in the moto4lin directory, (as root) qmake make make install Ok, now we have the software installed, lets now run it, we need to run it as root so: Now lets configure it, first get the info for your phone from here, and create the configuration file, the important data...
More About: Phone , Cellular , Connect
The Debian menu system - How to create menus for TWM, OpenBox, FluxBox, etc
2008-05-10 17:24:00
The Debian menu systems really saves you a lot of time, when you are trying to find a new installed software. Yes you can run the applications from the command line, as I was doing these days on my Laptop with Fluxbox, but if you are using Debian or Ubuntu you can automatically create the menus using the Debian Menu System . To install it (if you are using Debian might be installed) sudo aptitude install menu then run sudo update-menus and you will have your menus recreated, (or created) with all the available programs in it, this will work for almost all X windows managers, it is usually disabled in Gnome but you can go to: System->Preferences->Main Menu and enable the Debian menu under Applications. If you have just installed it, you may need to log out and log in again, to be able to see it. Now every time a new program is installed, it will automatically added to the menu, unless you run update-menus as a normal user, and not as root.
More About: Desktop , Create
The Debian menu system - How to create menus for TWM, OpenBox, FluxBox, etc
2008-05-10 17:24:00
The Debian menu systems really saves you a lot of time, when you are trying to find a new installed software. Yes you can run the applications from the command line, as I was doing these days on my Laptop with Fluxbox , but if you are using Debian or Ubuntu you can automatically create the menus using the Debian Menu System . To install it (if you are using Debian might be installed) sudo aptitude install menu then run sudo update-menus and you will have your menus recreated, (or created) with all the available programs in it, this will work for almost all X windows managers, it is usually disabled in Gnome but you can go to: System->Preferences->Main Menu and enable the Debian menu under Applications. If you have just installed it, you may need to log out and log in again, to be able to see it. Now every time a new program is installed, it will automatically added to the menu, unless you run update-menus as a normal user, and not as root.
More About: Create
Xen Virtualization - Book review
2008-05-03 16:22:00
Xen Virtualization Is a real good book for beginners to intermediate users looking for Xen documentation, it is written in an easy language, with examples which are easy to follow, and from which you can learn how Xen works, and also how to use it, but lets now go to the review. Chapter 1: Introduction On this chapter the author start explaining what virtual machines are, and how we can get advantage from them, also he explain the different ways to virtualize a machine, once he has our attention, goes to define Xen and how it works as well as some applications you may give to Xen in the real world, one of the best is to safe money by using only one PC to do the job of a lot of them, and also security as you can split your services between different Virtual machines, thus minise the risk of a hacker attack to all your services at once. Chapter 2: Running Xen In this chapter we will learn how to install and start Xen Dom0, which is the host for the virtual machines, it is installed on...
More About: Book Review , Review , Book
Xen Virtualization - Book review
2008-05-03 16:22:00
Xen Virtualization Is a real good book for beginners to intermediate users looking for Xen documentation, it is written in an easy language, with examples which are easy to follow, and from which you can learn how Xen works, and also how to use it, but lets now go to the review. Chapter 1: Introduction On this chapter the author start explaining what virtual machines are, and how we can get advantage from them, also he explain the different ways to virtualize a machine, once he has our attention, goes to define Xen and how it works as well as some applications you may give to Xen in the real world, one of the best is to safe money by using only one PC to do the job of a lot of them, and also security as you can split your services between different Virtual machines, thus minise the risk of a hacker attack to all your services at once. Chapter 2: Running Xen In this chapter we will learn how to install and start Xen Dom0, which is the host for the virtual machines, it is installed on...
More About: Book Review , Review , Book
Sync your documents with Linux, Windows and Ulteo
2008-04-29 14:13:00
I have received an email from Ulteo yesterday, and they are good news, now using your Ulteo account, you can sync your documents between your office, your home, and any other PC (even a work with them at a public PC). Yes I know you can also do this with Google, or other tools, but if you prefer Ulteo, which is a whole Linux desktop online, instead of only some applications, this is for you. Because the use of Java, Ulteo Desktop is slower than other applications but still a good option. Here is the email I got, check it yourself. Hello! we're proud to announce the Ulteo Document Sync hronizer (Beta) for Windows (TM). This gives you the ability and convenience to keep your documents securely synchronized across Windows, Linux and the Ulteo Online Desktop for FREE. For instance, if you're at the office and using the Ulteo Document Synchronizer, drag and drop a document to the "Sync" directory on your desktop. Yes, that's it! Later at home, you can retrieve your files by: - log...
More About: Documents
Sync your documents with Linux, Windows and Ulteo
2008-04-29 14:13:00
I have received an email from Ulteo yesterday, and they are good news, now using your Ulteo account, you can sync your documents between your office, your home, and any other PC (even a work with them at a public PC). Yes I know you can also do this with Google, or other tools, but if you prefer Ulteo, which is a whole Linux desktop online, instead of only some applications, this is for you. Because the use of Java, Ulteo Desktop is slower than other applications but still a good option. Here is the email I got, check it yourself. Hello! we're proud to announce the Ulteo Document Sync hronizer (Beta) for Windows (TM). This gives you the ability and convenience to keep your documents securely synchronized across Windows, Linux and the Ulteo Online Desktop for FREE. For instance, if you're at the office and using the Ulteo Document Synchronizer, drag and drop a document to the "Sync" directory on your desktop. Yes, that's it! Later at home, you can retrieve your files by: - log...
More About: Documents
Small tip, how to install startx command
2008-04-28 16:44:00
Today, I was "playing" with the Linux configuration (as usually) and using tasksel on my Debian I remove the Desktop section, and installed it again, when I tried to use startx I just could not, there was no startx command. After reading a while I found that I needed to install xinit package to have startx in my machine. so: sudo aptitude install xinit once it is installed you have to create or edit your $HOME/.xinitrc file, and write in there something like this: #!/bin/sh exec startfluxbox #exec gnome-session #exec startkde be sure to have only one Desktop uncommented.
More About: Small , Command
Small tip, how to install startx command
2008-04-28 16:44:00
Today, I was "playing" with the Linux configuration (as usually) and using tasksel on my Debian I remove the Desktop section, and installed it again, when I tried to use startx I just could not, there was no startx command. After reading a while I found that I needed to install xinit package to have startx in my machine. so: sudo aptitude install xinit once it is installed you have to create or edit your $HOME/.xinitrc file, and write in there something like this: #!/bin/sh exec startfluxbox #exec gnome-session #exec startkde be sure to have only one Desktop uncommented.
More About: Small , Command
Ubuntu 8.08 LTS to be released today
2008-04-24 14:23:00
The replacement for Dapper Drake 6.06, is going to be released today, Ubuntu is one of the most popular Linux distributions, I has grown real fast ported from the also very popular Debian, is one of the most important candidates to be a replacement for Microsoft products, specially in the Desktop arena. Ubuntu is every time more and more user-friendly, it installs automatically the codecs needed to watch movies, or listen to music, detect automatically printers and cameras attached to it, and I am not saying some others also did this, but Ubuntu also did this, and has some other points as advantage, like the Free CDs, like aptitude as a package manager, and who can't deny... a lot and I mean a lot of marketing. In the server arena, I have not personally tested Ubuntu, but any server I can install will perform the same with any Linux distro, as Linux is by itself very stable, I do not know how Ubuntu performs in real big and loaded servers, but coming from Debian, should be one of t...
More About: Ubuntu Linux , Today , Released
Ubuntu 8.04 LTS to be released today
2008-04-24 14:23:00
The replacement for Dapper Drake 6.06, is going to be released today, Ubuntu is one of the most popular Linux distributions, I has grown real fast ported from the also very popular Debian, is one of the most important candidates to be a replacement for Microsoft products, specially in the Desktop arena. Ubuntu is every time more and more user-friendly, it installs automatically the codecs needed to watch movies, or listen to music, detect automatically printers and cameras attached to it, and I am not saying some others also did this, but Ubuntu also did this, and has some other points as advantage, like the Free CDs, like aptitude as a package manager, and who can't deny... a lot and I mean a lot of marketing. In the server arena, I have not personally tested Ubuntu, but any server I can install will perform the same with any Linux distro, as Linux is by itself very stable, I do not know how Ubuntu performs in real big and loaded servers, but coming from Debian, should be one of t...
More About: Today , Released
Ubuntu 8.04 LTS to be released today
2008-04-24 14:23:00
The replacement for Dapper Drake 6.06, is going to be released today, Ubuntu is one of the most popular Linux distributions, I has grown real fast ported from the also very popular Debian, is one of the most important candidates to be a replacement for Microsoft products, specially in the Desktop arena. Ubuntu is every time more and more user-friendly, it installs automatically the codecs needed to watch movies, or listen to music, detect automatically printers and cameras attached to it, and I am not saying some others also did this, but Ubuntu also did this, and has some other points as advantage, like the Free CDs, like aptitude as a package manager, and who can't deny... a lot and I mean a lot of marketing. In the server arena, I have not personally tested Ubuntu, but any server I can install will perform the same with any Linux distro, as Linux is by itself very stable, I do not know how Ubuntu performs in real big and loaded servers, but coming from Debian, should be one of t...
More About: Ubuntu Linux , Today , Released
Using your Linux to help in Earth day
2008-04-21 22:00:00
As some of you may know tomorrow April 22nd is the earth day, and if you are thinking in a way to contribute, you can do by splitting your PC into two, using Linux . This way your children or spouse will not need an extra PC to work while you are using your PC. I think that Linux philosophy has a lot to do with earth conservation, and ecology, as we think that software and knowledge should be free, also the nature should be free, free for anyone to enjoy it, but preserving it for future generations, and only for its own use and benefit. So if you want to help, act now, got to Userful webpage and split your PC into two PCs. If you are using Ubuntu, here is the way you can do it. So act know and help preserving the nature for future generations, it is in your hands
More About: Earth , Earth Day
Using your Linux to help in Earth day
2008-04-21 22:00:00
As some of you may know tomorrow April 22nd is the earth day, and if you are thinking in a way to contribute, you can do by splitting your PC into two, using Linux . This way your children or spouse will not need an extra PC to work while you are using your PC. I think that Linux philosophy has a lot to do with earth conservation, and ecology, as we think that software and knowledge should be free, also the nature should be free, free for anyone to enjoy it, but preserving it for future generations, and only for its own use and benefit. So if you want to help, act now, got to Userful webpage and split your PC into two PCs. If you are using Ubuntu, here is the way you can do it. So act know and help preserving the nature for future generations, it is in your hands
More About: Earth , Earth Day
Runlevels - Debian (Ubuntu) / Fedora (CentOS)
2008-04-21 21:49:00
There are six different runlevels in Linux, there could be more than six, but for compatibility reasons six are the default. I have used RedHat and Debian based Linux, more specifically Fedora and Ubuntu and Debian itself, I have noticed that there is a difference in the runlevels on this different Linux distributions. Well but first let's define the runlevels: Runlevels in Linux are seven and they are: - 0 = halt - 1 = single user - 2 = CLI, multi-user, no net - 3 = CLI, multi-user, networked - 4 = open - 5 = GUI, multi-user, networked - 6 = reboot You can define more of them if you want, but whit this should be enough, a runlevel will define which software to start when you enter in that specific runlevel. For example if you go to runlevel 0, the computer will halt, and probable turn off (If it is a modern computer). When you enter a specific runlevel, Linux will run some scripts that are located at: /etc/rc0.d Run level 0 /etc/rc1.d Run level 1 /etc/rc2.d Run level 2 /etc/rc3...
More About: Ubuntu Linux , Cent
Runlevels - Debian (Ubuntu) / Fedora (CentOS)
2008-04-21 21:49:00
There are six different runlevels in Linux, there could be more than six, but for compatibility reasons six are the default. I have used RedHat and Debian based Linux, more specifically Fedora and Ubuntu and Debian itself, I have noticed that there is a difference in the runlevels on this different Linux distributions. Well but first let's define the runlevels: Runlevels in Linux are seven and they are: - 0 = halt - 1 = single user - 2 = CLI, multi-user, no net - 3 = CLI, multi-user, networked - 4 = open - 5 = GUI, multi-user, networked - 6 = reboot You can define more of them if you want, but whit this should be enough, a runlevel will define which software to start when you enter in that specific runlevel. For example if you go to runlevel 0, the computer will halt, and probable turn off (If it is a modern computer). When you enter a specific runlevel, Linux will run some scripts that are located at: /etc/rc0.d Run level 0 /etc/rc1.d Run level 1 /etc/rc2.d Run level 2 /etc/rc3...
cpufreqd - How to configure you cpu speed
2008-04-13 08:21:00
cpufreqd is a Linux daemon, that lets you control the speed of your CPU(s), depending on some variables, or also be set manually, you can set it to act dynamically or manually, you can define a lot of profiles and rules, which will control your CPU speed, the variables could be the temperature of your CPU, the amount of charge in your battery if AC is connected or not. First thing you need to do is to install the daemon, in Debian / Ubuntu sudo aptitude install cpufreqd Then you need to check if the desirable modules are loaded, so enter this command: sudo lsmod | grep cpufreq And you should see an output like this: $ sudo lsmod | grep cpufreq acpi_cpufreq 9096 0 cpufreq_stats 5120 0 cpufreq_conservative 6888 0 cpufreq_userspace 4128 0 cpufreq_ondemand 8300 2 cpufreq_powersave 1792 0 freq_table 4512 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondema nd processor 31176 2 acpi_cpufreq,thermal Now you are re...
More About: Speed , Configure
cpufreqd - How to configure you cpu speed
2008-04-13 08:21:00
cpufreqd is a Linux daemon, that lets you control the speed of your CPU(s), depending on some variables, or also be set manually, you can set it to act dynamically or manually, you can define a lot of profiles and rules, which will control your CPU speed, the variables could be the temperature of your CPU, the amount of charge in your battery if AC is connected or not. First thing you need to do is to install the daemon, in Debian / Ubuntu sudo aptitude install cpufreqd Then you need to check if the desirable modules are loaded, so enter this command: sudo lsmod | grep cpufreq And you should see an output like this: $ sudo lsmod | grep cpufreq acpi_cpufreq 9096 0 cpufreq_stats 5120 0 cpufreq_conservative 6888 0 cpufreq_userspace 4128 0 cpufreq_ondemand 8300 2 cpufreq_powersave 1792 0 freq_table 4512 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondema nd processor 31176 2 acpi_cpufreq,thermal Now you are re...
More About: Speed , Configure
command line scientific calculator
2008-04-08 05:54:00
I was looking for a good and light calculator for Linux, and found some command line ones, I liked this one wcalc it is really light, and accept almost all mathematical expressions, and I say "almost" because I do not want to say that are all and make a mistake. The use of it is really simple, just enter wcalc followed with the math expression in the command line, press ENTER and you will the result. To install it on Debian run: sudo aptitude install wcalc and to calculate some simple operations: wcalc '(200+200)/8*25/35.3553^2' the result will be one, note that I am using ' to delimit the math expressions The good thing is that it will also work with binary numbers. wcalc -b 0b100+0b100 the result is: = 0b1000 So the -b option make wcalc shows the result as binary and the 0b before the numbers says it that those numbers are binaries. As you can see it is really useful, you may want to enter man wcalc to see some of the other options.
More About: Calculator , Line , Command
command line scientific calculator
2008-04-08 05:54:00
I was looking for a good and light calculator for Linux, and found some command line ones, I liked this one wcalc it is really light, and accept almost all mathematical expressions, and I say "almost" because I do not want to say that are all and make a mistake. The use of it is really simple, just enter wcalc followed with the math expression in the command line, press ENTER and you will the result. To install it on Debian run: sudo aptitude install wcalc and to calculate some simple operations: wcalc '(200+200)/8*25/35.3553^2' the result will be one, note that I am using ' to delimit the math expressions The good thing is that it will also work with binary numbers. wcalc -b 0b100+0b100 the result is: = 0b1000 So the -b option make wcalc shows the result as binary and the 0b before the numbers says it that those numbers are binaries. As you can see it is really useful, you may want to enter man wcalc to see some of the other options.
More About: Calculator , Line , Command
More articles from this author:
1, 2, 3, 4, 5, 6, 7
82887 blogs in the directory.
Statistics resets every week.


Contact | About
© Blog Toplist 2009 - Supported by Web Catalog - SEO by FeWorks
eXTReMe Tracker