How to : Use Google Sets And Squared To Enhance Your Linux Administration Skills

0 comments

Long time back we thought of posting this, now the time has come. This post is all about how to use Google's tools "unknown to many" services to enhance your admin skills. I strongly suggest you to use these tools extensively to enhance your knowledge on a given topic. Most of the people will say use google, google is your friend etc. Even some times Google is refered as GOD in IT industry which is acronym to "Google Oriented Development" but they dont tell how to use it. This is one step towards it. OK lets come to what actually this Google Sets and Squired do for us.

Google sets(
http://labs.google.com/sets) :

Automatically create sets of items from a few examples. This can be easily explained by taking an example. Suppose you know
How to add user,
Remove user,
Modify user details,
Delete user.. etc. In Linux user management. Now you want to enhance more of your knowledge on this area. So just type below commands in google sets form.
useradd
adduser
usermod
userdel
newusers

When you sa grow to “small set” it will create a set of commands/related words up to 15 in number. If this 15 commands is not enough for you enhancing of knowledge you can “grow set”. Once that set is grown you can use that keywords to enhance your knowledge.


Enter your commands in to this form






Once you fill the form grow the set(click on small set button)
Now you can even grow this set.. to more :-)
















Once you grow the set, see how many commands are there in user management it self.

Google squared(http://www.google.com/squared) :
Google Squared takes a category and creates a starter 'square' of information, automatically fetching and organizing facts from across the web. This is more sofesticated with more options. Explore your self how to use google squared to get more out of google :-)


Home page of google squred where you can enter your data.

Enter data what you want to square
This is the output you will get.




Some of the people still have some confusion right? For those people here are the examples you can try.

For Google sets :
1. Try to know what other Linux flavours are there
Redhat, Centos, Fedorea, Debian, Ubuntu etc
.

Do you know there is Linux distribution watching site where you will get up to date Linux flavor?
Ans :
Visit the site here :
http://distrowatch.com/

2. Try to know what other mail servers exists.
sendmail, postfix, fetchmail, qmail, procmail etc.

3. Try to know how many greps are there.
agrep, egrep, fgrep, grep, pgrep,

Do you know we have grep song? It starts like this agrep, bgrep, cgrep.... ygrep, zgrep?

For Google squared:

1. Try to know more about Raid levels, options, commands, advantages etc.
RAID0, RAID1, RAID5, RAID6, RAID10 etc.

