<?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; perl script</title> <atom:link href="http://www.cyberciti.biz/tips/tag/perl-script/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>Fri, 03 Feb 2012 22:45:35 +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>Shell Script: Create Linux Bootable USB Sticks</title><link>http://www.cyberciti.biz/tips/howto-linux-bootable-usb-pen-harddisk.html</link> <comments>http://www.cyberciti.biz/tips/howto-linux-bootable-usb-pen-harddisk.html#comments</comments> <pubDate>Wed, 27 Feb 2008 11:44:51 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Howto]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Linux desktop]]></category> <category><![CDATA[Linux distribution]]></category> <category><![CDATA[Perl]]></category> <category><![CDATA[boot disk]]></category> <category><![CDATA[boot format]]></category> <category><![CDATA[Debian Linux]]></category> <category><![CDATA[distributions]]></category> <category><![CDATA[fedora linux]]></category> <category><![CDATA[flash drives]]></category> <category><![CDATA[linux usb flash boot]]></category> <category><![CDATA[linux usb key boot]]></category> <category><![CDATA[linux usb pen boot]]></category> <category><![CDATA[partition]]></category> <category><![CDATA[pen memory stick]]></category> <category><![CDATA[perl script]]></category> <category><![CDATA[usb hard drive]]></category> <category><![CDATA[usb memory]]></category> <category><![CDATA[usb memory stick]]></category> <category><![CDATA[usb stick]]></category> <category><![CDATA[usb sticks]]></category> <category><![CDATA[usb storage]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-linux-bootable-usb-pen-harddisk.html</guid> <description><![CDATA[This may come handy, from the project page: Mk-boot-usb is a perl script to create multiple-bootable usb sticks (usb keys / usb flash drives). It wipes out an entire usb stick, partitions it, creates file systems on it, installs grub, and installs a minimal linux on it. Mk-boot-usb is meant to speed up and lower [...]]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/howto-linux-bootable-usb-pen-harddisk.html/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How to: Monitor UNIX User Usage</title><link>http://www.cyberciti.biz/tips/monitor-unix-user.html</link> <comments>http://www.cyberciti.biz/tips/monitor-unix-user.html#comments</comments> <pubDate>Wed, 24 Oct 2007 03:34:03 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Monitoring]]></category> <category><![CDATA[RedHat/Fedora Linux]]></category> <category><![CDATA[Solaris]]></category> <category><![CDATA[Suse Linux]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[allocating resources]]></category> <category><![CDATA[monitor login]]></category> <category><![CDATA[perl script]]></category> <category><![CDATA[unix logins]]></category> <category><![CDATA[unix system]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/monitor-unix-user.html</guid> <description><![CDATA[I've already written about when a user logs in what files are updated in UNIX / Linux. In this article, you will learn more about UNIX login process such as what happens when you log in, how the logins are recorded into the UNIX system, and how you can use that information to determine who [...]]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/monitor-unix-user.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Getting Yesterdays or Tomorrows Day With Bash Shell Date Command</title><link>http://www.cyberciti.biz/tips/linux-unix-get-yesterdays-tomorrows-date.html</link> <comments>http://www.cyberciti.biz/tips/linux-unix-get-yesterdays-tomorrows-date.html#comments</comments> <pubDate>Sun, 17 Jun 2007 18:28:04 +0000</pubDate> <dc:creator>Vivek Gite</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[add date linux terminal]]></category> <category><![CDATA[cron]]></category> <category><![CDATA[current date]]></category> <category><![CDATA[date - 1 + unix]]></category> <category><![CDATA[date command]]></category> <category><![CDATA[date formats]]></category> <category><![CDATA[date in linux shell]]></category> <category><![CDATA[date time]]></category> <category><![CDATA[day after tomorrow]]></category> <category><![CDATA[day time]]></category> <category><![CDATA[fortnight]]></category> <category><![CDATA[gnu]]></category> <category><![CDATA[human readable format]]></category> <category><![CDATA[job]]></category> <category><![CDATA[language problem]]></category> <category><![CDATA[linux date add]]></category> <category><![CDATA[linux tomorrow date]]></category> <category><![CDATA[perl script]]></category> <category><![CDATA[perl scripts]]></category> <category><![CDATA[relative time]]></category> <category><![CDATA[scripts]]></category> <category><![CDATA[shell date]]></category> <category><![CDATA[shell scripts]]></category> <category><![CDATA[six months]]></category> <category><![CDATA[syntax]]></category> <category><![CDATA[time of day]]></category> <category><![CDATA[time zone]]></category> <category><![CDATA[tomorrow tomorrow]]></category> <category><![CDATA[unix date future date plus days]]></category> <category><![CDATA[unix get one previous day]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/getting-yesterdays-or-tomorrows-day-with-shell-date-command.html</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">W</span>hen invoked without arguments, the date command displays the current date and time.  Depending on the options specified, date will set the date and time or print it in a user defined way. I've seen many sysadmin writing perl scripts for calculating relative date such as yesterdays or tomorrows day. You can use GNU date command, which is designed to handle relative date calculation such as:<ul><li>1 Year</li><li>2 Days</li><li>2 Days ago</li><li>5 Years</li></ul>]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/linux-unix-get-yesterdays-tomorrows-date.html/feed</wfw:commentRss> <slash:comments>42</slash:comments> </item> <item><title>April 6, 2007: nixCraft FAQ Roundup</title><link>http://www.cyberciti.biz/tips/nixcraft-faq-roundup-13.html</link> <comments>http://www.cyberciti.biz/tips/nixcraft-faq-roundup-13.html#comments</comments> <pubDate>Fri, 06 Apr 2007 22:00:35 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[FAQ]]></category> <category><![CDATA[error package]]></category> <category><![CDATA[freebsd ports]]></category> <category><![CDATA[gt 2]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[mount nfs]]></category> <category><![CDATA[nfs filesystem]]></category> <category><![CDATA[perl script]]></category> <category><![CDATA[roundup]]></category> <category><![CDATA[samba mount]]></category> <category><![CDATA[server connection]]></category> <category><![CDATA[shell command]]></category> <category><![CDATA[single shell]]></category> <category><![CDATA[text string]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[unix faq]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/nixcraft-faq-roundup-13.html</guid> <description><![CDATA[Recently updated/posted Linux and UNIX FAQ: Lighttpd checking for GTHREAD… configure: error: Package requirements (gthread-2.0 &#62;= 2.4.0) were not met error and solution How do I install and search FreeBSD ports or a package? Finding a File containing a particular text string in Linux server Perl display and pass command ling arguments with @argv Redhat [...]]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/nixcraft-faq-roundup-13.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Howto Make Script More Portable With #!/usr/bin/env As a Shebang</title><link>http://www.cyberciti.biz/tips/finding-bash-perl-python-portably-using-env.html</link> <comments>http://www.cyberciti.biz/tips/finding-bash-perl-python-portably-using-env.html#comments</comments> <pubDate>Tue, 06 Mar 2007 10:11:30 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Debian Linux]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[OpenBSD]]></category> <category><![CDATA[OS X]]></category> <category><![CDATA[Perl]]></category> <category><![CDATA[RedHat/Fedora Linux]]></category> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[Solaris]]></category> <category><![CDATA[Suse Linux]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[Ubuntu Linux]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[#!/usr/bin/env]]></category> <category><![CDATA[environment variable]]></category> <category><![CDATA[exclamation point]]></category> <category><![CDATA[foolproof method]]></category> <category><![CDATA[hack]]></category> <category><![CDATA[hashbang]]></category> <category><![CDATA[hashpling]]></category> <category><![CDATA[interpreter]]></category> <category><![CDATA[operating system]]></category> <category><![CDATA[path environment]]></category> <category><![CDATA[perl script]]></category> <category><![CDATA[pound bang]]></category> <category><![CDATA[scripts]]></category> <category><![CDATA[shebang]]></category> <category><![CDATA[symbolic link]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/finding-bash-perl-python-portably-using-env.html</guid> <description><![CDATA[You may have noticed that most shell and perl script starts with the following line: #!/bin/bash OR #!/usr/bin/perl It is called a shebang. It consists of a number sign and an exclamation point character (#!), followed by the full path to the interpreter such as /bin/bash. All scripts under UNIX and Linux execute using the [...]]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/finding-bash-perl-python-portably-using-env.html/feed</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>Perl script to monitor disk space and send an email</title><link>http://www.cyberciti.biz/tips/howto-write-perl-script-to-monitor-disk-space.html</link> <comments>http://www.cyberciti.biz/tips/howto-write-perl-script-to-monitor-disk-space.html#comments</comments> <pubDate>Wed, 21 Feb 2007 10:52:04 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Debian Linux]]></category> <category><![CDATA[File system]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[Gentoo Linux]]></category> <category><![CDATA[Howto]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Monitoring]]></category> <category><![CDATA[OpenBSD]]></category> <category><![CDATA[OS X]]></category> <category><![CDATA[Perl]]></category> <category><![CDATA[RedHat/Fedora Linux]]></category> <category><![CDATA[Sys admin]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[Ubuntu Linux]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[comprehensive perl archive network]]></category> <category><![CDATA[cpan]]></category> <category><![CDATA[emails]]></category> <category><![CDATA[Filesys::DiskSpace]]></category> <category><![CDATA[free disk space]]></category> <category><![CDATA[perl archive network]]></category> <category><![CDATA[perl df]]></category> <category><![CDATA[perl script]]></category> <category><![CDATA[pl]]></category> <category><![CDATA[script code]]></category> <category><![CDATA[sprintf]]></category> <category><![CDATA[system routine]]></category> <category><![CDATA[use strict]]></category> <category><![CDATA[usr bin]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-write-perl-script-to-monitor-disk-space.html</guid> <description><![CDATA[Here is a quick question by one of our regular reader : How to write a perl script that can monitor my disk space under UNIX or Linux and send me an email alert? There is a nice perl system routine called Perl df or Filesys::DiskSpace. This routine displays information on a file system such [...]]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/howto-write-perl-script-to-monitor-disk-space.html/feed</wfw:commentRss> <slash:comments>32</slash:comments> </item> </channel> </rss>
