ODOC: uname

uname – Display system informations


Display system information like OS Type, Kernel version, Architecture, Host name etc…
The uname command will collect the information from the /proc/sys/kernel/{ostype, hostname, osrelease, version, domainname}.

Examples :-

$ uname — Kernel Name

$ uname -n — Show the machine name

$ uname -rv — Show kernel’s release & Ver info

$ uname -om — Show Arch and OS Type

$ uname -a — Show all info

Read: man uname

Tech Tags: linux kernel
in ODOC | 83 Words

ODOC: df

df — Disk Free and Usage report


df command display the amount of disk space available on the FileSystem (FS) containing each file name argument. If no file name is given, the space available on all currently mounted Filesystems are shown.

Examples :-

$ df — Usage report of all mounted FS.

$ df myfile — Display usage report of FS which contain
the myfile.

$ df /home — Usage report of Home partition

$ df /dev/hda1 — Usage report of /dev/hda1

$ df -Th — Display the partition type and size is in human
readable format

$ df -x tmpfs — Don’t list the ‘tmpfs’ partitions.

$ df -P — Output in POSIX format. (Remove -P and see the

Read: man df

Tech Tags: linux
in ODOC | 130 Words

ODOC: watch

watch – Periodically run and show the output of a program


Watch runs command repeatedly, displaying its output This allows you to monitor the program output change over time.

Examples :-

$ watch ls — Every 2sec(default time) ‘ls’ is executed and output is showed on the screen.

$ watch -n 6 who — Every 6Sec ‘who’ run and list the current users

$ watch -d date — Highlight the difference b/w successive updates

Press Ctrl+C to stop the Watch Command.

Read: man watch

Tech Tags: linux
in ODOC | 91 Words

ODOC: ac

ac – Print statistics about users’ connect time


“ac” command will print the users’ connect time details in different formats (Total, Per day, Per user, etc..)


$ ac — print total useage
$ ac -p — print indv user info
$ ac -dy — print daily based report

Read: man ac

Tech Tags: linux
in ODOC | 58 Words

ODOC: free

free — Display Information about Memory utilization


Displays the total amount of free and used physical memory & swap space in the system, as well as the buffers & cache consumed by the kernel.

Examples :-

$ free — Display the mem info in KB

$ free -m — Display the mem info in MB

$ free -m -t — Display the total mem info

$ free -s 2 — Display the mem info for every 2 sec

$ free -s 2 -c 5 — Display the mem info for every 2 sec, but only 5 times

$ cat /proc/meminfo — This is the original file which is used by free command for the report

Read: man free

Tech Tags: linux
in ODOC | 116 Words

GoboLinux – different approach to package management

GoboLinux is a Linux distribution that breaks with the historical Unix directory hierarchy. Basically, this means that there are no directories such as /usr and /etc. The main idea of the alternative hierarchy is to store all files belonging to an application in its own separate subtree; therefore we have directories such as /Programs/GCC/2.95.3/lib.
The FAQ clearly states that this is not a distro for a newbie. This is more for the user who would like to compile his own software. Here is a nice article about GoboLinux at linux.com and here are some screenshots.

Nokia goes on open source Safari


Nokia, the mobile phone giant has created an open-source browser based on Safari for smartphones. This team of Nokia and Safari will deliver a web browser for the S60 smartphone sotware platform.
Nokia says the browser, which will be made available to other companies licensing the S60 platform for their own smartphones, will give users a better surfing experience. It is designed to display Web pages on a phone exactly as they look on a monitor.
The browser includes pop-up blocking, access to RSS feeds and a text search feature. It uses components from Apple’s Safari Web Kit

Gideon – GUI Designer for GTK/C++

Gideon is a versatile GUI designer for GTK/C++. The goal of the project is to provide an easy-to-use RAD tool for C++ programmers who want to create multi-platform GTK-based GUI applications. Gideon is not overloaded but strives to provide all necessary features and remain ‘simple and lightweight’ to end user. Gideon is highly productive for experts and accessible for newcomers. Try Gideon for your GUI programming in C++.

Tech Tags: linux windows

Firefox 1.5 RC1 available

Firefox 1.5 Release Candidate 1 was released, however this is not the final version of the new Firefox 1.5. This RC was released for the developer and testing community for compatibility testing and to solicit feedback.
Firefox 1.5 has various new features like:

  • Automated update
  • Faster browser navigation
  • Drag and drop reordering of browser tabs
  • Improvements to popup blocking
  • Clear private data feature
  • Improvements to product usability
  • Answers.com added to search engine list
  • Better accessibility
  • Report a broken website wizard
  • Better support for Mac OS X
  • new support for web standard – SVG, CSS 2, CSS 3 and Javascript 1.6
  • and many security fixes

Firefox can be downloaded and installed easily. Try firefox and browse the web in a better way.

ODOC: cat

cat — CATenate files & print on the STDOUT


From Jargon File: Catenate is an obscure word meaning “to connect in a series”, which is what the “cat” command does to one or more files.

Cat will conCATenate the FILE(s) / STDIN to STDOUT.


$ cat foo — Dump the file named foo to STDOUT (please be careful with the case of the filename)

$ cat File1 File2 File3 — Dump File1, File2 & File3

$ cat -b File — Print the File with Number for Non blank lines

$ cat -s File — Squeeze multiple blank lines to single.

$ cat -A File — Show the Non-Printable Chars also

$ cat > File — Concat the STDIN to STDOUT & FILE. This can be used to quickly create a file with some content. After you have finished typing the contents, press Ctrl+D to save.

Read: info cat

Tech Tags: linux
in ODOC | 149 Words