2. Try to know more about searching commands.
grep, find, locate, sed, awk etc.

  • Like the post? Please Subscribe to free RSS feed to get updates
  • Notes For Vi Editor

    0 comments

    VI editor is the default file editor in most of the Linux/Nix machines. It is having great capabilities to edit a file with in few key strokes.

    Lets start with some general information and then move on to some good things what vi editor can do for you while editing a file.
    1. Vi stands for visual.
    2. Vi have its variants like vim which stands for Vi IMproved, VimX11 for gui and winvi for MS windows.
    3. Vi is the most popular editor and next most popular editor is gedit.
    4. Do you know there is a book on VI editor from orally which is of 600+ pages.
    5. Some other editors which will do the work of editing files are neno, pico, gedit, emacs, joe, nedit, ed etc.

    Learning vi editor and remembering them is a very a easy task if you learn it in a systematic way.
    a. Modes of VI
    b. Navigational commands
    c. Editing commands.
    d. Search and Replace
    e. Save and quiting a file.

    a. Modes of VI :
    Vi have two mode of operation.
    1. Command mode
    2. Inserting mode

    Command mode :
    Vi editor begins in command mode, where cursor movement(navigation in the file) and editing occur. To enter in to command mode from Inserting mode press esc button.

    Inserting mode :
    Used for entering text, this is similar to notepad in Windows. To enter in to inserting mode you can use any of the following.
    i or I => present line
    o => one line down the present line
    O => one line above

    Note : All comments will work in command mode only.

    b. Navigational commands :
    1. Character navigation k, h, l and j
    h => To move one character left.
    j => To move one line down.
    k => To move one line up.
    l => To move one character right.

    How to use above commands in clever way?
    Examples :
    6j => to move 6 lines down from the present courser.
    7k => to move 7 lines above from the present courser.

    2. Word Navigation
    w => word forward.
    e =>word forward, but end of the word.
    b => one word backward.

    Examples :
    32w => To move 32 words forward
    6b => To move 6 words back.

    3. Setting (nu) mbering to lines
    :set nu
    Removing of (nonu)mbering to lines
    :set nonu

    4. Moving paragraphs
    move one paragraph up => {{
    move one paragraph down => }}

    5. Moving page up/down
    For up => ctrl+b
    For down => ctrl+f

    6. Moving start/end of the file
    Starting of the file(first line => [[
    End of the file(last line) => ]]

    7. Going to any line :
    :lineno

    Example :
    If we want to go to 56 line then type
    :56

    c. Editing commands

    8. Replace one letter
    Replace one letter => r
    Delete one letter => x

    9. Editing one word
    Edit one word => cw
    Delete one word => dw

    10. Editing one line
    Editing a line from courser to the end of that line => d$

    11. Cutting
    deleting(cutting) one line => dd

    Examples :
    2dd(deleting/cutting two lines)

    12. Pasting
    Pasting a line below the courser => p
    Pasting a line above the courser => P

    13. Coping
    Copying one line => yy
    Copying n lines => nyy

    14. Special commands
    joining lines => J
    undoing things => u
    repeating previous command => .

    d. Search and replace

    15. Search for a term /term

    Example : If you want to search for suresh then press /suresh enter
    /suresh
    Moving to next occurrence, press "n" with out quotes moving to previous occurrence, press "N" with out quotes.

    16. Searching and replacing a term(here separator is / )
    :%s/searchterm/replaceterm/g
    change default separator
    :%s_/home/surya/grade_/home/testing/dest_g

    To search and replace particular term from given line to other given line.
    :%s294,304/sahana/xyz/g

    e)Save and quiting a file
    :w => save the file
    :q => quit the file
    :wq => save and quit
    :w! => force save the file
    :q! => force quit with out save
    :wq => save and quit forcefully


  • Like the post? Please Subscribe to free RSS feed to get updates
  • Red Hat Enterprise Linux 6 Beta Available Today For Public Download

    0 comments

    The long waited Redhat Enterprise Linux version 6 with beta tag is released to public. As of now there are so many downloads happening from FTP server of Redhat. Here is the link to download RHEL6 32 arch and 64 arch.

    Here is the improved features from Redhat in this release :

    Power Management : Tickless kernel and improvements through the application stack to reduce wakeups, power consumption measurement by Powertop, Power Management (ASPM, ALPM), and adaptive system tuning by Tuned, all enhance more efficient system power usage.

    Next Generation Networking : Comprehensive IPv6 support (NFS 4, CIFS, mobile support [RFC 3775], ISATAP support), FCoE, iSCSI, and a new and improved mac 802.11 wireless stack.

    Reliability, Availability, and Serviceability (RAS) : System-level enhancements from industry collaborations make the most of hardware RAS capabilities and NUMA architectures.

    Fine-Grained Control and Management : Improved scheduler and better resource management in the kernel via Completely Fair Scheduler (CFS) and Control Groups (CG).

    Scalable Filesystems : Ext4 file system provides support for larger file sizes and significantly reduces repair times over ext3. XFS® is a high-performance file system that supports extremely large files and is optimized for large data transfers.

    Virtualization : KVM includes performance improvements and new features, sVirt protects the guest and host from unauthorized access, SR-IOV and NPIV deliver high-performance virtual use of physical devices, and libvirt leverages kernel resource management functionality.

    Enterprise Security Enhancement : SELinux includes improved ease of use, application sandboxing, and significantly increased coverage of system services, while SSSD( System Security Services Daemon) provides unified access to identity and authentication services as well as caching for off-line use.

    Development and Runtime Support : SystemTap improvements, ABRT is a new framework for simple collection and reporting of bug information, and improvements are made to GCC (version 4.4.3), glibc (version 2.11.1), and GDB (version 7.0.1).

    And here the press release from Redhat.

  • Like the post? Please Subscribe to free RSS feed to get updates
  • Archive

    Translate this page

     

    The Linux Juggernaut | Copyright 2006-2009 Surendra Kumar Anne | Surendra's Home Page | Give us feedback how we are doing, Click here