Linux Shell Scripting Tutorial – A Beginner\’s handbook

2010-04-11 0 min read Bash Learning Linux
\"Tux,
Image via Wikipedia

<a class="zem_slink freebase/en/unix_shell" title="Unix shell" rel="wikipedia" href="http://en.wikipedia.org/wiki/Unix_shell">Linux Shell Scripting Tutorial – A Beginner&#8217;s handbook —

This book is for students and Linux System Administrators. It provides the skills to read, write, and debug <a title="Linux" href="http://bash.cyberciti.biz/guide/Linux">Linux <a class="zem_slink freebase/en/shell_script" title="Shell script" rel="wikipedia" href="http://en.wikipedia.org/wiki/Shell_script">shell scripts using <a title="Bash" href="http://bash.cyberciti.biz/guide/Bash">bash <a title="Shell" href="http://bash.cyberciti.biz/guide/Shell">shell. The book begins by describing <a title="Linux" href="http://bash.cyberciti.biz/guide/Linux">Linux and simple scripts to automate frequently executed commands and continues by describing conditional logic, <a class="zem_slink freebase/en/interactivity" title="Interactivity" rel="wikipedia" href="http://en.wikipedia.org/wiki/Interactivity">user interaction, loops, menus, traps, and functions. Finally, book covers various sys admin related scripts such as making a backup, using <a class="zem_slink freebase/guid/9202a8c04000641f80000000045c9c5b" title="Cron" rel="wikipedia" href="http://en.wikipedia.org/wiki/Cron">cron jobs, writing interactive tools, web based tools, remote login, ftp and database backup related scripts. This book is intended for Linux <a class="zem_slink freebase/en/system_administrator" title="System administrator" rel="wikipedia" href="http://en.wikipedia.org/wiki/System_administrator">system administrators or students who have mastered the basics of a Linux Operating System. You should be able to:

Continue reading

Advanced Sed Substitution Examples

2010-04-11 1 min read Bash Linux

This article is part of the on-going Unix Sed Tips and Tricks series. In our previous sed articles we learned — sed printing, sed deletion, sed substitute , sed file write, and sed multiple commands. In this article, let us review some interesting workarounds with the “s” substitute command in sed with several practical examples. I. […]

Read More: <a href="http://www.thegeekstuff.com/2009/10/unix-sed-tutorial-advanced-sed-substitution-examples/">Unix Sed Tutorial: Advanced Sed Substitution Examples

URL: <a href="http://feedproxy.google.com/~r/TheGeekStuff/~3/uN-cE6UOvfA/">http://feedproxy.google.com/~r/TheGeekStuff/~3/uN-cE6UOvfA/<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www.slumpedoverkeyboarddead.com/2009/08/06/vim-video-tutorial/">VIM video tutorial (slumpedoverkeyboarddead.com) <li class="zemanta-article-ul-li"><a href="http://www.slumpedoverkeyboarddead.com/2009/08/22/turn-vim-or-emacs-into-and-ide-with-exuberant-ctags/">Turn Vim or Emacs Into and IDE With Exuberant-Ctags (slumpedoverkeyboarddead.com) <div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/0d68ebaf-6fc5-419a-a31c-7d31bc55ab3f/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_e8.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related pretty-attribution">

Continue reading

Difference between unix and linux.

2010-04-01 1 min read Linux

Find the article <a href="http://docs.hp.com/en/5971-3502/5971-3502.pdf">here.<div class="question"> <div style="margin: -5px 0pt 15px; padding: 0px; background-color: rgb(244, 247, 222); position: relative; border-top-width: 0px; border-bottom-width: 0px; background-position: 0px -8px;" id="question_title"> <table style="margin: 0pt; padding: 0pt;" cellpadding="0" cellspacing="0">

What is the difference between Linux and Unix

How to Install KDE in Windows]

2010-03-12 0 min read Linux
\"Image
Image via CrunchBase

For over a decade, <a class="zem_slink freebase/guid/9202a8c04000641f8000000000021de6" title="KDE" rel="homepage" href="http://www.kde.org/">KDE has supplied Linux and <a class="zem_slink freebase/guid/9202a8c04000641f800000000003e17c" title="Unix" rel="wikipedia" href="http://en.wikipedia.org/wiki/Unix">Unix users with a graphical <a class="zem_slink freebase/guid/9202a8c04000641f800000000007eda2" title="Desktop environment" rel="wikipedia" href="http://en.wikipedia.org/wiki/Desktop_environment">desktop environment and a suite of useful <a class="zem_slink freebase/guid/9202a8c04000641f8000000000254091" title="Application software" rel="wikipedia" href="http://en.wikipedia.org/wiki/Application_software">applications. It has become one of the most popular desktop environments and is the default on many <a class="zem_slink freebase/guid/9202a8c04000641f8000000000024e02" title="Linux distribution" rel="wikipedia" href="http://en.wikipedia.org/wiki/Linux_distribution">Linux distributions. With the coming of KDE 4, developers promised native KDE applications running on <a class="zem_slink freebase/guid/9202a8c04000641f8000000000025fe8" title="Windows" rel="homepage" href="http://www.microsoft.com/WINDOWS">Windows. While the current release is still not ready for production, as of KDE 4.3.3, it is coming closer and worth trying. What follows is a brief guide to getting KDE running on Windows.

Continue reading

Splitting strings with IFS

2010-02-04 2 min read Bash Linux

Today I want to discuss splitting strings into tokens or “words”. I previously discussed how to do this with the <a href="http://bashcurescancer.com/reading-a-file-line-by-line.html">IFS variable and promised a more in depth discussion. Today, I will make the case on WHY to use IFS to split strings as opposed to using a subshell combined with <a class="zem_slink freebase/en/awk" title="AWK" rel="homepage" href="http://cm.bell-labs.com/cm/cs/awkbook/index.html">awk or cut.

I wrote this script which reads the /etc/password file line-by-line and prints the <a class="zem_slink freebase/en/user" title="User (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/User_%28computing%29">username of any user which has a UID greater than 10 and has the shell of /sbin/nologin. Each test function performs this task 10 times to increase the length of the test:

Continue reading

Top 3 Sites To Help You Become A Linux Command Line Master]

2010-02-04 0 min read Linux
\"Programming
Image by fogus via Flickr

The truth about Linux today is that one may never have to actually <a class="zem_slink" title="Spice Girls" rel="homepage" href="http://www.thespicegirls.com">touch a terminal or issue a single Linux command in order to run some versions of this flexible alternative <a class="zem_slink" title="Operating system" rel="wikipedia" href="http://en.wikipedia.org/wiki/Operating_system">operating system. While there are times when using the Linux <a href="http://www.makeuseof.com/tag/an-introduction-to-the-linux-command-line/">command line could be expeditious and the benefits of possessing the ability to use it are numerous, many users can be intimidated by the prospect.

Continue reading

Some Rather Old But Still Funny Anti-UNIX Jokes (One Liners)

2009-12-28 3 min read Linux

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2009/12/unix-jokes1.jpg"><img src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/unix-jokes1.jpg" alt="" align="bottom" />You may have heard a lot of anti-<a class="zem_slink freebase/en/microsoft" title="Microsoft" rel="homepage" href="http://www.microsoft.com">Microsoft jokes before since you can read them everywhere. However, it&#8217;s pretty rare to find anti-UNIX/Linux jokes. So I would like to share with you some pretty old but still funny anti-UNIX one-liners. Enjoy!

  • If <a class="zem_slink freebase/en/unix" title="Unix" rel="wikipedia" href="http://en.wikipedia.org/wiki/Unix">Unix is the answer, then it must have been a stupid question.

    Continue reading