Google Chrome OS preview

Google seems eager to obtain a share of the Operating system market & cut a bit of the large cake Microsoft was keeping for itself for a long time.

Google are currently working on a web focused Operating System. As the web applications seems to be the future, Google new OS might strike the market.
:
Would history repeat it self? & google hit Microsoft Monopoly like Microsoft hit IBM monopoly in the early 90s where Mainframes where the solution.

:

As the new google OS is based on Linux and revamped around their new browser Chrome I thought it might be worth showing the demo on here :). Check out a sneak peak of the most kept secret OS at the moment below:

I hope that was enjoyable. Please leave your comments & hope of this new OS in the comments. I can’t wait to put my hand on the beta.

September 23rd, 2009 by admin in Google Chrome OS | Comments (2)

HOWTO: Change the Unix prompt and windows title.

The default user prompt on Unix is “$” and the root prompt is “#”. In this article you will find how you can change the prompt to display a lot of useful information. The same or other information can also be displayed in the windows title. The prompt is set by changing the PS1 environment setting.

Some examples:

1. Username in prompt
PS1=”$USER >”
Result: “user1 >”

2. Username and hostname in prompt
PS1=”$USER@$(hostname) >”
Result: “
<!–
var prefix = ‘ma’ + ‘il’ + ‘to’;
var path = ‘hr’ + ‘ef’ + ‘=’;
var addy39780 = ‘user1’ + ‘@’;
addy39780 = addy39780 + ‘host1’ + ‘.’ + ‘mydomain’ + ‘.’ + ‘com’;
document.write( ‘<a ‘ + path + ‘\” + prefix + ‘:’ + addy39780 + ‘\’>’ );
document.write( addy39780 );
document.write( ‘<\/a>’ );
//–>\n user1@host1.mydomain.com
<!–
document.write( ‘<span style=\’display: none;\’>’ );
//–>
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
<!–
document.write( ‘</’ );
document.write( ‘span>’ );
//–>
>”

If your hostname is the hostname including your domain name you can truncate the domain name.

3. Username with truncated hostname in prompt
PS1=”$USER@$(hostname| awk -F . ‘{print $1}’ ) >”
Result: “user1@host1 >”

