<?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>Norse Technologies Knowledge Base&#187; command</title>
	<atom:link href="http://kb.norsetech.net/tag/command/feed/" rel="self" type="application/rss+xml" />
	<link>http://kb.norsetech.net</link>
	<description>Free Knowledge Articles</description>
	<lastBuildDate>Wed, 11 Jan 2012 00:53:34 +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>How to Find Large Files in Ubuntu Linux</title>
		<link>http://kb.norsetech.net/how-to-find-large-files-in-ubuntu-linux/</link>
		<comments>http://kb.norsetech.net/how-to-find-large-files-in-ubuntu-linux/#comments</comments>
		<pubDate>Wed, 25 May 2011 19:59:01 +0000</pubDate>
		<dc:creator>kb-admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[size]]></category>
		<category><![CDATA[size 100k]]></category>
		<category><![CDATA[Source]]></category>
		<category><![CDATA[switches]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://kb.norsetech.net/?p=197</guid>
		<description><![CDATA[If you want to find files above a certain size, or find files between certain sizes, then you may use the +size x and -size x switches to the find command. For example: find /etc -size +100k -size -150k This command will find all files inside the /etc directory that are between 100k and 150k [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to find files above a certain size, or find files between certain sizes, then you may use the <strong>+size <em>x</em></strong> and <strong>-size <em>x</em></strong> switches to the <strong>find</strong> command.</p>
<p>For example:</p>
<pre><strong>find /etc -size +100k -size -150k</strong></pre>
<p>This command will find all files inside the /etc directory that are between 100k and 150k in size.</p>
<p>Source: <a href="http://www.unixtutorial.org/2008/03/find-large-files-and-directories/" target="_blank">http://www.unixtutorial.org/2008/03/find-large-files-and-directories/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kb.norsetech.net/how-to-find-large-files-in-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Make a Backup Script for Shell in Linux</title>
		<link>http://kb.norsetech.net/how-to-make-a-backup-script-for-shell-in-linux/</link>
		<comments>http://kb.norsetech.net/how-to-make-a-backup-script-for-shell-in-linux/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 02:47:18 +0000</pubDate>
		<dc:creator>kb-admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[backing up files]]></category>
		<category><![CDATA[backup copy]]></category>
		<category><![CDATA[backup script]]></category>
		<category><![CDATA[code comments]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[command line argument]]></category>
		<category><![CDATA[command line interface]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[config files]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[DATECODE]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[good habit]]></category>
		<category><![CDATA[habit]]></category>
		<category><![CDATA[IMHO]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[myfile]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[TIMECODE]]></category>

		<guid isPermaLink="false">http://kb.norsetech.net/?p=182</guid>
		<description><![CDATA[For those who hack a lot of Linux at the command line interface, backing up files such as config files before editing is a good habit to have. IMHO anyway. So to save time, a little script can be written, chmod +x, and placed into /usr/local/bin or some other that users have in their executable [...]]]></description>
			<content:encoded><![CDATA[<p>For those who hack a lot of Linux at the command line interface, backing up files such as config files before editing is a good habit to have. IMHO anyway. So to save time, a little script can be written, chmod +x, and placed into /usr/local/bin or some other that users have in their executable shell PATH. I name mine &#8220;bu&#8221; to make it easy, and it takes one command line argument which is the filename of the file you want to make a backup copy of. It is called by running something like <strong>$ bu <em>myfile </em></strong></p>
<p><strong><em></em></strong>Here&#8217;s the code. Comments welcome ;) The code creates a timecode based on today&#8217;s date and the current time to the second, and appends that to the original filename. The a copy is saved with this new &#8220;timestamped&#8221; backup filename, right in the same directory. Easy-peasy! <strong><em></em></strong></p>
<pre>#!/bin/bash
OLDFILENAME=$1
DATECODE=$(date +%Y%m%d)
TIMECODE=$(date +%H%M%S)
NEWFILENAME="${OLDFILENAME}_backup${DATECODE}-$TIMECODE"
cp $OLDFILENAME $NEWFILENAME
SUCCESS=$?
if [ $SUCCESS -eq 0 ];then
 echo "OK! Copied \"$OLDFILENAME\" to \"$NEWFILENAME\""
else
 echo "FAIL! You'll need to try again!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
fi</pre>
]]></content:encoded>
			<wfw:commentRss>http://kb.norsetech.net/how-to-make-a-backup-script-for-shell-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Show MySQL Warnings at CLI</title>
		<link>http://kb.norsetech.net/how-to-show-mysql-warnings-at-cli/</link>
		<comments>http://kb.norsetech.net/how-to-show-mysql-warnings-at-cli/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 01:00:59 +0000</pubDate>
		<dc:creator>kb-admin</dc:creator>
				<category><![CDATA[Freeware]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[command line interface]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[mysql server]]></category>
		<category><![CDATA[run]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[show]]></category>
		<category><![CDATA[trevor nichols]]></category>
		<category><![CDATA[Warnings]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://kb.norsetech.net/?p=111</guid>
		<description><![CDATA[When logged in to the MySQL server using the command line interface (CLI) the  generated errors on the previously run command. mysql&#62; show warnings; Thanks to Trevor Nichols and www.issociate.de]]></description>
			<content:encoded><![CDATA[<p>When logged in to the MySQL server using the command line interface (CLI) the  generated errors on the previously run command.</p>
<p><code>mysql&gt; show warnings;</code></p>
<p><a href="http://www.issociate.de/board/post/216831/how_to_print_warnings_from_mysqlimport...debug_options_" target="_blank">Thanks to Trevor Nichols and www.issociate.de</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kb.norsetech.net/how-to-show-mysql-warnings-at-cli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows XP Service Pack 3 Command Line Options</title>
		<link>http://kb.norsetech.net/windows-xp-service-pack-3-command-line-options/</link>
		<comments>http://kb.norsetech.net/windows-xp-service-pack-3-command-line-options/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 01:27:20 +0000</pubDate>
		<dc:creator>kb-admin</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[backup files]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[command line options]]></category>
		<category><![CDATA[default timeout]]></category>
		<category><![CDATA[Displays]]></category>
		<category><![CDATA[forcerestart]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[mode]]></category>
		<category><![CDATA[oem files]]></category>
		<category><![CDATA[Pack]]></category>
		<category><![CDATA[progress]]></category>
		<category><![CDATA[progress bar]]></category>
		<category><![CDATA[promptrestart]]></category>
		<category><![CDATA[quiet mode]]></category>
		<category><![CDATA[RESTART]]></category>
		<category><![CDATA[Service]]></category>
		<category><![CDATA[service pack 3]]></category>
		<category><![CDATA[sp3]]></category>
		<category><![CDATA[unattended mode]]></category>
		<category><![CDATA[windows xp service pack]]></category>

		<guid isPermaLink="false">http://kb.norsetech.net/?p=69</guid>
		<description><![CDATA[When running the SP3 install from the command line, choose the following options: --------------------------- Service Pack 3 Setup --------------------------- AVAILABLE SWITCHES: [/help] [/quiet] [/passive] [/norestart] [/forcerestart] [/warnrestart] [/promptrestart] [/overwriteoem] [/nobackup] [/forceappsclose] [/integrate:] [/d:] [/log:] /help Displays this message SETUP MODES /quiet Quiet mode (no user interaction or display) /passive Unattended mode (progress bar only) RESTART [...]]]></description>
			<content:encoded><![CDATA[<p>When running the SP3 install from the command line, choose the following options:</p>
<p><code>---------------------------<br />
Service Pack 3 Setup<br />
---------------------------<br />
AVAILABLE SWITCHES:<br />
[/help] [/quiet] [/passive] [/norestart] [/forcerestart] [/warnrestart] [/promptrestart] [/overwriteoem] [/nobackup] [/forceappsclose] [/integrate:] [/d:] [/log:]</code></p>
<p>/help			Displays this message</p>
<p>SETUP MODES</p>
<p>/quiet			Quiet mode (no user interaction or display)<br />
/passive			Unattended mode (progress bar only)</p>
<p>RESTART OPTIONS</p>
<p>/norestart  		Do not restart when installation is complete<br />
/forcerestart		Restart after installation<br />
/warnrestart[:] 	Warn and restart automatically if required (default timeout 30 seconds)<br />
/promptrestart  		Prompt if restart is required</p>
<p>SPECIAL OPTIONS</p>
<p>/overwriteoem		Overwrite OEM files without prompting<br />
/nobackup		Do not backup files needed for uninstall<br />
/forceappsclose		Force other programs to close when the computer shuts down<br />
/integrate:	Integrate this software update into<br />
/d:		Back up files into<br />
/log:		Create log file at</p>
<p>****<br />
My Install<br />
Command line:<br />
D:\WindowsXP-KB936929-SP3-x86-ENU <strong>/nobackup</strong> /quiet /forcerestart /forceappsclose</p>
]]></content:encoded>
			<wfw:commentRss>http://kb.norsetech.net/windows-xp-service-pack-3-command-line-options/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL login with command line (CLI)</title>
		<link>http://kb.norsetech.net/mysql-login-with-command-line-cli/</link>
		<comments>http://kb.norsetech.net/mysql-login-with-command-line-cli/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 18:26:11 +0000</pubDate>
		<dc:creator>kb-admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[dbname]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[username]]></category>

		<guid isPermaLink="false">http://norsetech.net/kb/?p=24</guid>
		<description><![CDATA[# mysql -h hostname -u username -p It will prompt you for the password. Then: > connect dbname]]></description>
			<content:encoded><![CDATA[<p># mysql -h hostname -u username -p</p>
<p>It will prompt you for the password.</p>
<p>Then:</p>
<p>> connect dbname</p>
]]></content:encoded>
			<wfw:commentRss>http://kb.norsetech.net/mysql-login-with-command-line-cli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Map a local folder as a new Drive letter</title>
		<link>http://kb.norsetech.net/map-a-local-folder-as-a-new-drive-letter/</link>
		<comments>http://kb.norsetech.net/map-a-local-folder-as-a-new-drive-letter/#comments</comments>
		<pubDate>Sat, 12 May 2007 20:05:00 +0000</pubDate>
		<dc:creator>kb-admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[Drive]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[foldername]]></category>
		<category><![CDATA[letter]]></category>
		<category><![CDATA[Map]]></category>
		<category><![CDATA[pathname]]></category>
		<category><![CDATA[subst]]></category>

		<guid isPermaLink="false">http://norsetech.net/kb/?p=17</guid>
		<description><![CDATA[At the command prompt: subst x: C:{pathname}foldername}]]></description>
			<content:encoded><![CDATA[<p>At the command prompt:</p>
<pre>subst x: C:{pathname}foldername}</pre>
]]></content:encoded>
			<wfw:commentRss>http://kb.norsetech.net/map-a-local-folder-as-a-new-drive-letter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

