<?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>Lindesk &#187; fish</title>
	<atom:link href="http://lindesk.com/tag/fish/feed/" rel="self" type="application/rss+xml" />
	<link>http://lindesk.com</link>
	<description>Linux - on the Desktop</description>
	<lastBuildDate>Tue, 23 Jun 2009 14:03:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Sharing Files Between Computers on a Local Network Using Linux</title>
		<link>http://lindesk.com/2008/07/sharing-files-between-computers-on-a-local-network-using-linux/</link>
		<comments>http://lindesk.com/2008/07/sharing-files-between-computers-on-a-local-network-using-linux/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 17:29:14 +0000</pubDate>
		<dc:creator>BinnyVA</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[fish]]></category>
		<category><![CDATA[konquoror]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[share]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://lindesk.com/?p=118</guid>
		<description><![CDATA[You can share files between two computers in a local network easily using SSH. This article will how you how to do it using SSH and Konqueror.]]></description>
			<content:encoded><![CDATA[<p><img src="http://lindesk.com/wp-content/uploads/2007/04/network.png" alt="" title="Networking" width="102" height="128" class="alignnone size-full wp-image-15 intro" align="right" /></p>
<p class="intro">Windows has a nice feature in Networking &#8211; you just configure the IPs correctly, and the network sharing &#8220;magically&#8221; works. In Linux <strong>we will have to manually configure Samba or some other similar tool to share files between two linux systems</strong> &#8211; and that&#8217;s a bit daunting for a new user. But there is an <strong>easier way &#8211; using SSH</strong>.</p>
<p><strong>SSH or Secure Shell is a program for logging into a remote machine</strong> and executing commands on a that machine. Don&#8217;t worry &#8211; you won&#8217;t have to type commands to transfer files &#8211; there are <strong>GUI clients that supports SSH protocol</strong> &#8211; for example, the great <a href="http://lindesk.com/2007/04/konqueror-a-killer-app-for-linux/">Konqueror</a>.</p>
<p>SSH is installed and turned on in most distros &#8211; so chances are you are running an SSH server at the moment. But if its not installed by default, you can install it using these commands&#8230;</p>
<h4>In Fedora/Red Hat</h4>
<p><code>yum install openssh</code></p>
<h4>In Ubuntu/Debian</h4>
<p><code>apt-get install openssh</code></p>
<p>After installing it, you have to <strong>activate it in the Services configuration</strong> utility. Once that is done, SSH will turned on at boot. Make sure the remote machine have SSH installed and running before trying to connect to it.</p>
<h2>An Example Implementation</h2>
<p>I use SSH to transfer files between my system and my brothers system. This will give you an overview of the network&#8230;</p>
<p><img src="http://lindesk.com/wp-content/uploads/2008/07/my_home_network.jpg" alt="Home Network" title="My Home Network" width="300" height="209" class="alignnone wp-image-119" /></p>
<p>Both the systems have SSH enabled. Now if I want to get some files from my brother&#8217;s system, all I have to do is <strong>open Konqueror and enter this address in the Address bar: <code>fish://username@192.168.1.20</code></strong></p>
<p>That is fish://[Remote User]@[Remote Machine's IP/Name].</p>
<p><img src="http://lindesk.com/wp-content/uploads/2008/07/konquror_ssh_login.png" alt="" title="Konquror SSH Login" width="393" height="368" class="alignnone size-full wp-image-120" /></p>
<p>This will show a password prompt &#8211; where you have to <strong>input the password of the remote user</strong>. Once that is done, <strong>you will see all the files in the remote machine that is accessable by the user you logged in as</strong>. All operation you are used to in Konqueror are still supported &#8211; Copy/Paste, Drag and Drop etc &#8211; they will work between the local system and the remote machine.</p>
<p>If you are a Gnome user, <strong>this is possible in Nautilus as well. Instead of <code>fish://username@192.168.1.20</code> , you have to enter <code>ssh://username@192.168.1.20</code> in the address bar</strong> &#8211; protocol is ssh:// instead of fish://.</p>
<h2>Limitations</h2>
<p>Keep in mind that this is practical only for small home networks. If you are implementing a large network with permission settings, shares and stuff, go with Samba. SSH is not a choice there.</p>
]]></content:encoded>
			<wfw:commentRss>http://lindesk.com/2008/07/sharing-files-between-computers-on-a-local-network-using-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>fish(Friendly Interactive Shell)</title>
		<link>http://lindesk.com/2007/04/fishfriendly-interactive-shell/</link>
		<comments>http://lindesk.com/2007/04/fishfriendly-interactive-shell/#comments</comments>
		<pubDate>Sun, 08 Apr 2007 20:00:51 +0000</pubDate>
		<dc:creator>BinnyVA</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[fish]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://lindesk.com/?p=3</guid>
		<description><![CDATA[fish(Friendly Interactive Shell) is a new shell for Linux. I tried it out and have decided to dump bash for fish. Try it out - you will come to the same conclusion as well.]]></description>
			<content:encoded><![CDATA[<p class="intro"><a href="http://fishshell.org/">fish(Friendly Interactive Shell)</a> is a new shell for Linux. I tried it out and have decided to dump bash for fish. Try it out &#8211; you will come to the same conclusion as well.</p>
<h2>Features of fish</h2>
<h3>Syntax Coloring</h3>
<p>The shell colorizes the commands as you type them &#8211; if it is a valid command it will have a green color. For example, lets say I want to see my network interfaces. Recently, I had a lot of use for that &#8211; but that is another post. So, I type ifconfig into the shell. When I am at &#8216;ifco&#8217;, the shell will be like this&#8230;</p>
<p><img src='http://lindesk.com/wp-content/uploads/2007/04/ifco.png' alt='Ifco - Typing completion' /></p>
<p>When I have completed the command, ifconfig, the shell will be like this&#8230;</p>
<p><img src='http://lindesk.com/wp-content/uploads/2007/04/ifconfig.png' alt='Completed' /></p>
<p>Strings, matching etc. are also highlighted as you type.</p>
<p><img src='http://lindesk.com/wp-content/uploads/2007/04/syntax_highlight.png' alt='Syntax Highlighting' /></p>
<h3>Tab Completion</h3>
<p>You would not think that this is a new feature. Bash has tab completion. Even Windows XP&#8217;s DOS terminal has tab completion. But fish&#8217;s tab completion is no ordinary tab completion &#8211; think of it as <a href="http://fishshell.org/user_doc/index.html#completion">tab completion on steroids</a>.</p>
<p>fish&#8217;s tab completion implements a feature that I really needed &#8211; tab completion for subcommands. Subcommand is the command line argument that is given to some programs. For example,</p>
<pre>yum update gimp
cvs commit file.php</pre>
<p>In the first example, <code>yum</code> is the command an &#8216;<code>update</code>&#8216; is the subcommand. Just type &#8216;yum upd&#8217; and press Tab to complete the command. Similarly in the second case <code>cvs</code> is the command and <code>commit</code> is the subcommand.</p>
<p>Many other completions are also supported&#8230;</p>
<ul>
<li>Commands, both builtins, functions and regular programs.</li>
<li>Environment variable names (Eg. $HOME).</li>
<li>Usernames for tilde(~) expansion.</li>
<li>Filenames, even on strings with wildcards such as &#8216;*&#8217;, &#8216;**&#8217; and &#8216;?&#8217;.</li>
<li>Job id, job name and process names for process expansion. This is very useful when using <code>kill</code>.</li>
</ul>
<p>Enough talking. You can download the fish shell from their official website. For Red Hat/Fedora Core users, this command will do the trick.</p>
<p><code>yum install fish</code></p>
<p>If you are a debian or Ubuntu user, use this command</p>
<p><code>apt-get install fish</code></p>
]]></content:encoded>
			<wfw:commentRss>http://lindesk.com/2007/04/fishfriendly-interactive-shell/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
