<?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; file names</title> <atom:link href="http://www.cyberciti.biz/tips/tag/file-names/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>BASH Shell: For Loop File Names With Spaces</title><link>http://www.cyberciti.biz/tips/handling-filenames-with-spaces-in-bash.html</link> <comments>http://www.cyberciti.biz/tips/handling-filenames-with-spaces-in-bash.html#comments</comments> <pubDate>Tue, 09 Dec 2008 19:18:29 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[fedora linux]]></category> <category><![CDATA[File system]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[Gentoo Linux]]></category> <category><![CDATA[Howto]]></category> <category><![CDATA[HP-UX]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[OpenBSD]]></category> <category><![CDATA[OS X]]></category> <category><![CDATA[RedHat/Fedora Linux]]></category> <category><![CDATA[Suse Linux]]></category> <category><![CDATA[Tips]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[Ubuntu Linux]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[$IFS]]></category> <category><![CDATA[array element]]></category> <category><![CDATA[file names]]></category> <category><![CDATA[find command]]></category> <category><![CDATA[for loop]]></category> <category><![CDATA[linux find command]]></category> <category><![CDATA[pipes]]></category> <category><![CDATA[read file names into array]]></category> <category><![CDATA[separators]]></category> <category><![CDATA[space character]]></category> <category><![CDATA[while loop]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3878</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> <a
href="http://www.cyberciti.biz/faq/bash-for-loop/">BASH for loop</a> works nicely under UNIX / Linux / Windows and OS X while working on set of files. However, if you try to process a for loop on file name with spaces in them you are going to have some problem. for loop uses $IFS variable to determine what the field separators are. By default $IFS is set to the space character. There are multiple solutions to this problem.]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/handling-filenames-with-spaces-in-bash.html/feed</wfw:commentRss> <slash:comments>47</slash:comments> </item> <item><title>Debian PHP 5 Security Issues</title><link>http://www.cyberciti.biz/tips/debian-php-5-security-issues.html</link> <comments>http://www.cyberciti.biz/tips/debian-php-5-security-issues.html#comments</comments> <pubDate>Thu, 27 Nov 2008 04:49:16 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[Debian Linux]]></category> <category><![CDATA[lighttpd]]></category> <category><![CDATA[php]]></category> <category><![CDATA[Security Alert]]></category> <category><![CDATA[aptitude]]></category> <category><![CDATA[cve]]></category> <category><![CDATA[CVE-2009-2626]]></category> <category><![CDATA[CVE-2009-2687]]></category> <category><![CDATA[CVE-2009-3291]]></category> <category><![CDATA[CVE-2009-3292]]></category> <category><![CDATA[default limit]]></category> <category><![CDATA[denial of service]]></category> <category><![CDATA[denial of service attacks]]></category> <category><![CDATA[disruptions]]></category> <category><![CDATA[exhaustion]]></category> <category><![CDATA[existing services]]></category> <category><![CDATA[file names]]></category> <category><![CDATA[file uploads]]></category> <category><![CDATA[image data]]></category> <category><![CDATA[jpeg images]]></category> <category><![CDATA[new option]]></category> <category><![CDATA[php 5]]></category> <category><![CDATA[security issues]]></category> <category><![CDATA[serious security]]></category> <category><![CDATA[temporary file]]></category> <category><![CDATA[temporary files]]></category> <category><![CDATA[web server]]></category> <category><![CDATA[x509 certificates]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=6093</guid> <description><![CDATA[<div
style="float:right;margin-top:0px;margin-left:5px;"><a
title="See all Debian/Ubuntu Linux related tips/articles" href="http://www.cyberciti.biz/tips/category/debian-linux"><img
src="http://files.cyberciti.biz/cbzcache/3rdparty/debianlogo.gif" border="0" alt="" /></a></div> Debian 5 php5 package has serious security issues as follows:
To prevent Denial of Service attacks by exhausting the number of available temporary file names, the max_file_uploads option introduced in PHP 5.3.1 has been backported.]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/debian-php-5-security-issues.html/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Shell Scripting: Create Report / Log File Names With Date in Filenames</title><link>http://www.cyberciti.biz/tips/shell-scripting-creating-reportlog-file-names-with-date-in-filename.html</link> <comments>http://www.cyberciti.biz/tips/shell-scripting-creating-reportlog-file-names-with-date-in-filename.html#comments</comments> <pubDate>Sun, 05 Feb 2006 18:31:00 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Debian Linux]]></category> <category><![CDATA[Howto]]></category> <category><![CDATA[Linux]]></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[abbreviated weekday name]]></category> <category><![CDATA[Add date to logfile]]></category> <category><![CDATA[Adding dates and time to log entries bash]]></category> <category><![CDATA[Bash date filename]]></category> <category><![CDATA[Bash filename with date]]></category> <category><![CDATA[Bash script filename add date]]></category> <category><![CDATA[d day]]></category> <category><![CDATA[dd]]></category> <category><![CDATA[Dynamic shell script output log]]></category> <category><![CDATA[file names]]></category> <category><![CDATA[format date]]></category> <category><![CDATA[gnu]]></category> <category><![CDATA[How to append system time to a file name Ubuntu]]></category> <category><![CDATA[jan dec]]></category> <category><![CDATA[logs]]></category> <category><![CDATA[output filenames]]></category> <category><![CDATA[Shell script current date]]></category> <category><![CDATA[Shell script date]]></category> <category><![CDATA[sun feb]]></category> <category><![CDATA[Unix shell create file with current time]]></category> <category><![CDATA[variable length]]></category> <category><![CDATA[yyyy]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/shell-scripting-creating-reportlog-file-names-with-date-in-filename.html</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> <span
class="drop_cap">S</span>ometime you need to create a shell scripts with output filenames with date in it. For example instead of log file named "secure.log", you can create a filename called "secure-jan-02-06.log" or "secure-DATE-FORMAT.log". The DATE-FORMAT can be set as per requirements:
=&#62; dd-mm-yyyy
=&#62; mm-dd-yyyy
=&#62; yyyy-mm-dd
=&#62; Month-Day-Year]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/shell-scripting-creating-reportlog-file-names-with-date-in-filename.html/feed</wfw:commentRss> <slash:comments>17</slash:comments> </item> <item><title>BASH Shell: HowTo Create Empty Temporary Files Quickly</title><link>http://www.cyberciti.biz/tips/shell-scripting-bash-how-to-create-empty-temporary-file-quickly.html</link> <comments>http://www.cyberciti.biz/tips/shell-scripting-bash-how-to-create-empty-temporary-file-quickly.html#comments</comments> <pubDate>Wed, 23 Mar 2005 12:38:00 +0000</pubDate> <dc:creator>Vivek Gite</dc:creator> <category><![CDATA[Shell scripting]]></category> <category><![CDATA[bash shell]]></category> <category><![CDATA[environment variable]]></category> <category><![CDATA[exit 1]]></category> <category><![CDATA[file bin]]></category> <category><![CDATA[file names]]></category> <category><![CDATA[file tmp]]></category> <category><![CDATA[first command]]></category> <category><![CDATA[mktemp command]]></category> <category><![CDATA[redirection operator]]></category> <category><![CDATA[scripting]]></category> <category><![CDATA[temporary file]]></category> <category><![CDATA[temporary files]]></category> <category><![CDATA[xxxxxxxxxx]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/shell-scripting-bash-how-to-create-empty-temporary-file-quickly.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">U</span>se any one of the following command to create temporary empty file names. The first command is special as it use the redirection operator >, the redirection refers to the standard output. So you are creating a new file or destroying existing file:]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/shell-scripting-bash-how-to-create-empty-temporary-file-quickly.html/feed</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Shell scripting (BASH) : How to create temporary random file name</title><link>http://www.cyberciti.biz/tips/shell-scripting-bash-how-to-create-temporary-random-file-name.html</link> <comments>http://www.cyberciti.biz/tips/shell-scripting-bash-how-to-create-temporary-random-file-name.html#comments</comments> <pubDate>Wed, 23 Mar 2005 12:34:00 +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[file names]]></category> <category><![CDATA[mktemp command]]></category> <category><![CDATA[temporary file]]></category> <category><![CDATA[tmpfile command]]></category> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/shell-scripting-bash-how-to-create-temporary-random-file-name.html</guid> <description><![CDATA[Various methods exists to create a random temporary file name. This is useful if your application/shell scripting needs temporary unique file names. Method #1: Use of $RANDOM bash shell variable 1) At shell prompt type command: # echo $RANDOM You will get random value every time. This variable can be use to create unique file [...]]]></description> <wfw:commentRss>http://www.cyberciti.biz/tips/shell-scripting-bash-how-to-create-temporary-random-file-name.html/feed</wfw:commentRss> <slash:comments>10</slash:comments> </item> </channel> </rss>
