Forex Technology Blog

Forex, Forex Automated Systems, Forex Indicators

Browsing Posts in Linux

I wanted to do a sort of files in IBM AIX today and I came across this useful command.

ls -al | sort +4n

This command performs a numeric sort on the fifth column of the “ls -al” output. This results in a file listing where the files are listed in ascending order, from smallest in size to largest in size.

The “sort” command sorts information piped into it. There are several options that let you sort information in a variety of ways.

Other examples :

ps -ef | sort

This command pipeline sorts the output of the “ps -ef” command. Because no arguments are supplied to the sort command, the output is sorted in alphabetic order by the first column of the ps -ef output (i.e., the output is sorted alphabetically by username).

ls -al | sort +4n

This command performs a numeric sort on the fifth column of the “ls -al” output. This results in a file listing where the files are listed in ascending order, from smallest in size to largest in size.

ls -al | sort +4n | more

The same command as the previous, except the output is piped into the more command. This is useful when the output will not all fit on one screen.

ls -al | sort +4nr

This command reverses the order of the numeric sort, so files are listed in descending order of size, with the largest file listed first, and the smallest file listed last.

source

lsof is the Linux/Unix über-tool. I use it most for getting network connection related information from a system, but that’s just the beginning for this amazing and little-known application. The tool is aptly called lsof because it “lists open files”. And remember, in Unix just about everything (including a network socket) is a file.

more

Get your own Dinoz and show the world who’s the strongest!

Dinoparc from Motion-Twin is a quality online fun game where players bring their creatures to fight in a vast world they can explore. Motion-Twin is one of the best-known creators of online games in France. Winner of the 2006 Flash Festival award in Games Category (Paris, May 2006) Motion-Twin has been working in Internet games for 5 years now. Expertise in a fun gaming universe of games, several of Motion-Twin’s websites are translated into different languages.

Get your own Dinoz and show the world who’s the strongest!

Its my first time reading the Linux Journal dated May 2006. The Linux Journal is full of cool Linux news and whats interesting is that they also have an online digital edition you can scour through. They are charging USD 25 for it but I’m not sure if its a one time payment or on a yearly term.

Read it first get the latest issue before it hits the newsstand , Keyword searchable find a topic or name in seconds , Paperless archives download to your computer for convenient off-line reading , Same great magazine read each edition as a high-quality PDF , One low price only $25 anywhere in the world

Started in 1994, Linux Journal has become well-known as the Linux community’s most trusted-source of information. Inside every issue of Linux Journal you’ll find tips and tricks, in-depth tutorials, concise product reviews, insights from leading Linux personalities and much more.

Only 1 more days to go before the contest ends…See how you can win an iPod here….

Cheers
Colbert Low

Want to learn how to write a good review on Linux distros ? Read on…

New versions of Linux distributions crop up almost every week. On the one hand, it’s great that development is so active, but on the other it can be difficult to wade through the options and find the one that suits you best. Most of us do not have the time to try out every new flavor, so we come to rely on reviewers to boil down the new releases for us. As a site that runs frequent distro reviews, NewsForge would like to give some advice to new distro reviewers — pointers to get you started and help you write a concise, informative assessment that will benefit you and your readers alike.

How to review a Linux distribution source

Using Really Simple Syndication (RSS) or Atom feeds to check your favorite sites and blogs can be a big time-saver. However, if you use more than one computer or operating system, managing your feeds and tracking updates is more difficult. Gregarius, a Web-based server-side aggregator that supports RSS, RDF, and Atom feeds, can help.

Web-based server-side aggregator called Gregarius source

VMware is taking another step to try to maintain its market dominance. VMware announced today that it is opening its virtual machine disk format specification to allow other vendors to use it in their products.

Technically, VMware is not releasing the disk format under an open source license — or, really, any license. According to Dan Chu, VMware’s senior director of developer and ISV products, the company will release “language to make sure folks are comfortable,” but the company will not require developers to accept any license terms in order to have access to the format. “We’re taking it even further; you don’t even have to enter into a specific open source license [to use the format].”

VMware opens Virtual Machine disk format source

Tradeware Global is a financial services company that allows securities brokers to provide direct market access to their clients. It currently handles 5% of all transactions in the New York and American stock exchanges. Tradeware is about halfway through with an infrastructure migration that is moving the company’s 100+ servers off of Solaris and onto Red Hat Linux.

Dmidecode reports information about your system’s hardware as described in your system BIOS according to the SMBIOS/DMI standard (see a sample output). This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. This will often include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB).

Part of dmidecode’s code can be found in the Linux kernel, where DMI data is used to enable or disable specific portions of code depending on the specific hardware. Thus, one of dmidecode’s use is for kernel developers to detect system “signatures” and add them to the kernel source code when needed.

Beware that DMI data have proven to be too unreliable to be blindly trusted. Dmidecode does not scan your hardware, it only reports what the BIOS told it to.

Command to run Dmidecode on Linux

# dmidecode