3. Username, hostname and current path in prompt
PS1=$(echo “$USER@$(hostname| awk -F . ‘{print $1}’) “‘$PWD'” >”)
Result: “user1@host1 /home/user1 >”

4. Username, hostname, current Oracle SID and current path in prompt
PS1=$(echo “$USER@$(hostname| awk -F . ‘{print $1}’) “‘$ORACLE_SID'” “‘$PWD'” >”)
Result: “user1@host1 MainDB /home/user1 >”

By putting all this information in the prompt the prompt can get extremely long. In the next example all the information is on one line and the prompt on the next line.

5. Prompt on two lines
PS1=$(echo “\n[$USER@$(hostname| awk -F . ‘{print $1}’) “‘$ORACLE_SID'” “‘$PWD'”] $(echo “\n”)> “)
Result: [user1@host1 MainDB /home/user1 ]
>

All the information can also be set in the windows title. This only works on “terminals” that support this option. So in the profile you best test the “TERM” environment setting first. This option also works with putty ssh sessions.

Below a little script you can add to your personal profile or to your system profile.

The prompt will look like:
[ user1@host1 MainDB /home/user1 ]
$

The windows title will look like:
host1 as user1 {MainDB} <The first user> /home/user1

When this user switches to root the prompt will look like:
[ root@host1 / ]
$

The windows title will look like:
host1 as root {} <The first user> /

The name between <> is the real user name so it will always be “The first user” and will not change to the display name of root. Running a lot (putty) sessions to different Unix systems from windows you will get one grouped putty item. When clicking on this taskbar group you can quickly find the session you are looking for. The hostname is at the front of the windows title to make it easier to find the right session.

When activating this script on every Unix system in your environment you can telnet, rsh, ssh and “su” as much as you want, the information on the prompt AND in the windows title will always be accurate.

See Microsoft article kb#281628 (http://support.microsoft.com/kb/281628) to change the behavior of the grouping on windows. Changing the grouping setting to “2”, windows will always group all applications.

# Prompt settings
REALUSER=$(who am i |head -1 |awk ‘{print $1}’)
REALNAME=$(cat /etc/passwd |grep “^$REALUSER:” |awk -F ‘:’ ‘{print $5}’)
HOSTNAME=`hostname | awk -F . ‘{ print $1 }’`

if [ “$USER” = “root” ]
then
PS2=’# ‘
else
PS2=’$ ‘
fi

PS1=””
if [ “$TERM” = “xterm” -o “$TERM” = “dtterm” -o “$TERM” = “aixterm” ]
then
PS1=$(echo “33]0;$HOSTNAME as $USER {“‘$ORACLE_SID'”} <$REALNAME> “‘$PWD'”07”)
fi
PS1=$PS1$(echo “\n[ $USER@$HOSTNAME “‘$ORACLE_SID'” “‘$PWD'” ]$(echo “\n$PS2″)”)

export PS1

August 3rd, 2009 by AIXTiger in Unix | Comments (3)

Differences between PVM and IBM AIX PVMe

PVMe supports PVM, but its internal structure is completely new. As it runs on a PVMe homogeneous platform (The IBM 9076 SP2), many operations are simpler.

The following are the outstanding differences between the structure of the PVM and IBM AIX PVMe.

  • PVMe does not interact directly with TCP/IP to implement data communication between processors. For this,it uses the System Communication (CSS), communications software that runs on the HPS adapter. Data exchange always occurs between processes, without involving the devil.
  • The PVMe daemon runs in a single node and not all participating nodes as PVM.
  • An improved scheme for memory management of PVMe can also take advantage of memory resources efficiently.

The above were the main differences between PVM & IBM AIX PVMe that I can come up with. Please put a comment of other important difference that I had missed.

February 18th, 2009 by admin in Tips & Tricks | No Comments

IBM AIX 5.x and 6.x revelation of local information via ‘at’ command

A vulnerability in IBM AIX 5.x and 6.x has been found which could be exploited by a local attacker to access sensitive information.The vulnerability is caused by a bug in the ‘at’ (/usr/bin/at) as it does not limit the privilege to read certain files (It has root permissions). This could be exploited by a local attacker to read any file.

This vulnerability confirmed in AIX 5.2.x, 5.3.xy 6.1.x. Depending on the version and platform, it is recommended to apply the following patches available for download from:

http://aix.software.ibm.com/aix/efixes/security/at_fix.tar
ftp://aix.software.ibm.com/aix/efixes/security/at_fix.tar

More Information:

AIX at information disclosure vulnerability

February 18th, 2009 by admin in News | No Comments

IBM AIX Cheat Sheets

Cheat sheets are a great way of learning as well can be a great reference for experienced users. Below are some of popular IBM AIX Cheat Sheets which we believe can be useful.

AIX QuickSheet

AIX Commands Cheat Sheet

AIX Jumpstart for UNIX Professionals

AIX Cheat Sheet

Please share with us your favorite AIX Cheat sheet and let share the knowledge.

February 17th, 2009 by admin in Tips & Tricks | Comments (3)

Top 30 Linux Command Line Cheat Sheets

Cheat sheets is a great way of learning for new concepts, but they are invaluable when trying to learn command line for Linux. Below is a great collection of Linux Command Line Cheat sheets:

  1. UNIX/LINUX REFERENCE CARD
  2. The Humble Linux Cheat Sheet
  3. DOS to Linux Cheat Sheet
  4. Evelyn’s Linux Cheat Sheet
  5. Luke’s Cheat Sheet for Linux
  6. The One Page Linux Manual
  7. Linux Security Quick Reference Guide
  8. LINUX System Call Quick Reference
  9. LINUX Admin Quick Reference
  10. Alphabetical Directory of Linux Commands
  11. Linux Cheat Sheet
  12. Linux Command-Line Cheat Sheet
  13. Linux Quick Reference Guide
  14. Linux Command Line Reference For Common Operation
  15. TCP Ports List
  16. Linux Cheat Sheet
  17. Another Linux Cheat sheet
  18. EZ Linux Admin Cheat sheet
  19. Stuff That Works Cheat Sheet
  20. VoxForge Linux Cheat Sheet
  21. Using Linux the CLI way – Cheat Sheet
  22. The Humble Linux Cheat Sheet
  23. Shell Programming Quick Reference Guide
  24. IP Subnet Mask Quick Cheat Sheet
  25. Linux/Unix & Microsoft Cheat Sheet
  26. Logical Volume Manager Cheat Sheet
  27. Screen VT100/ANSI Terminal Emulator Cheat Sheet

Ah guess what these are only 27, but I had left 3 for you contribution. Please leave us a comment with your favorite Linux Cheat sheet to make up for the missing three :).

February 17th, 2009 by admin in Linux | No Comments

Ubuntu Desktop apparently frightens Microsoft

The Open Source community should be highly proud of Ubuntu. It seems to be the distro which most worry Microsoft in the Desktop market which is Microsoft Lead market. Actually Microsoft has posted for “Director Open Source Desktop Strategy at Microsoft” at linkedin. I was suprised that Microsoft are looking to hire some one at that high level just to put a plan to compete with Ubuntu on the Desktop market. Seems the Ubuntu buzz is floating the market. With Ubuntu 9.04 approaching, Ubuntu has proven it self as a great Open Source alternative for Windows in the Desktop arena.

Let us know what do you think of Ubuntu in the comments area.

February 17th, 2009 by admin in Ubuntu - News | No Comments

Debian 5.0 Lenny, finally ready. Happy 15th Anniversary.

