<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>nixCraft &#187; Shell scripting</title> <atom:link href="http://www.cyberciti.biz/tips/category/shell-scripting/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Wed, 24 Apr 2013 18:50:55 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.5.1</generator> <item><title>Shell Script Wrapper Examples: Enhance the Ping and Host Commands</title><link>http://www.cyberciti.biz/tips/unix-linux-bash-shell-script-wrapper-examples.html</link> <comments>http://www.cyberciti.biz/tips/unix-linux-bash-shell-script-wrapper-examples.html#comments</comments> <pubDate>Tue, 19 Jun 2012 13:20:08 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[apple os x]]></category> <category><![CDATA[cluster environment]]></category> <category><![CDATA[cluster usage]]></category> <category><![CDATA[computing environment]]></category> <category><![CDATA[default arguments]]></category> <category><![CDATA[export classpath]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[hardware platform]]></category> <category><![CDATA[netbsd]]></category> <category><![CDATA[OpenBSD]]></category> <category><![CDATA[redhat]]></category> <category><![CDATA[rhel]]></category> <category><![CDATA[shell script wrapper]]></category> <category><![CDATA[shell scripts]]></category> <category><![CDATA[single pass]]></category> <category><![CDATA[system binaries]]></category> <category><![CDATA[system environment]]></category> <category><![CDATA[variable settings]]></category> <category><![CDATA[wrapper script]]></category> <category><![CDATA[wrapper scripts]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=9155</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/tips/category/shell-scripting' title='See all Bash/Shell scripting related tips/articles'><img
src='http://s0.cyberciti.org/images/category/old/terminal.png' border='0' /></a></div> <span
class="drop_cap">S</span>hell script wrappers can make the *nix command more transparent to the user. The most common shell scripts are simple wrappers around third party or system binaries. A wrapper is nothing but a shell script that includes a system command or utility.
Linux and Unix like operating system can run both 32bit and 64bit specific versions of applications. You can write a wrapper script that can select and execute correct version on a 32bit or 64bit hardware platform. In cluster environment and High-Performance computing environment you may find 100s of wrapper scripts written in Perl, Shell, and Python to get cluster usage, setting up shared storage, submitting and managing jobs, backups, troubleshooting, invokes commands with specified arguments, sending stdout to stdout and stderr to stderr and much more.
In this post, I will explains how to create a shell wrapper to enhance the basic troubleshooting tool such as ping and host.]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/unix-linux-bash-shell-script-wrapper-examples.html/feed</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X</title><link>http://www.cyberciti.biz/tips/bash-aliases-mac-centos-linux-unix.html</link> <comments>http://www.cyberciti.biz/tips/bash-aliases-mac-centos-linux-unix.html#comments</comments> <pubDate>Mon, 11 Jun 2012 05:58:51 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[aix]]></category> <category><![CDATA[alias]]></category> <category><![CDATA[aliases]]></category> <category><![CDATA[apple os x]]></category> <category><![CDATA[bash shell]]></category> <category><![CDATA[bashrc]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[desktop productivity]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[HP-UX]]></category> <category><![CDATA[linux command]]></category> <category><![CDATA[login session]]></category> <category><![CDATA[netbsd]]></category> <category><![CDATA[OpenBSD]]></category> <category><![CDATA[productivity]]></category> <category><![CDATA[Productivity Tips]]></category> <category><![CDATA[Slackware]]></category> <category><![CDATA[task list]]></category> <category><![CDATA[ubuntu]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=9063</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/tips/category/shell-scripting' title='See all Bash/Shell scripting related tips/articles'><img
src='http://s0.cyberciti.org/images/category/old/terminal.png' border='0' /></a></div> <span
class="drop_cap">A</span>n alias is nothing but shortcut to commands. The alias command allows user to launch any command or group of commands (including options and filenames) by entering a single word. Use alias command to display list of all defined aliases. You can add user defined aliases to <a
href="http://bash.cyberciti.biz/guide/~/.bashrc">~/.bashrc</a> file. You can cut down typing time with these aliases, work smartly, and increase productivity at the command prompt. ]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/bash-aliases-mac-centos-linux-unix.html/feed</wfw:commentRss> <slash:comments>73</slash:comments> </item> <item><title>HowTo: Use Bash Parameter Substitution Like A Pro</title><link>http://www.cyberciti.biz/tips/bash-shell-parameter-substitution-2.html</link> <comments>http://www.cyberciti.biz/tips/bash-shell-parameter-substitution-2.html#comments</comments> <pubDate>Wed, 13 Oct 2010 22:32:02 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[assignment operator]]></category> <category><![CDATA[command line arguments]]></category> <category><![CDATA[command substitution]]></category> <category><![CDATA[default shell]]></category> <category><![CDATA[parameter expansion]]></category> <category><![CDATA[shell variables]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=7409</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/tips/category/shell-scripting' title='See all Bash/Shell scripting related tips/articles'><img
src='http://s0.cyberciti.org/images/category/old/terminal.png' border='0' /></a></div> <span
class="drop_cap">T</span>he $ character is used for parameter expansion, and command substitution. You can use it for manipulating and/or expanding variables on demands without using external commands such as sed or awk. ]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/bash-shell-parameter-substitution-2.html/feed</wfw:commentRss> <slash:comments>17</slash:comments> </item> <item><title>10 Tools To Add Some Spice To Your UNIX Shell Scripts</title><link>http://www.cyberciti.biz/tips/spice-up-your-unix-linux-shell-scripts.html</link> <comments>http://www.cyberciti.biz/tips/spice-up-your-unix-linux-shell-scripts.html#comments</comments> <pubDate>Mon, 19 Apr 2010 20:47:43 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[/dev/tcp/host/port]]></category> <category><![CDATA[/dev/udp/host/port]]></category> <category><![CDATA[Bash /dev/tcp/host/port example]]></category> <category><![CDATA[Bash /dev/udp/host/port example]]></category> <category><![CDATA[Bash Network Programming]]></category> <category><![CDATA[Bash Socket Programming]]></category> <category><![CDATA[gnome desktops]]></category> <category><![CDATA[interactive unix]]></category> <category><![CDATA[kdialog Command]]></category> <category><![CDATA[logger command]]></category> <category><![CDATA[network socket]]></category> <category><![CDATA[notify-send Command]]></category> <category><![CDATA[setleds Command]]></category> <category><![CDATA[setterm Command]]></category> <category><![CDATA[shell scripts]]></category> <category><![CDATA[smbclient command]]></category> <category><![CDATA[tput Command]]></category> <category><![CDATA[zenity Command]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=6787</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/tips/category/shell-scripting' title='See all Bash/Shell scripting related tips/articles'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
class="drop_cap">T</span>here are some misconceptions that shell scripts are only for a CLI environment. You can easily use various tools to write GUI and/or network (socket) scripts under KDE or Gnome desktops. Shell scripts can make use of some of the GUI widget (menus, warning boxs, progress bars etc). You can always control the final output, cursor position on screen, various output effects, and so on. With the following tools you can build powerful, interactive, user friendly UNIX / Linux bash shell scripts.]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/spice-up-your-unix-linux-shell-scripts.html/feed</wfw:commentRss> <slash:comments>95</slash:comments> </item> <item><title>Linux x86_64: Detecting Hardware Errors</title><link>http://www.cyberciti.biz/tips/linux-server-predicting-hardware-failure.html</link> <comments>http://www.cyberciti.biz/tips/linux-server-predicting-hardware-failure.html#comments</comments> <pubDate>Tue, 02 Jun 2009 21:54:58 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[CentOS]]></category> <category><![CDATA[Debian Linux]]></category> <category><![CDATA[fedora linux]]></category> <category><![CDATA[Gentoo Linux]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[Howto]]></category> <category><![CDATA[kernel]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Linux distribution]]></category> <category><![CDATA[Networking]]></category> <category><![CDATA[package management]]></category> <category><![CDATA[RedHat/Fedora Linux]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[Sys admin]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[Ubuntu Linux]]></category> <category><![CDATA[/dev/mcelog]]></category> <category><![CDATA[/etc/cron.d/mcelog]]></category> <category><![CDATA[/var/log/mcelog]]></category> <category><![CDATA[amd intel]]></category> <category><![CDATA[bit systems]]></category> <category><![CDATA[blue screen of death]]></category> <category><![CDATA[blue screen of death bsod]]></category> <category><![CDATA[communication error]]></category> <category><![CDATA[cpu cache]]></category> <category><![CDATA[cron job]]></category> <category><![CDATA[error logs]]></category> <category><![CDATA[hardware error]]></category> <category><![CDATA[hardware errors]]></category> <category><![CDATA[hardware failure]]></category> <category><![CDATA[hardware problem]]></category> <category><![CDATA[intel 64 bit]]></category> <category><![CDATA[kernel panic]]></category> <category><![CDATA[machine check exception]]></category> <category><![CDATA[mcelog command]]></category> <category><![CDATA[memory error]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4951</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/tips/category/troubleshooting' title='See all Troubleshooting related tips/articles'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/configure.png' border='0' /></a></div> The Blue Screen of Death (BSoD) is used for the error screen displayed by Microsoft Windows, after encountering a critical system. Linux / UNIX like operating system may get a kernel panic. It is just like BSoD. The BSoD and a kernel panic generated using a Machine Check Exception (MCE). MCE is nothing but feature of AMD / Intel 64 bit systems which is used to detect an unrecoverable hardware problem. <br
/><br
/> Program such mcelog decodes machine check events (hardware errors) on x86-64 machines running a 64-bit Linux kernel. It should be run regularly as a cron job on any x86-64 Linux system. This is useful for <em>predicting server hardware failure</em> before actual server crash.]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/linux-server-predicting-hardware-failure.html/feed</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Poll: Your Favorite Scripting Language?</title><link>http://www.cyberciti.biz/tips/poll-your-favorite-scripting-language.html</link> <comments>http://www.cyberciti.biz/tips/poll-your-favorite-scripting-language.html#comments</comments> <pubDate>Tue, 17 Mar 2009 18:40:23 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Ask nixCraft]]></category> <category><![CDATA[C Programming]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Perl]]></category> <category><![CDATA[php]]></category> <category><![CDATA[Poll]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[python]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[Sys admin]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[admin work]]></category> <category><![CDATA[Automation]]></category> <category><![CDATA[bash]]></category> <category><![CDATA[correct tool]]></category> <category><![CDATA[django]]></category> <category><![CDATA[glue]]></category> <category><![CDATA[rapid development]]></category> <category><![CDATA[security issues]]></category> <category><![CDATA[system knowledge]]></category> <category><![CDATA[web projects]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4552</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/tips/category/c-programming' title='See all UNIX/Linux Programming/Development related articles'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/programming-logo.png' border='0' /></a></div> Like most sys admin, I'm lazy. I try to automate almost all things in order to save time. Inexperienced sys admin and help desk staff working under me finds all these tools useful. It saves their time and avoids security issues. Automation allows help desk staff  to do things that they don't have enough direct system knowledge to do themselves. However, selecting correct tool and applying correct methodology is very important. <br
/><br
/> Note: There is a poll embedded within this post, please <a
href="http://www.cyberciti.biz/tips/poll-your-favorite-scripting-language.html">visit the site to participate</a> in this post's poll.]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/poll-your-favorite-scripting-language.html/feed</wfw:commentRss> <slash:comments>36</slash:comments> </item> <item><title>Debunking the &quot;Linux is virus free&quot; Myth</title><link>http://www.cyberciti.biz/tips/debunking-the-linux-is-virus-free-myth.html</link> <comments>http://www.cyberciti.biz/tips/debunking-the-linux-is-virus-free-myth.html#comments</comments> <pubDate>Wed, 11 Feb 2009 20:46:10 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Debian Linux]]></category> <category><![CDATA[Howto]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Linux desktop]]></category> <category><![CDATA[RedHat/Fedora Linux]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[Ubuntu Linux]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[windows vista]]></category> <category><![CDATA[blog]]></category> <category><![CDATA[crackers]]></category> <category><![CDATA[desktop environments]]></category> <category><![CDATA[email attachment]]></category> <category><![CDATA[foobar]]></category> <category><![CDATA[Gnome]]></category> <category><![CDATA[launcher files]]></category> <category><![CDATA[linux virus]]></category> <category><![CDATA[malware]]></category> <category><![CDATA[matter of time]]></category> <category><![CDATA[netbooks]]></category> <category><![CDATA[workaround]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4420</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/tips/category/linux' title='See all GNU/Linux related tips/articles'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/linux-logo.png' border='0' /></a></div> Is Linux is virus free? The author of foobar blog provides some insight about the same. Linux users can't just catch a virus by email or downloading malware from the Internet, contrary to "those Windows users". From the foobar blog post:<blockquote>Then you save an email attachment under Linux, the execute flag is normally NOT set and thus, the file can't be executed just by clicking on it. So, no luck?</blockquote>]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/debunking-the-linux-is-virus-free-myth.html/feed</wfw:commentRss> <slash:comments>21</slash:comments> </item> <item><title>How To Write Object-Oriented Shell scripts For Multiple Platforms</title><link>http://www.cyberciti.biz/tips/squirrel-portable-shell-and-scripting-language.html</link> <comments>http://www.cyberciti.biz/tips/squirrel-portable-shell-and-scripting-language.html#comments</comments> <pubDate>Mon, 19 Jan 2009 06:42:27 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Howto]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[Sys admin]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[cross platform]]></category> <category><![CDATA[linux mac]]></category> <category><![CDATA[mac os x]]></category> <category><![CDATA[memory bandwidth]]></category> <category><![CDATA[oo programming language]]></category> <category><![CDATA[scripting language]]></category> <category><![CDATA[shell scripts]]></category> <category><![CDATA[squirrel]]></category> <category><![CDATA[unix linux]]></category> <category><![CDATA[video games]]></category> <category><![CDATA[windows systems]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4559</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/tips/category/shell-scripting' title='See all Bash/Shell scripting related tips/articles'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> This may come handy while writing cross-platform scripts.<br
/><br
/> If you don't want to commit to the idiosyncrasies of a specific shell running on a particular platform, try the Squirrel Shell. The Squirrel Shell provides an advanced, object-oriented scripting language that works equally well on UNIX, Linux, Mac OS X, and Windows systems. Write a script once, and run it anywhere.<br
/><br
/> Squirrel is a high level imperative/OO programming language, designed to be a light-weight scripting language that fits in the size, memory bandwidth, and real-time requirements of applications like video games. <br
/><br
/> => <a
href="www.cyberciti.biz/rss.redirect.php?u=http://www.ibm.com/developerworks/aix/library/au-spunix_squirrel/index.html">Speaking UNIX: The Squirrel portable shell and scripting language</a>]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/squirrel-portable-shell-and-scripting-language.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Upgrade WordPress 2.7 in 3 Simple Steps</title><link>http://www.cyberciti.biz/tips/howto-upgrade-wordpress-27-using-shellprompt.html</link> <comments>http://www.cyberciti.biz/tips/howto-upgrade-wordpress-27-using-shellprompt.html#comments</comments> <pubDate>Thu, 11 Dec 2008 09:48:04 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[GNU/Open source]]></category> <category><![CDATA[Howto]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[Sys admin]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[directory name]]></category> <category><![CDATA[easy to upgrade wordpress]]></category> <category><![CDATA[howto update wordpress]]></category> <category><![CDATA[howto upgrade wordpress]]></category> <category><![CDATA[linux shell]]></category> <category><![CDATA[mysql database]]></category> <category><![CDATA[mysqldump command]]></category> <category><![CDATA[old version]]></category> <category><![CDATA[unix shell]]></category> <category><![CDATA[upgrade wordpress command line]]></category> <category><![CDATA[wget command]]></category> <category><![CDATA[wordpesss]]></category> <category><![CDATA[wordpress]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3927</guid> <description><![CDATA[<div
style="float:right;margin-top:0px;margin-left:5px;"><a
title="See all Bash/Shell scripting related tips/articles" href="http://www.cyberciti.biz/tips/category/shell-scripting"><img
src="http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png" border="0" alt="" /></a></div> <a
href="http://www.cyberciti.biz/tips/download-wordpress-27.html">Wordpress version 2.7</a> has been released and can be upgraded easily using UNIX / Linux shell prompt. A few assumptions:<ol><li>Wordpress database name: <strong>wptheosblog</strong></li><li>Wordpress directory name: <strong>/var/www/html/theos.in</strong></li><li>Wordpress domain name: <strong>theos.in</strong></li><li>Operating system: <strong>Linux</strong></li></ol><div
style="padding: 2px 0px 2px 0.5em; background: #fbfbfb;border: 1px solid #aaa; border-left: 10px solid #b22222; "><img
style="vertical-align: middle;" title="Warning examples may crash your computer" src="http://figs.cyberciti.biz/warning-40px.png" alt="" /><strong>WARNING!</strong> If you are not comfortable with UNIX shell prompt (IF YOU ARE new to a UNIX/Linux os), please follow traditional way of <a
href="http://codex.wordpress.org/Upgrading_WordPress_Extended">upgrading wordpress</a> and DO NOT use the three Steps described here.</div>]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/howto-upgrade-wordpress-27-using-shellprompt.html/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Linux / UNIX: Find Out If a Directory Exists or Not</title><link>http://www.cyberciti.biz/tips/find-out-if-directory-exists.html</link> <comments>http://www.cyberciti.biz/tips/find-out-if-directory-exists.html#comments</comments> <pubDate>Sun, 16 Nov 2008 17:13:15 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[CentOS]]></category> <category><![CDATA[Debian Linux]]></category> <category><![CDATA[File system]]></category> <category><![CDATA[Gentoo Linux]]></category> <category><![CDATA[Howto]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open source coding]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[RedHat/Fedora Linux]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[Suse Linux]]></category> <category><![CDATA[Sys admin]]></category> <category><![CDATA[Ubuntu Linux]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[bash directory not exists]]></category> <category><![CDATA[bash if directory exists]]></category> <category><![CDATA[bash if directory not exist]]></category> <category><![CDATA[bash linux if directory exists]]></category> <category><![CDATA[conditional expressions]]></category> <category><![CDATA[linux check if directory exists]]></category> <category><![CDATA[linux directory exists]]></category> <category><![CDATA[linux if directory exist]]></category> <category><![CDATA[shell script if directory exists]]></category> <category><![CDATA[test command]]></category> <category><![CDATA[unix if directory exists]]></category> <category><![CDATA[[ command]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3560</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/tips/category/shell-scripting' title='See all Bash/Shell scripting related tips/articles'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> I've already written a small tutorial about <a
href="http://www.cyberciti.biz/tips/find-out-if-file-exists-with-conditional-expressions.html">finding out if a file exists or not under Linux / UNIX</a> bash shell. However, couple of our regular readers like to know more about a directory checking using if and test shell command. ]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/find-out-if-directory-exists.html/feed</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>How To Use vi as Default Editor and Viewer in Midnight Commander</title><link>http://www.cyberciti.biz/tips/midnightcommander-set-vi-as-default-editor-viewer.html</link> <comments>http://www.cyberciti.biz/tips/midnightcommander-set-vi-as-default-editor-viewer.html#comments</comments> <pubDate>Mon, 03 Nov 2008 05:01:50 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[File system]]></category> <category><![CDATA[Howto]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[command menu]]></category> <category><![CDATA[f9]]></category> <category><![CDATA[filesystem]]></category> <category><![CDATA[jumpstart]]></category> <category><![CDATA[midnight commander]]></category> <category><![CDATA[options menu]]></category> <category><![CDATA[shell script]]></category> <category><![CDATA[ui]]></category> <category><![CDATA[vi command]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3361</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/tips/category/shell-scripting' title='See all Bash/Shell scripting related tips/articles'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> Midnight Commander (mc) is an user-friendly text-based file manager UI for Unix. Using  mc, you can browse the filesystem easily and manipulate the files and directories quickly. You will not miss the  standard command line prompt, which is also available within the mc itself.  If you are new to mc, Midnight Commander (mc) <a
href="http://www.thegeekstuff.com/2008/10/midnight-commander-mc-guide-powerful-text-based-file-manager-for-unix/">Guide: Powerful Text based File Manager for Unix</a> article will give you a quick jumpstart.  In this article, let us review how to solve couple of common annoyance about viewing a file in mc.]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/midnightcommander-set-vi-as-default-editor-viewer.html/feed</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>UNIX Korn Shell Scripting Tutorial / Guide</title><link>http://www.cyberciti.biz/tips/unix-korn-shell-scripting-tutorial.html</link> <comments>http://www.cyberciti.biz/tips/unix-korn-shell-scripting-tutorial.html#comments</comments> <pubDate>Tue, 09 Sep 2008 12:11:47 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Howto]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[bourne shell]]></category> <category><![CDATA[command line interface]]></category> <category><![CDATA[korn]]></category> <category><![CDATA[korn shell scripting]]></category> <category><![CDATA[korn shells]]></category> <category><![CDATA[programming language]]></category> <category><![CDATA[scripts]]></category> <category><![CDATA[shell scripting tutorial]]></category> <category><![CDATA[traditional unix shell]]></category> <category><![CDATA[unix korn shell]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=2857</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/tips/category/unix' title='See all UNIX(R) related articles/tips'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/unix-logo.gif' border='0' /></a></div> Korn shell scripting is something all UNIX users should learn how to use. This article will teach you to write your own Korn shells scripts.]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/unix-korn-shell-scripting-tutorial.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How To Configuring Urchin 6 Tracking To Analyze Website Logs</title><link>http://www.cyberciti.biz/tips/analyze-website-logs-with-urchin6.html</link> <comments>http://www.cyberciti.biz/tips/analyze-website-logs-with-urchin6.html#comments</comments> <pubDate>Wed, 20 Aug 2008 18:37:02 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[lighttpd]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[apache logging]]></category> <category><![CDATA[apache logs]]></category> <category><![CDATA[logging format]]></category> <category><![CDATA[traffic monitor]]></category> <category><![CDATA[urchintracker]]></category> <category><![CDATA[web analysis]]></category> <category><![CDATA[web analytics software]]></category> <category><![CDATA[web analytics tools]]></category> <category><![CDATA[web log analysis]]></category> <category><![CDATA[web server configuration]]></category> <category><![CDATA[web traffic analysis software]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=2738</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/tips/category/shell-scripting' title='See all Bash/Shell scripting related tips/articles'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> This is 3rd and the final installment for Urchin 6 web analytics software series. Once Urchin is installed, you need to configure tracking on your website. You need to install Urchin sensors - a small piece of javascript tracking code on each of your website's pages.]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/analyze-website-logs-with-urchin6.html/feed</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Windows PowerShell vs UNIX BASH Shell</title><link>http://www.cyberciti.biz/tips/windows-powershell-vs-unix-bash-shell.html</link> <comments>http://www.cyberciti.biz/tips/windows-powershell-vs-unix-bash-shell.html#comments</comments> <pubDate>Wed, 16 Jul 2008 21:10:34 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[Windows server]]></category> <category><![CDATA[windows vista]]></category> <category><![CDATA[bash linux]]></category> <category><![CDATA[bash shell]]></category> <category><![CDATA[classic unix]]></category> <category><![CDATA[command line programs]]></category> <category><![CDATA[command shells]]></category> <category><![CDATA[Perl]]></category> <category><![CDATA[powershell]]></category> <category><![CDATA[python]]></category> <category><![CDATA[system administration]]></category> <category><![CDATA[unix utilities]]></category> <category><![CDATA[windows command]]></category> <category><![CDATA[windows servers]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=2472</guid> <description><![CDATA[Shell scripting is fun. It is useful to create nice (perhaps ugly) things (read as solutions) in shell scripting. Now Windows got Powershell. But how does PowerShell measure up to traditional shells like Bash?]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/windows-powershell-vs-unix-bash-shell.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>UNIX Command Line And The History Of The Shell</title><link>http://www.cyberciti.biz/tips/command-line-interface.html</link> <comments>http://www.cyberciti.biz/tips/command-line-interface.html#comments</comments> <pubDate>Fri, 04 Jul 2008 13:13:25 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[aix operating system]]></category> <category><![CDATA[command line]]></category> <category><![CDATA[command line interface]]></category> <category><![CDATA[command line scripting]]></category> <category><![CDATA[ibm aix]]></category> <category><![CDATA[korn]]></category> <category><![CDATA[korn shell]]></category> <category><![CDATA[linux command line]]></category> <category><![CDATA[operating systems]]></category> <category><![CDATA[robustness]]></category> <category><![CDATA[shell prompt]]></category> <category><![CDATA[unix command line]]></category> <category><![CDATA[unix history]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=2441</guid> <description><![CDATA[After reading this article, you should now be able to use the Korn shell in ways you may not have known before. Mastering the command line can simplify your work and help you better understand how to make the shell and command line work for you rather than you working harder for it. ]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/command-line-interface.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>How To Avoid Sudden Outburst Of Backup Shell Script / Program Disk I/O</title><link>http://www.cyberciti.biz/tips/linux-set-io-scheduling-class-priority.html</link> <comments>http://www.cyberciti.biz/tips/linux-set-io-scheduling-class-priority.html#comments</comments> <pubDate>Tue, 03 Jun 2008 13:13:44 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[CentOS]]></category> <category><![CDATA[data center]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[High performance computing]]></category> <category><![CDATA[Howto]]></category> <category><![CDATA[kernel]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[RedHat/Fedora Linux]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[Storage]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[Tuning]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[bandwidth management]]></category> <category><![CDATA[bandwidth scheduling program using shell scripting]]></category> <category><![CDATA[bandwidth throttle software]]></category> <category><![CDATA[bandwidth throttling]]></category> <category><![CDATA[best effort]]></category> <category><![CDATA[cfq]]></category> <category><![CDATA[disk bandwidth throttling]]></category> <category><![CDATA[grace period]]></category> <category><![CDATA[hard disk]]></category> <category><![CDATA[how to backup with io priority]]></category> <category><![CDATA[ionice]]></category> <category><![CDATA[ionice command]]></category> <category><![CDATA[limit bandwidth]]></category> <category><![CDATA[linux bandwidth throttling]]></category> <category><![CDATA[linux io process]]></category> <category><![CDATA[linux kernel]]></category> <category><![CDATA[linux kernels]]></category> <category><![CDATA[mod_fastcgi tuning]]></category> <category><![CDATA[mysql disk io]]></category> <category><![CDATA[outburst]]></category> <category><![CDATA[per second]]></category> <category><![CDATA[priorities]]></category> <category><![CDATA[priority programs]]></category> <category><![CDATA[queue]]></category> <category><![CDATA[script ionice]]></category> <category><![CDATA[sudden outburst]]></category> <category><![CDATA[throttle bandwidth]]></category> <category><![CDATA[throttle network bandwidth]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=2339</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/tips/category/linux' title='See all GNU/Linux related tips/articles'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/linux-logo.png' border='0' /></a></div> Describes how to deal with high disk I/O generating scripts or programs using ionice and CFQ scheduling class under Linux.]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/linux-set-io-scheduling-class-priority.html/feed</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>Goosh.org Unix-like Shell For Google</title><link>http://www.cyberciti.biz/tips/gooshorg-2.html</link> <comments>http://www.cyberciti.biz/tips/gooshorg-2.html#comments</comments> <pubDate>Tue, 03 Jun 2008 11:57:59 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[google]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[shell]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=2341</guid> <description><![CDATA[This google-interface behaves similar to a unix-shell. You type commands and the results are shown on this page.]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/gooshorg-2.html/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>An Interview With Chet Ramey &#8211; Maintainer Of Bash Shell</title><link>http://www.cyberciti.biz/tips/when-the-bourne-shell-found-its-identity.html</link> <comments>http://www.cyberciti.biz/tips/when-the-bourne-shell-found-its-identity.html#comments</comments> <pubDate>Fri, 30 May 2008 12:30:00 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Interviews]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Linux desktop]]></category> <category><![CDATA[News]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[Solaris]]></category> <category><![CDATA[Sys admin]]></category> <category><![CDATA[bash shell]]></category> <category><![CDATA[bourne shell]]></category> <category><![CDATA[brian fox]]></category> <category><![CDATA[chet ramey]]></category> <category><![CDATA[computerworld]]></category> <category><![CDATA[linux systems]]></category> <category><![CDATA[maintainer]]></category> <category><![CDATA[network engineering]]></category> <category><![CDATA[programming languages]]></category> <category><![CDATA[security group]]></category> <category><![CDATA[stephen bourne]]></category> <category><![CDATA[technology infrastructure services]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[unix shell]]></category> <category><![CDATA[western reserve university]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=2330</guid> <description><![CDATA[In this article ComputerWorld chat to Chet Ramey about his experience maintaining Bash.]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/when-the-bourne-shell-found-its-identity.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How To Become a UNIX command-line Wizard</title><link>http://www.cyberciti.biz/tips/unix-command-line-2.html</link> <comments>http://www.cyberciti.biz/tips/unix-command-line-2.html#comments</comments> <pubDate>Tue, 27 May 2008 21:55:35 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Howto]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[good habits]]></category> <category><![CDATA[line resources]]></category> <category><![CDATA[michael stutz]]></category> <category><![CDATA[productivity]]></category> <category><![CDATA[unix command line]]></category> <category><![CDATA[unix usage]]></category> <category><![CDATA[usage habits]]></category> <category><![CDATA[wizard]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=2325</guid> <description><![CDATA[Learn about common errors and how to overcome them, and discover exactly why these 10 UNIX command line habits are worth picking up.]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/unix-command-line-2.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>mplayer: Play All Mp3 Files In Reverse Order</title><link>http://www.cyberciti.biz/tips/reverse-play-mp3-files-in-directory.html</link> <comments>http://www.cyberciti.biz/tips/reverse-play-mp3-files-in-directory.html#comments</comments> <pubDate>Tue, 06 May 2008 19:23:19 +0000</pubDate> <dc:creator>nixCraft</dc:creator> <category><![CDATA[Howto]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Linux desktop]]></category> <category><![CDATA[Linux Multimedia]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[Tip of the day]]></category> <category><![CDATA[hack]]></category> <category><![CDATA[mp3 file playlist]]></category> <category><![CDATA[mp3 files]]></category> <category><![CDATA[mplayer]]></category> <category><![CDATA[mplayer command]]></category> <category><![CDATA[play mp3 file]]></category> <category><![CDATA[playback]]></category> <category><![CDATA[shell]]></category> <category><![CDATA[sort file in reverse order]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=2269</guid> <description><![CDATA[Reverse order files while sorting and play with mplayer multimedia player.]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/reverse-play-mp3-files-in-directory.html/feed</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>