<?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>Frequently Asked Questions About Linux / UNIX &#187; BASH Shell</title> <atom:link href="http://www.cyberciti.biz/faq/tag/bash-shell/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 03 Feb 2012 22:38:32 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Linux / Unix Shell: Set Default Printer</title><link>http://www.cyberciti.biz/faq/howto-set-default-printer-bash-ksh-csh-unix-linux-shell/</link> <comments>http://www.cyberciti.biz/faq/howto-set-default-printer-bash-ksh-csh-unix-linux-shell/#comments</comments> <pubDate>Sun, 29 Jan 2012 22:42:02 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[UNIX]]></category> <category><![CDATA[$HOME/.cshrc]]></category> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[bashrc]]></category> <category><![CDATA[bashrc file]]></category> <category><![CDATA[centos linux]]></category> <category><![CDATA[csh $HOME/.cshrc file]]></category> <category><![CDATA[cshrc]]></category> <category><![CDATA[default printer]]></category> <category><![CDATA[desktop operating systems]]></category> <category><![CDATA[environment variables]]></category> <category><![CDATA[freebsd unix]]></category> <category><![CDATA[groff]]></category> <category><![CDATA[linux systems]]></category> <category><![CDATA[lp command]]></category> <category><![CDATA[lpq]]></category> <category><![CDATA[lpq command]]></category> <category><![CDATA[lpr]]></category> <category><![CDATA[lpr command]]></category> <category><![CDATA[lprm command]]></category> <category><![CDATA[printer destination]]></category> <category><![CDATA[printer sales]]></category> <category><![CDATA[printing system]]></category> <category><![CDATA[relogin]]></category> <category><![CDATA[unix and linux]]></category> <category><![CDATA[unix desktop]]></category> <category><![CDATA[unix lp]]></category> <category><![CDATA[unix shell]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=11483</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/unix/' title='See all UNIX related articles/faq'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/unix-logo.gif' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I set default printer in my Bash shell under CentOS Linux or FreeBSD unix desktop operating systems?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/howto-set-default-printer-bash-ksh-csh-unix-linux-shell/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Bash Shell: Find Out If a Variable Is Set or Not</title><link>http://www.cyberciti.biz/faq/linux-unix-howto-check-if-bash-variable-defined-not/</link> <comments>http://www.cyberciti.biz/faq/linux-unix-howto-check-if-bash-variable-defined-not/#comments</comments> <pubDate>Sun, 25 Sep 2011 10:34:33 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[apple os x]]></category> <category><![CDATA[array]]></category> <category><![CDATA[Bash function to find out if variable unset or not]]></category> <category><![CDATA[Bash test for a variable unset]]></category> <category><![CDATA[existence]]></category> <category><![CDATA[fi]]></category> <category><![CDATA[input error]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[lt]]></category> <category><![CDATA[operating systems]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[variable input]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=11132</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/bash-shell/' title='See all Bash/Shell scripting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I check if a <a
href="http://bash.cyberciti.biz/guide/Variables">bash shell variable</a> called $input is defined or not under BSD / Apple OS X / Unix / Linux like operating systems?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-unix-howto-check-if-bash-variable-defined-not/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>UNIX: Lynx Browser Set / Change the Default Home Page</title><link>http://www.cyberciti.biz/faq/linux-bsd-appleosx-unix-lynx-browser-change-startup-page/</link> <comments>http://www.cyberciti.biz/faq/linux-bsd-appleosx-unix-lynx-browser-change-startup-page/#comments</comments> <pubDate>Mon, 25 Apr 2011 13:22:54 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[UNIX]]></category> <category><![CDATA[/etc/lynx-cur/lynx.cfg]]></category> <category><![CDATA[/usr/local/lib/lynx.cfg]]></category> <category><![CDATA[Bash]]></category> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[configuration files]]></category> <category><![CDATA[csh]]></category> <category><![CDATA[export WWW_HOME]]></category> <category><![CDATA[ksh]]></category> <category><![CDATA[Lynx configuration file]]></category> <category><![CDATA[Lynx default home page]]></category> <category><![CDATA[lynx default startup page]]></category> <category><![CDATA[sh]]></category> <category><![CDATA[shell variable]]></category> <category><![CDATA[tcsh]]></category> <category><![CDATA[unix lynx]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=10414</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/unix/' title='See all UNIX related articles/faq'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/unix-logo.gif' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I change the default home page with Lynx browser under UNIX or Linux operating system? How do I set the startup page to http://google.co.uk with Lynx?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-bsd-appleosx-unix-lynx-browser-change-startup-page/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>HowTo: Linux Random Password Generator Command</title><link>http://www.cyberciti.biz/faq/linux-random-password-generator/</link> <comments>http://www.cyberciti.biz/faq/linux-random-password-generator/#comments</comments> <pubDate>Fri, 18 Feb 2011 17:43:26 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[linux command line]]></category> <category><![CDATA[random password generator]]></category> <category><![CDATA[random passwords]]></category> <category><![CDATA[shell function]]></category> <category><![CDATA[za]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=10064</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/linux/' title='See all GNU/Linux related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/linux-logo.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I generate random passwords on the Linux command line using the bash shell?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-random-password-generator/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Bash Shell: Extract Digits From a String</title><link>http://www.cyberciti.biz/faq/linux-unix-bsd-shell-script-to-get-digits-from-string/</link> <comments>http://www.cyberciti.biz/faq/linux-unix-bsd-shell-script-to-get-digits-from-string/#comments</comments> <pubDate>Wed, 16 Feb 2011 10:56:41 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[digits]]></category> <category><![CDATA[grep command]]></category> <category><![CDATA[input file]]></category> <category><![CDATA[shell utilities]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=10040</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/bash-shell/' title='See all Bash/Shell scripting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I extract digits only from a given string under Bash shell?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-unix-bsd-shell-script-to-get-digits-from-string/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>UNIX: Read a File Line By Line</title><link>http://www.cyberciti.biz/faq/unix-howto-read-line-by-line-from-file/</link> <comments>http://www.cyberciti.biz/faq/unix-howto-read-line-by-line-from-file/#comments</comments> <pubDate>Wed, 26 Jan 2011 14:12:18 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[UNIX]]></category> <category><![CDATA[bash loop]]></category> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[echo line]]></category> <category><![CDATA[ksh]]></category> <category><![CDATA[ksh loop]]></category> <category><![CDATA[line echo]]></category> <category><![CDATA[syntax]]></category> <category><![CDATA[while loop]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9835</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/unix/' title='See all UNIX related articles/faq'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/unix-logo.gif' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I read a file line by line under UNIX using KSH or BASH shell?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/unix-howto-read-line-by-line-from-file/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Linux: Find Out My Group Name [ Group Memberships ]</title><link>http://www.cyberciti.biz/faq/howto-get-group-name-in-linux/</link> <comments>http://www.cyberciti.biz/faq/howto-get-group-name-in-linux/#comments</comments> <pubDate>Fri, 21 Jan 2011 19:31:59 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[/etc/group]]></category> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[grep command]]></category> <category><![CDATA[group membership]]></category> <category><![CDATA[group memberships]]></category> <category><![CDATA[group ownership]]></category> <category><![CDATA[groups command]]></category> <category><![CDATA[id command]]></category> <category><![CDATA[linux operating systems]]></category> <category><![CDATA[man command]]></category> <category><![CDATA[secondary group]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9813</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/linux/' title='See all GNU/Linux related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/linux-logo.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I find out the group name under Linux operating systems using bash shell prompt? How do I display group information for the specified USERNAME under Linux?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/howto-get-group-name-in-linux/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Linux / UNIX: Run Commands When You Log Out</title><link>http://www.cyberciti.biz/faq/linux-unix-run-commands-when-you-log-out/</link> <comments>http://www.cyberciti.biz/faq/linux-unix-run-commands-when-you-log-out/#comments</comments> <pubDate>Tue, 23 Nov 2010 11:32:13 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[accounting]]></category> <category><![CDATA[apple os x]]></category> <category><![CDATA[Bash]]></category> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[bash ~/.bash_logout]]></category> <category><![CDATA[Bourne]]></category> <category><![CDATA[Bourne shell logout file]]></category> <category><![CDATA[csh]]></category> <category><![CDATA[fi]]></category> <category><![CDATA[ksh]]></category> <category><![CDATA[ksh shell]]></category> <category><![CDATA[ksh shell logout file]]></category> <category><![CDATA[ksh ~/.ksh_logout]]></category> <category><![CDATA[perl script]]></category> <category><![CDATA[scripts]]></category> <category><![CDATA[shell bash]]></category> <category><![CDATA[tcsh]]></category> <category><![CDATA[timesheet]]></category> <category><![CDATA[trap command]]></category> <category><![CDATA[unix shell]]></category> <category><![CDATA[unix workstation]]></category> <category><![CDATA[usr bin]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9475</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/linux/' title='See all GNU/Linux related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/linux-logo.png' border='0' /></a></div> <span
class="drop_cap">I'</span>ve written a Perl script that connects to our central server for me and it allows me feed data so that I make a timesheet later. How do I run my script when I log out from Apple OS X or Linux / UNIX workstation using bash shell?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-unix-run-commands-when-you-log-out/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Linux: Bash Get Time</title><link>http://www.cyberciti.biz/faq/unix-linux-bash-get-time/</link> <comments>http://www.cyberciti.biz/faq/unix-linux-bash-get-time/#comments</comments> <pubDate>Wed, 27 Oct 2010 11:25:23 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[current time]]></category> <category><![CDATA[date command]]></category> <category><![CDATA[linux system]]></category> <category><![CDATA[system time]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[unix system]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9159</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/linux/' title='See all GNU/Linux related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/linux-logo.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I get the system time in BASH? How can I get the Linux system using bash shell?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/unix-linux-bash-get-time/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Debian Linux Delete Directory Command</title><link>http://www.cyberciti.biz/faq/debian-delete-directory/</link> <comments>http://www.cyberciti.biz/faq/debian-delete-directory/#comments</comments> <pubDate>Thu, 19 Aug 2010 21:14:16 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Debian / Ubuntu]]></category> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[command line options]]></category> <category><![CDATA[command man]]></category> <category><![CDATA[directory command]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[man page]]></category> <category><![CDATA[parameters]]></category> <category><![CDATA[rm command]]></category> <category><![CDATA[rmdir command]]></category> <category><![CDATA[shell command line]]></category> <category><![CDATA[switches]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9781</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/debian-ubuntu/' title='See all Debian/Ubuntu Linux related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/debianlogo.gif' border='0' /></a></div> <span
class="drop_cap">I</span> am new to Debian Linux and bash shell command line. How do I delete or remove a directory using bash prompt?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/debian-delete-directory/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>UNIX Source Command: Read And Execute Commands From File</title><link>http://www.cyberciti.biz/faq/unix-source-command/</link> <comments>http://www.cyberciti.biz/faq/unix-source-command/#comments</comments> <pubDate>Sun, 08 Aug 2010 14:13:20 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[UNIX]]></category> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[libraries]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[os x]]></category> <category><![CDATA[positional parameters]]></category> <category><![CDATA[shell script]]></category> <category><![CDATA[shell scripting]]></category> <category><![CDATA[source command]]></category> <category><![CDATA[source path]]></category> <category><![CDATA[unix os]]></category> <category><![CDATA[unix source]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=8590</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/unix/' title='See all UNIX related articles/faq'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/unix-logo.gif' border='0' /></a></div> <span
class="drop_cap">W</span>hat is the use of UNIX source command under bash or any other shell? How do I use source command under UNIX  / OS X / Linux operating systems?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/unix-source-command/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Bash Shell Generate Random Numbers</title><link>http://www.cyberciti.biz/faq/bash-shell-script-generating-random-numbers/</link> <comments>http://www.cyberciti.biz/faq/bash-shell-script-generating-random-numbers/#comments</comments> <pubDate>Tue, 27 Apr 2010 18:28:32 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[bash $RAMDOM]]></category> <category><![CDATA[integer number]]></category> <category><![CDATA[ksh $RAMDOM]]></category> <category><![CDATA[random integer]]></category> <category><![CDATA[random number generator]]></category> <category><![CDATA[random numbers]]></category> <category><![CDATA[random sample]]></category> <category><![CDATA[random variable]]></category> <category><![CDATA[shell script]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=7257</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/bash-shell/' title='See all Bash/Shell scripting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I create or generate random numbers (sequence of numbers that lack any pattern), under Bash shell?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/bash-shell-script-generating-random-numbers/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>UNIX / Linux: Kill All My Jobs Under Current Shell Session</title><link>http://www.cyberciti.biz/faq/linux-unix-appleosx-bsd-kill-all-jobs-under-bash-ksh-sh-shell/</link> <comments>http://www.cyberciti.biz/faq/linux-unix-appleosx-bsd-kill-all-jobs-under-bash-ksh-sh-shell/#comments</comments> <pubDate>Sun, 25 Apr 2010 13:49:39 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[Apple OS X kill Job]]></category> <category><![CDATA[Bash]]></category> <category><![CDATA[FreeBSD kill Job]]></category> <category><![CDATA[HP-UX kill Job]]></category> <category><![CDATA[jobs]]></category> <category><![CDATA[jobs command]]></category> <category><![CDATA[kill command]]></category> <category><![CDATA[ksh]]></category> <category><![CDATA[Linux kill job]]></category> <category><![CDATA[login shell]]></category> <category><![CDATA[OpenBSD kill Job]]></category> <category><![CDATA[pids]]></category> <category><![CDATA[shell session]]></category> <category><![CDATA[UNIX kill job]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=10425</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/bash-shell/' title='See all Bash/Shell scripting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I kill all the UNIX jobs I created under my current login shell such as Bash or KSH before logout?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-unix-appleosx-bsd-kill-all-jobs-under-bash-ksh-sh-shell/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Bash Shell Read a Line Field By Field</title><link>http://www.cyberciti.biz/faq/bash-shell-read-a-line-field-by-field/</link> <comments>http://www.cyberciti.biz/faq/bash-shell-read-a-line-field-by-field/#comments</comments> <pubDate>Sun, 14 Mar 2010 15:47:04 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[Bash]]></category> <category><![CDATA[bash loops]]></category> <category><![CDATA[bash while command]]></category> <category><![CDATA[field separator]]></category> <category><![CDATA[input data]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[shell command]]></category> <category><![CDATA[shell scripting]]></category> <category><![CDATA[UNIX]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=6801</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/bash-shell/' title='See all Bash/Shell scripting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I read a file field-by-field under UNIX / Linux / BSD Bash shell? My sample input data file is as follows:<br
/><br
/><blockquote>device1,deviceType,major,minor,permissions<br
/> device2,deviceType,major,minor,permissions<br
/> ...<br
/> ....<br
/> ..<br
/> deviceN,deviceTypeN,major,minor,permissions</blockquote><br
/><br
/> For each line I need to construct and execute a shell command as follows:<br
/><br
/> <code>/path/to/deviceMaker  --context=$1 -m $permissions $device2 $deviceType $major $minor </code><br
/>]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/bash-shell-read-a-line-field-by-field/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Bash Shell: Convert Tabs To Spaces In a File</title><link>http://www.cyberciti.biz/faq/bash-shell-convert-tabs-to-spaces-in-a-file/</link> <comments>http://www.cyberciti.biz/faq/bash-shell-convert-tabs-to-spaces-in-a-file/#comments</comments> <pubDate>Fri, 05 Mar 2010 11:43:11 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[backspace]]></category> <category><![CDATA[backspace characters]]></category> <category><![CDATA[Bash]]></category> <category><![CDATA[column count]]></category> <category><![CDATA[comma]]></category> <category><![CDATA[comma separated list]]></category> <category><![CDATA[Convert]]></category> <category><![CDATA[converts]]></category> <category><![CDATA[decrement]]></category> <category><![CDATA[expand command]]></category> <category><![CDATA[input file]]></category> <category><![CDATA[man command]]></category> <category><![CDATA[ow]]></category> <category><![CDATA[tabs]]></category> <category><![CDATA[unexpand]]></category> <category><![CDATA[unexpand command]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=6661</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/bash-shell/' title='See all Bash/Shell scripting related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/terminal.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do convert tabs to spaces in a file using a bash shell?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/bash-shell-convert-tabs-to-spaces-in-a-file/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>HowTo: Linux Rename Files</title><link>http://www.cyberciti.biz/faq/howto-rename-files-in-linux/</link> <comments>http://www.cyberciti.biz/faq/howto-rename-files-in-linux/#comments</comments> <pubDate>Mon, 15 Feb 2010 12:47:39 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[asterisk]]></category> <category><![CDATA[backup copy]]></category> <category><![CDATA[backup file]]></category> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[cd home]]></category> <category><![CDATA[command syntax]]></category> <category><![CDATA[confirmation]]></category> <category><![CDATA[curriculum vitae]]></category> <category><![CDATA[destination directory]]></category> <category><![CDATA[linux operating systems]]></category> <category><![CDATA[mv command]]></category> <category><![CDATA[mv source]]></category> <category><![CDATA[source file]]></category> <category><![CDATA[target]]></category> <category><![CDATA[wildcards]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=10027</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/linux/' title='See all GNU/Linux related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/linux-logo.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I rename a file under Linux operating systems using command line (bash shell prompt)?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/howto-rename-files-in-linux/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Linux: Howto Make a Directory Command</title><link>http://www.cyberciti.biz/faq/linux-make-directory-command/</link> <comments>http://www.cyberciti.biz/faq/linux-make-directory-command/#comments</comments> <pubDate>Wed, 10 Feb 2010 08:51:54 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[CentOS mkdir directory command]]></category> <category><![CDATA[command syntax]]></category> <category><![CDATA[Debian mkdir directory command]]></category> <category><![CDATA[directory structure]]></category> <category><![CDATA[Fedora mkdir directory command]]></category> <category><![CDATA[Gentoo mkdir directory command]]></category> <category><![CDATA[html images]]></category> <category><![CDATA[linux operating systems]]></category> <category><![CDATA[Mandriva mkdir directory command]]></category> <category><![CDATA[mkdir command]]></category> <category><![CDATA[new folders]]></category> <category><![CDATA[OpenSUSE mkdir directory command]]></category> <category><![CDATA[parent directories]]></category> <category><![CDATA[prompt bash]]></category> <category><![CDATA[Redhat mkdir directory command]]></category> <category><![CDATA[RHEL mkdir directory command]]></category> <category><![CDATA[Slackware mkdir directory command]]></category> <category><![CDATA[Suse mkdir directory command]]></category> <category><![CDATA[tom jerry]]></category> <category><![CDATA[Ubuntu mkdir directory command]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9999</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/linux/' title='See all GNU/Linux related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/linux-logo.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I make directory under Linux operating systems using the command prompt (bash shell)?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-make-directory-command/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Linux: Change the PATH [ Add New Directory ]</title><link>http://www.cyberciti.biz/faq/bash-linux-change-path-variable-etc-byediting-profile-bash_profile/</link> <comments>http://www.cyberciti.biz/faq/bash-linux-change-path-variable-etc-byediting-profile-bash_profile/#comments</comments> <pubDate>Mon, 01 Feb 2010 11:02:02 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[/etc/profile]]></category> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[echo command]]></category> <category><![CDATA[export path]]></category> <category><![CDATA[export PATH=$PATH:]]></category> <category><![CDATA[linux operating systems]]></category> <category><![CDATA[linux system]]></category> <category><![CDATA[login session]]></category> <category><![CDATA[logout]]></category> <category><![CDATA[path change]]></category> <category><![CDATA[path path]]></category> <category><![CDATA[path settings]]></category> <category><![CDATA[separator]]></category> <category><![CDATA[~/.bash_profile]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9892</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/linux/' title='See all GNU/Linux related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/linux-logo.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I change the PATH settings under Linux operating systems and add a new directory to $PATH under bash shell?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/bash-linux-change-path-variable-etc-byediting-profile-bash_profile/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Linux: Parse an IP Address</title><link>http://www.cyberciti.biz/faq/linux-parse-ip-address/</link> <comments>http://www.cyberciti.biz/faq/linux-parse-ip-address/#comments</comments> <pubDate>Thu, 28 Jan 2010 16:53:52 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[192]]></category> <category><![CDATA[awk]]></category> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[bcast]]></category> <category><![CDATA[cut command]]></category> <category><![CDATA[egrep command]]></category> <category><![CDATA[grep]]></category> <category><![CDATA[grep command]]></category> <category><![CDATA[ifconfig command]]></category> <category><![CDATA[inet]]></category> <category><![CDATA[ip command]]></category> <category><![CDATA[linux servers]]></category> <category><![CDATA[mask]]></category> <category><![CDATA[scope]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9857</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/linux/' title='See all GNU/Linux related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/linux-logo.png' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I parse my Linux servers IP address using a Bash shell?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/linux-parse-ip-address/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Redhat Linux: Find Out My IP Address</title><link>http://www.cyberciti.biz/faq/howto-find-ip-address-on-centos-fedora-redhat-enterprise-linux/</link> <comments>http://www.cyberciti.biz/faq/howto-find-ip-address-on-centos-fedora-redhat-enterprise-linux/#comments</comments> <pubDate>Thu, 21 Jan 2010 19:46:34 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[CentOS]]></category> <category><![CDATA[fedora linux]]></category> <category><![CDATA[RedHat and Friends]]></category> <category><![CDATA[192 168 1 2]]></category> <category><![CDATA[BASH Shell]]></category> <category><![CDATA[collisions]]></category> <category><![CDATA[command line options]]></category> <category><![CDATA[desktop system]]></category> <category><![CDATA[display information]]></category> <category><![CDATA[enterprise linux]]></category> <category><![CDATA[ifconfig command]]></category> <category><![CDATA[ip command]]></category> <category><![CDATA[lft]]></category> <category><![CDATA[mtu]]></category> <category><![CDATA[netmask]]></category> <category><![CDATA[network interfaces]]></category> <category><![CDATA[overruns]]></category> <category><![CDATA[rx packets]]></category> <category><![CDATA[tx packets]]></category> <category><![CDATA[zz]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=9819</guid> <description><![CDATA[<div
style='float:right;margin-top:0px;margin-left:5px;'><a
href='http://www.cyberciti.biz/faq/category/redhat-and-friends/' title='See all Redhat/CentOS/Fedora Core related FAQ'><img
src='http://files.cyberciti.biz/cbzcache/3rdparty/rhlogo.gif' border='0' /></a></div> <span
class="drop_cap">H</span>ow do I to find out ip address on a CentOS or Fedora or Redhat Enterprise Linux server or desktop system using bash shell or command line options?]]></description> <wfw:commentRss>http://www.cyberciti.biz/faq/howto-find-ip-address-on-centos-fedora-redhat-enterprise-linux/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