After the delay for releasing the new distribution of Debian, the mother of many distros, such as Ubuntu, Knoppix, or Lenny (Debian 5.0), it has finally seen the light. Few days ago they replicated the distro to all the mirrors so that you can now celebrate the 15th anniversary of the distribution. Download is available by both HTTP & Torrent.

After 22 months of development Debian 5.0 has been presented. The free operating system supports twelve arquitcturas constant. Debian GNU / Linux is a free operating system that supports a total of twelve architectures, Sun SPARC (sparc), HP Alpha (alpha), Motorola / IBM PowerPC (powerpc), Intel IA-32 (i386), IA-64 (ia64) HP PA-RISC (hppa), MIPS (mips, mipsel), ARM (arm, Armel), IBM S/390 (s390), and AMD’s AMD64 and Intel EM64T (amd64). Apart from the most popular desktop environments: KDE, GNOME, Xfce and LXDE.

Debian has new versions of its more than 12,000 packages, and it CDs/DVDs includes 3.5.10 K Desktop Environment (KDE), an updated version of the GNOME 2.22.2 desktop environment, the Xfce 4.4.2 desktop environment , LXDE 0.3.2.1, the GNUstep desktop 7.3, X. Org 7.3, OpenOffice.org 2.4.1, GIMP 2.4.7, iceweasel 3.0.6 (a version of Mozilla Firefox does not use the trademark), icedove 2.0.0.19 (a version of Mozilla Thunderbird that does not use the trademark), PostgreSQL 8.3.6, MySQL 5.0.51a, the GNU Compiler Collection (GCC) 4.3.2, the Linux kernel version 2.6.26, Apache 2.2.9 , Samba 3.2.5, Python 2.5.2 and 2.4.6, Perl 5.10.0, PHP 5.2.6, Asterisk 1.4.21.2, 22 Emacs, Inkscape 0.46, Nagios 3.06, Xen Hypervisor 3.2.1 (with support for both dom0 to domu), OpenJDK 6b11 and over 23,000 other software packages ready for use (to us from 12,000 source packages).

X. Org 7.3 is the version accepted figure as manager due to the stability and possibility of integration with the graphics hardware automatically. Supports native NTFS and Flash using Gnash or swfdec and have launched versions for specific hardware such as ultra-fashionable, especially the EEEPC.

The announcement of the new version has been devoted to Thiemo Seufer, a Debian developer, mainly to adapt the system for MIPS platforms, who died last December 26 in a traffic accident.

lennybanner Debian

lennybanner Debian

This Article has adopted the original article of Jesús Maturana which was originaly written in Spanish.

February 17th, 2009 by admin in BSD-news | Comment (1)

Microsoft and Red Hat, united by virtualization

Ah it seems virtualization is what going to unite the largest competing vendors. Yes, I am talking about Microsoft, Redhat, and Novell. Not too long back Novell who purchased SUSE has got in an agreement with Microsoft in regards of Virtualization. So with SUSE making the lead seems REDHAT is going the same route as well. I guess there is things where the big players in the IT market have to get a long, and virtualization seems to be  one of the biggest at the moment.

Redhat has surprisingly announced the joint of Microsoft in the virtualization market, and they will provide a validation and certification programs for virtualization solutions. As Redhat announced a good validation & Certification program will allow the customers to deploy a heterogeneous solutions from Microsoft & Red Hat. It seems in few years virtualizations will unlock the boundaries between many competing vendors.

:
Please leave a comment of what do you think of this virtualization joint.


February 17th, 2009 by admin in RHEL-News | No Comments

Ubuntu 9.04, 20% faster than Ubuntu 8.10

The next version of Ubuntu, whose development has reached the alpha stage 4, is surprisingly fast compared to its predecessor and Ubuntu 8.10 even without implementing the filesystem EXT4.

You can notice the speed difference from the moment you boot up the system. On our test machine Ubuntu 9.04 were able to boot up in just less than 20 seconds where Ubuntu 8.10 required just a bit more than 27 seconds on the same exact system. Ubuntu 9.04 seems to further highly enhance the I/O operations by as much as 20% from Ubuntu 8.10. Further more compilation from source code was more efficient on Ubuntu 9.04 than Ubuntu 8.10 by almost 19%. Our egg drop compilation took around 5 minutes less than it took on Ubuntu 8.10 with the same hardware.

Unfortunately though these advantages does not seems to be as abvious when looking at the compression of MP3 and OGG. It seems our system needed more resources to speed up the process of compression.

Though all this enhancement in performance still without the implementation of EXT4 file system which seems to be the upcoming file systems for most Linux distros with all the enhancements it has for the file system. Maybe by the time Ubuntu 9.04 get released it will include EXT4 file system which will even further boost the system.

Please leave your finding of how Ubuntu 9.04 perform for you to share it with others in the comments area.


February 17th, 2009 by admin in Ubuntu - News | Comment (1)