<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://sina.salek.ws"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Sina Salek Official Site - Bash-Script</title>
 <link>https://sina.salek.ws/taxonomy/term/119/0</link>
 <description></description>
 <language>en</language>
<item>
 <title>Linux Shell Bridge (Passing variables from scripting langauges like PHP to Linux Shell)</title>
 <link>https://sina.salek.ws/content/linux-shell-bridge-passing-variables-scripting-langauges-php-linux-shell</link>
 <description>&lt;p style=&quot;text-align: justify;&quot;&gt;It might sound strange at first but i 
must say that it&#039;s very useful 
specially if you have shell scripts as part of your application. Usually
 For making this scripts as automated as possible there should be a way 
to
 reuse the application&#039;s configurations (ips, passwords , etc) and not 
having to update a separate configuration file whenever anything changes
 in the application. It&#039;s not limited only to this and can be used to 
pass any kind of variables.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://sina.salek.ws/content/linux-shell-bridge-passing-variables-scripting-langauges-php-linux-shell&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>https://sina.salek.ws/content/linux-shell-bridge-passing-variables-scripting-langauges-php-linux-shell#comments</comments>
 <category domain="https://sina.salek.ws/category/path/blog">Blog</category>
 <category domain="https://sina.salek.ws/category/tags/bash-script">Bash-Script</category>
 <category domain="https://sina.salek.ws/category/tags/bridge">Bridge</category>
 <category domain="https://sina.salek.ws/category/tags/cli">CLI</category>
 <category domain="https://sina.salek.ws/category/tags/linux">Linux</category>
 <category domain="https://sina.salek.ws/category/tags/php">PHP</category>
 <category domain="https://sina.salek.ws/category/tags/programming">Programming</category>
 <category domain="https://sina.salek.ws/category/tags/sys-administration">Sys Administration</category>
 <pubDate>Thu, 18 Feb 2010 19:21:09 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">1304 at https://sina.salek.ws</guid>
</item>
<item>
 <title>How to mirror/sync a remote ftp folder with a local folder</title>
 <link>https://sina.salek.ws/content/how-mirrorsync-remote-ftp-folder-local-folder</link>
 <description>&lt;p&gt;lftp is one of the best utilities currently avaiable for working with ftp servers.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://sina.salek.ws/content/how-mirrorsync-remote-ftp-folder-local-folder&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>https://sina.salek.ws/content/how-mirrorsync-remote-ftp-folder-local-folder#comments</comments>
 <category domain="https://sina.salek.ws/category/path/blog">Blog</category>
 <category domain="https://sina.salek.ws/category/tags/bash-script">Bash-Script</category>
 <category domain="https://sina.salek.ws/category/tags/command-line">command line</category>
 <category domain="https://sina.salek.ws/category/tags/ftp">FTP</category>
 <category domain="https://sina.salek.ws/category/tags/linux">Linux</category>
 <category domain="https://sina.salek.ws/category/tags/sys-administration">Sys Administration</category>
 <enclosure url="https://sina.salek.ws/sites/default/files/story/1307/lftp-install.zip" length="840770" type="application/zip" />
 <pubDate>Mon, 04 Jan 2010 11:46:31 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">1307 at https://sina.salek.ws</guid>
</item>
<item>
 <title>How to find Linux bash script path (Self Path)</title>
 <link>https://sina.salek.ws/content/how-find-linux-bash-script-path-self-path</link>
 <description>&lt;p&gt;Writing smart programs using bash script is not easy, there are many issues along the way and one of them is what i&#039;m going to describe here.&lt;/p&gt;&lt;p&gt;Sometimes it&#039;s require for bash scripts to know their location, for example when they are part of a package and there are other require files (on the same location) for them to run properly, and it&#039;s also not possible to change the path to where they&#039;re located simply because they also need the current directory.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://sina.salek.ws/content/how-find-linux-bash-script-path-self-path&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>https://sina.salek.ws/content/how-find-linux-bash-script-path-self-path#comments</comments>
 <category domain="https://sina.salek.ws/category/path/blog">Blog</category>
 <category domain="https://sina.salek.ws/category/tags/bash-script">Bash-Script</category>
 <category domain="https://sina.salek.ws/category/tags/linux">Linux</category>
 <category domain="https://sina.salek.ws/category/tags/sys-administration">Sys Administration</category>
 <pubDate>Mon, 04 Jan 2010 03:30:47 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">1305 at https://sina.salek.ws</guid>
</item>
<item>
 <title>How to dump all MySQL databases into indivisual files at once</title>
 <link>https://sina.salek.ws/content/how-dump-all-mysql-databases-indivisual-files-once</link>
 <description>&lt;p&gt;I had to move 264 databases from one Linux server (Fedora) to another (CentOS), hard copying /var/lib/mysql wasn&#039;t a good idea because version of two MySQL databases were different and i had to repair all the tables after move so i decided to write a very short and usefull bash script.&lt;/p&gt;&lt;p&gt;It dumps all the databases but each database into a different file :&lt;/p&gt;&lt;div id=&quot;nuan_ria_plugin&quot;&gt;&lt;object id=&quot;plugin0&quot; style=&quot;position: absolute; z-index: 1000;&quot; type=&quot;application/x-dgnria&quot; height=&quot;0&quot; width=&quot;0&quot;&gt;&lt;param name=&quot;tabId&quot; value=&quot;ff-tab-336&quot; /&gt;&lt;param name=&quot;counter&quot; value=&quot;1251&quot; /&gt;&lt;/object&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;https://sina.salek.ws/content/how-dump-all-mysql-databases-indivisual-files-once&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>https://sina.salek.ws/content/how-dump-all-mysql-databases-indivisual-files-once#comments</comments>
 <category domain="https://sina.salek.ws/category/path/blog">Blog</category>
 <category domain="https://sina.salek.ws/category/tags/backup">Backup</category>
 <category domain="https://sina.salek.ws/category/tags/bash-script">Bash-Script</category>
 <category domain="https://sina.salek.ws/category/tags/database">Database</category>
 <category domain="https://sina.salek.ws/category/tags/drupal">Drupal</category>
 <category domain="https://sina.salek.ws/category/tags/drupal-planet">Drupal Planet</category>
 <category domain="https://sina.salek.ws/category/tags/dump">Dump</category>
 <category domain="https://sina.salek.ws/category/tags/linux">Linux</category>
 <category domain="https://sina.salek.ws/category/tags/mysql">MySQL</category>
 <category domain="https://sina.salek.ws/category/tags/server">Server</category>
 <category domain="https://sina.salek.ws/category/tags/sys-administration">Sys Administration</category>
 <pubDate>Mon, 14 Sep 2009 16:26:19 +0000</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">1233 at https://sina.salek.ws</guid>
</item>
</channel>
</rss>
