<?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>Beginner Linux Tutorial</title>
	<atom:link href="http://beginnerlinuxtutorial.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://beginnerlinuxtutorial.com</link>
	<description>Online Linux tutorial for beginners</description>
	<lastBuildDate>Sun, 04 Oct 2026 21:13:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>
	<item>
		<title>Linux File Data Recovery</title>
		<link>http://beginnerlinuxtutorial.com/linux-tutorials/linux-file-data-recovery/</link>
					<comments>http://beginnerlinuxtutorial.com/linux-tutorials/linux-file-data-recovery/#respond</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Sun, 04 Oct 2026 21:11:16 +0000</pubDate>
				<category><![CDATA[Linux Tutorials]]></category>
		<category><![CDATA[corrupt data recovery]]></category>
		<category><![CDATA[data recovery]]></category>
		<category><![CDATA[linux data recovery]]></category>
		<category><![CDATA[recover data]]></category>
		<category><![CDATA[recover files]]></category>
		<category><![CDATA[undelete photos]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=394</guid>

					<description><![CDATA[<p>Data recovery could become very costly. Sometimes you&#8217;d pay anything to get your data back; whether it&#8217;s your family photos or your business&#8217;s database of inventory or customer contacts. Well luckily in Linux there are many data recovery tools available completely free! You might be thinking, &#8220;Oh yea, another free data recovery app that gets [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/linux-tutorials/linux-file-data-recovery/">Linux File Data Recovery</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image wp-block-image alignleft size-medium is-resized">
<figure ><img fetchpriority="high" decoding="async" width="300" height="200" src="https://beginnerlinuxtutorial.com/wp-content/uploads/Linux-data-recovery-300x200.png" alt="Linux Data Recovery" class="wp-image-444" srcset="http://beginnerlinuxtutorial.com/wp-content/uploads/Linux-data-recovery-300x200.png 300w, http://beginnerlinuxtutorial.com/wp-content/uploads/Linux-data-recovery-1024x683.png 1024w, http://beginnerlinuxtutorial.com/wp-content/uploads/Linux-data-recovery-768x512.png 768w, http://beginnerlinuxtutorial.com/wp-content/uploads/Linux-data-recovery.png 1536w" sizes="(max-width: 300px) 100vw, 300px" /></figure>
</div>


<p class="wp-block-paragraph">Data recovery could become very costly. Sometimes you&#8217;d pay anything to get your data back; whether it&#8217;s your family photos or your business&#8217;s database of inventory or customer contacts. Well luckily in Linux there are many data recovery tools available completely free! You might be thinking, &#8220;Oh yea, another free data recovery app that gets me a few MB of data free then have to pay for the rest&#8221;. Nope, you can recover as much data as you have storage for! If you have a drive with 2TB free space, well you can recover up to 2TB of data!</p>



<p class="wp-block-paragraph"> Some of the data recovery tools available to install on Linux that I&#8217;ve used is <code>TestDisk,</code> <code>PhotoRec</code>, and <code>ddrescue</code>. I&#8217;m sure there are more, but these are the ones I&#8217;ve used and have been successful using.</p>



<p class="wp-block-paragraph">I usually start with <code>dd</code>, creating an image of the device if it was corrupt, bad blocks, failing hardware, etc. This way I can work from the image and not put anymore wear on the device.</p>



<p class="wp-block-paragraph">Next I&#8217;ll use both <code>TestDisk</code> and <code>PhotoRec</code> to recover any data from the device (if healthy) or the image. I normally do use both in case they recover different data or more data. Usually they are the same. There have been a few instances where <code>TestDisk</code> had a few more files, there have also been instances where <code>PhotoRec</code> will have a few more files. Sometimes there have even been times where they both data recovery apps recovered more files than the other; just different ones.</p>



<p class="wp-block-paragraph">Example: <code>TestDisk</code> recovered 26 files, 24 of them were the same files <code>PhotoRec</code> recovered, having 2 files <code>PhotoRec</code> didn&#8217;t have, but <code>PhotoRec</code> also recovered 26 files, 24 being same that <code>TestDisk</code> recovered, while the other 2 were 2 different ones that weren&#8217;t recovered by <code>TestDisk</code>.</p>



<p class="wp-block-paragraph">That is why I run them both, just in case, but again, they are almost always the same exact files recovered. </p>



<h2 class="wp-block-heading">Installing data recovery software for Linux</h2>



<p class="wp-block-paragraph">Installing these Linux data recovery apps is pretty simple. If you&#8217;re using Debian or Ubuntu you can just open a terminal and install using the following commands:</p>



<p class="wp-block-paragraph"><code>sudo apt update &amp;&amp; sudo apt install testdisk gddrescue</code></p>



<p class="wp-block-paragraph">If you&#8217;re running Arch Linux:</p>



<p class="wp-block-paragraph"><code>sudo pacman -S testdisk ddrescue</code></p>



<p class="wp-block-paragraph">If you&#8217;re running Fedora Linux:</p>



<p class="wp-block-paragraph"><code>sudo dnf install testdisk ddrescue</code></p>



<p class="wp-block-paragraph">NOTE: Most Linux distributions bundle <code>TestDisk</code> and <code>PhotoRec</code> under the same name: <code>testdisk</code></p>



<h2 class="wp-block-heading">How to use Linux Data Recovery Apps</h2>



<p class="wp-block-paragraph">Now that you&#8217;ve installed Linux data recover software, you can recover your photos or other files that have become corrupt or you accidentally deleted.</p>



<p class="wp-block-paragraph">If you have a damaged drive you can use <code>ddrescue</code> to create an image of it. Make sure you have the correct drive as your source, which you can find by looking at <code>dmesg</code> if you just connected it, or <code>mount</code>, or <code>lsblk</code>.</p>



<p class="wp-block-paragraph"><code>lsblk -o NAME,SIZE,MODEL,SERIAL,FSTYPE,MOUNTPOINTS</code></p>



<p class="wp-block-paragraph"><code>sudo ddrescue -f -n /dev/sdX /home/username/recovery/drive.img /home/username/recovery/drive.log</code></p>



<p class="wp-block-paragraph"><code>/dev/sdX</code> = damaged source drive<br><code>drive.img</code> = destination image<br><code>drive.log</code> = mapfile that lets you resume<br><code>-n</code> = first pass, don&#8217;t spend time retrying bad sectors</p>



<p class="wp-block-paragraph">After the initial pass is done you can use the following to try to reread the bad sectors.</p>



<p class="wp-block-paragraph"><code>sudo ddrescue -d -r3 /dev/sdX /mnt/recovery/drive.img /mnt/recovery/drive.log</code></p>



<p class="wp-block-paragraph"><code>-d</code> = direct disk access<br><code>-r3</code> = retry failed areas 3 times</p>



<p class="wp-block-paragraph">Now you can use testdisk on the image:</p>



<p class="wp-block-paragraph"><code>sudo testdisk /home/username/recovery/drive.img</code></p>



<p class="wp-block-paragraph"><code>sudo photorec /home/username/recovery/drive.img</code></p>



<p class="wp-block-paragraph">The above 2 commands will write the files recovered in the current working directory, make sure you&#8217;re not on the drive being recovered.</p>



<p class="wp-block-paragraph">You can also recover the drive directly if you don&#8217;t need to create an image first.</p>



<p class="wp-block-paragraph"><code>sudo testdisk /dev/sdX</code></p>



<p class="wp-block-paragraph"><code>sudo photorec /dev/sdX</code></p>



<p class="wp-block-paragraph">I&#8217;d use the above 2 commands if I accidentally deleted my files, or re-partitioned, etc. If the drive was actually damaged in some way, I&#8217;d create an image first.</p>



<p class="wp-block-paragraph">I hope this Linux tutorial has helped you recover your important lost files, photos, etc. I&#8217;ve had to do this with a few CF cards, SD cards of mine that were accidentally deleted. i&#8217;ve also done this for some friends that have done the same, or had a failing hard drive.</p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">NOTE: These data recover programs can not recover data, files, photos, etc. that have already been over written. If you delete files, your operating system didn&#8217;t really delete the data on your hard drive, it just tells you it&#8217;s no longer there so other data can be written in that same spot later. This is how data can be recovered. With a failing drive, if that physical spot on the hard drive is dead, well, you&#8217;re not recovering the whole file. I have had a few friends give me failing SD cards or USB flash drives and when I recover the photos, some would have lines through them, or chunks missing or wrong color due to data missing.</p>



<p class="wp-block-paragraph"></p><p>The post <a href="http://beginnerlinuxtutorial.com/linux-tutorials/linux-file-data-recovery/">Linux File Data Recovery</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/linux-tutorials/linux-file-data-recovery/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Tether Linux with Android Smartphone</title>
		<link>http://beginnerlinuxtutorial.com/linux-tutorials/how-to-tether-linux-with-android-smartphone/</link>
					<comments>http://beginnerlinuxtutorial.com/linux-tutorials/how-to-tether-linux-with-android-smartphone/#respond</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Sun, 15 May 2016 04:21:04 +0000</pubDate>
				<category><![CDATA[Linux Tutorials]]></category>
		<category><![CDATA[android usb tether]]></category>
		<category><![CDATA[bypass tether limit]]></category>
		<category><![CDATA[bypass tether throttle]]></category>
		<category><![CDATA[how to tether linux]]></category>
		<category><![CDATA[linux tethering]]></category>
		<category><![CDATA[tether linux]]></category>
		<category><![CDATA[tmobile throttle tether]]></category>
		<category><![CDATA[usb tether linux]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=378</guid>

					<description><![CDATA[<p>With smartphones becoming more popular and cellular data speeds becoming faster everyday there are a lot of people out there that have been tethering their Android smartphones with their Linux computers. What is tethering? Tethering is where you share your smartphone&#8217;s internet service with your desktop or laptop computer. Most of today&#8217;s smartphones have this capability [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/linux-tutorials/how-to-tether-linux-with-android-smartphone/">How to Tether Linux with Android Smartphone</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="http://beginnerlinuxtutorial.com/wp-content/uploads/tether-android-smartphone.jpg" alt="Tether Android Smartphone" width="300" height="199" align="left" />With <a href="http://beginnerlinuxtutorial.com/product.php?id=android-smartphone" target="_blank">smartphones</a> becoming more popular and cellular data speeds becoming faster everyday there are a lot of people out there that have been tethering their <a href="http://beginnerlinuxtutorial.com/product.php?id=android-smartphone" target="_blank">Android smartphones</a> with their <a href="http://beginnerlinuxtutorial.com/product.php?id=LinuxComputer" target="_blank">Linux computers</a>.</p>
<p>What is tethering? Tethering is where you share your smartphone&#8217;s internet service with your desktop or laptop computer. Most of today&#8217;s <a href="http://beginnerlinuxtutorial.com/product.php?id=android-smartphone" target="_blank">smartphones</a> have this capability out of the box. You can tether via USB, Wi-Fi, or even bluetooth. You can either use the native tether feature on your <a href="http://beginnerlinuxtutorial.com/product.php?id=android-smartphone" target="_blank">smartphone</a> or you can download an app that allows you to tether. I use my native Wi-Fi tether until I use up my 7GB that I&#8217;m allowed. After this I use an app to USB tether so I can bypass T-Mobile&#8217;s throttle. I can still use my native Wi-Fi tether after 7GB has been used, but T-Mobile throttles you to 128KBps upload and 128KBps download, which is pretty much useless to even web browse.</p>
<p>If you are using Wi-Fi tether, either native or an app, all you have to do is open the Wi-Fi tether settings, set an SSID and password. Then connect your Linux computer to your <a href="http://beginnerlinuxtutorial.com/product.php?id=android-smartphone" target="_blank">phone</a> like you would connect to any other Wi-Fi network.</p>
<p>If you are wanting to do USB tethering, you need to have your kernel configured properly. I believe most Linux distrobutions should already have the proper kernel modules. Here is what you&#8217;ll need:</p>
<p><code>Device Drivers ---&gt;<br />
[*] Network device support ---&gt;<br />
USB Network Adapters ---&gt;<br />
[M] Multi-purpose USB Networking Framework<br />
CDC Ethernet support<br />
CDC EEM support<br />
[M] Simple USB Network Links (CDC Ethernet subset)<br />
[*] Embedded ARM Linux links</code></p>
<p>You may also want to have <code>RNDIS</code> option enabled as well. I read some <a href="http://beginnerlinuxtutorial.com/product.php?id=android-smartphone" target="_blank">phones</a> need it, others don&#8217;t, I always have it on mine just in case. If you already have these modules, next you need to plug your <a href="http://beginnerlinuxtutorial.com/product.php?id=android-smartphone" target="_blank">phone</a> into your Linux computer via USB and then enable USB tethering in your phone&#8217;s settings. You will now have a new networking device on your Linux computer. Some Linux distrobutions will now automatically connect to the internet. If your Linux computer does not, you will need to look at <code>dmesg</code> or <code>ifconfig -a</code> to see what your new device name is. Once you have the device name you can do <code>dhclient device-name</code> or <code>dhcpcd device-name</code> which will get an IP address from your tethered phone. You will now have internet access.</p>
<p>If you are wanting to use an app to bypass your cellular carrier&#8217;s tether limits or tethering speed throttle, there are a few options available. The best option I have found is Easytether. This app is free, although you may want to purchase to be able to get UDP ports as well. I have purchased almost all of the major tethering apps available for android, and have used a ton of free ones as well. Easytether seems to be my favorite one to use. The only downfall of using Easytether is that you need to install the app on your <a href="http://beginnerlinuxtutorial.com/product.php?id=android-smartphone" target="_blank">phone</a> as well as install an app on your computer. Easytether does have a Linux version! There are many that do have Linux versions available, but like I said this one is my favorite to use. With Easytether you do pretty much the same as you would with the native tether, but you need a couple extra steps.</p>
<p>First download and install the Linux Easytether software, if you have internet on your computer currently, great, if not, download it to your <a href="http://beginnerlinuxtutorial.com/product.php?id=android-smartphone" target="_blank">phone</a> and then transfer to your <a href="http://beginnerlinuxtutorial.com/product.php?id=LinuxComputer" target="_blank">Linux computer</a> and install it. Next you will need to enable developers options on your <a href="http://beginnerlinuxtutorial.com/product.php?id=android-smartphone" target="_blank">smartphone</a> and enable USB debugging. To enable developers options go to settings then about and tap on build version until your <a href="http://beginnerlinuxtutorial.com/product.php?id=android-smartphone" target="_blank">Android smartphone</a> says that you are now a developer. Now you can go to settings then developer options and enable USB debugging. Now you can connect your USB cable, open Easytether and tap enable USB tether. Now on your <a href="http://beginnerlinuxtutorial.com/product.php?id=LinuxComputer" target="_blank">Linux computer</a> you can open a terminal, and run <code>easytether-usb</code> either with <code>su</code> or <code>sudo</code>. You may have a popup on your phone to allow your <a href="http://beginnerlinuxtutorial.com/product.php?id=LinuxComputer" target="_blank">Linux computer</a> access to your <a href="http://beginnerlinuxtutorial.com/product.php?id=android-smartphone" target="_blank">phone</a>. You should now be tethered with Easytether and not have any tethering limits or tethering speed throttle.</p>
<p>Using Easytether I get full access to my phone&#8217;s 80+MBps data connection.</p><p>The post <a href="http://beginnerlinuxtutorial.com/linux-tutorials/how-to-tether-linux-with-android-smartphone/">How to Tether Linux with Android Smartphone</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/linux-tutorials/how-to-tether-linux-with-android-smartphone/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Configure IP Address Linux</title>
		<link>http://beginnerlinuxtutorial.com/linux-tutorials/how-to-configure-ip-address-linux/</link>
					<comments>http://beginnerlinuxtutorial.com/linux-tutorials/how-to-configure-ip-address-linux/#respond</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Mon, 29 Sep 2014 02:16:38 +0000</pubDate>
				<category><![CDATA[Linux Tutorials]]></category>
		<category><![CDATA[change eth0 ip address]]></category>
		<category><![CDATA[change Linux IP address]]></category>
		<category><![CDATA[change wlan0 ip address]]></category>
		<category><![CDATA[edit ip address linux]]></category>
		<category><![CDATA[linux ip address]]></category>
		<category><![CDATA[Linux network interface ip address]]></category>
		<category><![CDATA[Linux network interface name]]></category>
		<category><![CDATA[manually set IP address Linux]]></category>
		<category><![CDATA[set ip address]]></category>
		<category><![CDATA[set Linux IP address]]></category>
		<category><![CDATA[setup DHCP Linux]]></category>
		<category><![CDATA[setup ip address]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=343</guid>

					<description><![CDATA[<p>Many beginner Linux users get Linux installed on their computer or run a live Linux USB and get Linux running then can&#8217;t figure out how to connect to the internet and configure their IP address. Most Linux distributions will have this feature setup automatically to use DHCP to setup Linux IP address. Not everyone will [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/linux-tutorials/how-to-configure-ip-address-linux/">How to Configure IP Address Linux</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="http://beginnerlinuxtutorial.com/wp-content/uploads/network-ip-address.jpg" alt="Network IP Address" width="300" height="200" align="left" />Many beginner Linux users get Linux installed on their computer or run a live Linux USB and get Linux running then can&#8217;t figure out how to connect to the internet and configure their IP address. Most Linux distributions will have this feature setup automatically to use DHCP to setup Linux IP address. Not everyone will want to use DHCP to setup their IP address, and some Linux users may not be using a Linux distribution that does have DHCP enabled automatically and those beginner Linux users will be searching the internet on how to setup IP address in Linux, how to setup DHCP in Linux, or maybe how to manually set IP address in Linux terminal. Well for all of those Linux users you will find your answers in this Linux tutorial on how to configure IP address in Linux.</p>
<h3>How to Enable DHCP in Gnome</h3>
<p>In the top right corner of your screen you should see your network icon. Click on your network icon and you will see a list of your devices, wired, wireless, mobile, etc. You want to click on the device you want to set DHCP on. Which should be set by default, but if for some reason your IP address is set manually in Gnome and you want to set it back to DHCP you can follow these instructions.  Click on wired settings, wireless settings, etc. A new window will appear with settings. If Wi-Fi you will see a list of each access point that is available to connect to. Next to each SSID name you should see a setting icon on the right that looks like a gear. Click this gear which will bring up the settings for that device and that access point. On the left now you will see IPv4, click on this, now you will see a setting for &#8220;Addresses&#8221; and the following options: Automatic (DHCP), manual, and link-local only. Change this to Automatic (DHCP) and click apply.</p>
<h3>How to Set IP Address Manually in Gnome</h3>
<p>This is under the same section as enabling DHCP in Gnome if you read that above, if not, just continue reading. In the top right corner of your screen you will see a network icon. Click on the network icon and you should see a list of your devices, both  wired and wireless. You want to click on the device you want to manually configure the IP address for. DHCP should be set by default. Click on wired settings, wireless settings, etc. A new window will appear with settings. If Wi-Fi you will see a list of each access point that is available to connect to. Next to each SSID name you should see a setting icon on the right that looks like a gear. Click this gear which will bring up the settings for that device and that access point. On the left now you will see IPv4, click on this, now you will see a setting for &#8220;Addresses&#8221; and the following options: Automatic (DHCP), manual, and link-local only. Change this to manual, now you will be shown a form to enter: Address, Netmask, and Gateway. Enter your IP address in the address box, enter your netmask, and gateway and click apply. Your device should now have it&#8217;s IP address set manually.</p>
<h3>How to Enable DHCP in Linux Terminal</h3>
<ol>
<li>First you will want to open a Linux terminal</li>
<li>Login as root user by typing <code>su</code> and entering your root password, or add <code>sudo</code> in front of each of the following commands, example <code>sudo ifconfig -a</code></li>
<li>Find what the device name is of your network interface
<ol>
<li><code>ifconfig -a</code></li>
<li>Look for a device name similar to <code>eth0</code> or <code>wlan0</code>, yours may even be different depending on what Linux kernel and modules are loaded</li>
</ol>
</li>
<li>Now use <code>dhcpcd</code> or <code>dhclient</code> to change the network device&#8217;s IP address
<ol>
<li><code>dhcpcd eth0</code> or <code>dhclient eth0</code> replace <code>eth0</code> with the name of your network device</li>
</ol>
</li>
<li>Your DHCP client will get an IP address assigned to your network interface, you may now exit your Linux terminal</li>
</ol>
<h3>How to Set IP Address Manually in Linux Terminal</h3>
<ol>
<li>Open a Linux terminal</li>
<li>Login as root user by typing <code>su</code> and then entering your root password, or you can add <code>sudo</code> in front of each command, example: <code>sudo ifconfig -a</code></li>
<li>Find what the device name is of your network interface you are wanting to change your IP address of.
<ol>
<li><code>ifconfig -a</code></li>
<li>Look for a device name similar to <code>eth0</code> or <code>wlan0</code>, yours may even be different depending on what Linux kernel and modules are loaded.</li>
</ol>
</li>
<li>Now you will use <code>ifconfig</code> to set the IP address of your Linux computer.
<ol>
<li><code>ifconfig [device-name] [ip-address]</code></li>
</ol>
</li>
<li>So if I want to change <code>eth0</code> to <code>192.168.0.3</code> I would do: <code>ifconfig eth0 192.168.0.3</code></li>
</ol><p>The post <a href="http://beginnerlinuxtutorial.com/linux-tutorials/how-to-configure-ip-address-linux/">How to Configure IP Address Linux</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/linux-tutorials/how-to-configure-ip-address-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Create a Good Secure Password</title>
		<link>http://beginnerlinuxtutorial.com/linux-security/how-to-create-a-good-secure-password/</link>
					<comments>http://beginnerlinuxtutorial.com/linux-security/how-to-create-a-good-secure-password/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Fri, 13 Jun 2014 16:38:51 +0000</pubDate>
				<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[generate a strong password]]></category>
		<category><![CDATA[how to create a strong password]]></category>
		<category><![CDATA[make a good password]]></category>
		<category><![CDATA[minimum length of secure password]]></category>
		<category><![CDATA[password protect your data]]></category>
		<category><![CDATA[password rules]]></category>
		<category><![CDATA[secure accounts with strong password]]></category>
		<category><![CDATA[secure your accounts with passwords]]></category>
		<category><![CDATA[strong password rules]]></category>
		<category><![CDATA[strong passwords]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=345</guid>

					<description><![CDATA[<p>Your files, credit card information, photos, videos, and all your other personal or professional data stored on your hard drive or some online account is yours and you don&#8217;t want others to gain access to your information. The first step to prevent others from accessing any of your accounts is creating a good password to [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/linux-security/how-to-create-a-good-secure-password/">How to Create a Good Secure Password</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="http://beginnerlinuxtutorial.com/wp-content/uploads/2014/06/strong-password.jpg" alt="Strong Password" width="300" height="225" align="left" />Your files, credit card information, photos, videos, and all your other personal or professional data stored on your hard drive or some online account is yours and you don&#8217;t want others to gain access to your information. The first step to prevent others from accessing any of your accounts is creating a good password to keep your accounts secure.</p>
<p>I put together a few rules to follow when creating your passwords so that your accounts can not be compromised by digital thieves. Follow these rules to create your computer password, online passwords, Wi-Fi passwords, or any other password to make sure your accounts stay as safe as possible.</p>
<p>Follow these password rules listed below to keep your accounts safe and secure:</p>
<ul>
<li>Never have a dictionary word in your password, even if you mask it by replacing letters with numbers or symbols. Example: many people will use their firstname (Brandon) and then mask it with other numbers and symbols (Br@nd0n). This is still a dictionary word. Stay away from these.</li>
<li>Always use all the types of characters that you are able to use on your password. Some websites do not allow you to use symbols in your passwords. If you can use all that you can lowercase letters, capital letters, numbers, and symbols.</li>
<li> Use at least 8 characters in your passwords</li>
<li>Do not repeat characters consecutively</li>
</ul>
<p>I try to think of a phrase and use only the first few letters of each word and mask it with numbers and symbols, this way it&#8217;s not a dictionary word or multiple dictionary words, just parts of each word. For example I&#8217;ll take the phrase &#8220;I love Linux penguins&#8221; take first few characters from each word or just use first letter, last letter, and 1 or 2 middle letters. So now I will have Ilvelinxpengns. Now I will change a few letters to capitol letters and mask a few others with numbers and symbols. ILv31!NXpeNGn$ this password meets all the password rules I mentioned above and I can memorize this password easier than I can memorize a completely random password that follows the password rules above.</p>
<p>Now that you know how to create a strong secure password for your accounts, you may want to read <a title="How to Change Your Linux Password" href="http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-change-linux-password-with-passwd-command/">how to change your Linux password</a> and if you want to be more secure you can use a <a title="Live Linux to be Secure While Online Banking or Shopping" href="http://beginnerlinuxtutorial.com/linux-security/secure-banking-with-linux/">live Linux to be secure while online banking or shopping</a>.</p><p>The post <a href="http://beginnerlinuxtutorial.com/linux-security/how-to-create-a-good-secure-password/">How to Create a Good Secure Password</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/linux-security/how-to-create-a-good-secure-password/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to Change Linux Password with passwd Command</title>
		<link>http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-change-linux-password-with-passwd-command/</link>
					<comments>http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-change-linux-password-with-passwd-command/#respond</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Fri, 13 Jun 2014 04:01:00 +0000</pubDate>
				<category><![CDATA[Basic Linux Commands]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[change Linux password]]></category>
		<category><![CDATA[change Linux password CLI]]></category>
		<category><![CDATA[change Linux password in Linux terminal]]></category>
		<category><![CDATA[change someone else password Linux]]></category>
		<category><![CDATA[change your Linux password]]></category>
		<category><![CDATA[how to change Linux password]]></category>
		<category><![CDATA[learn how to edit Linux password]]></category>
		<category><![CDATA[learn to modify Linux password]]></category>
		<category><![CDATA[Linux passwd command]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=338</guid>

					<description><![CDATA[<p>So you&#8217;ve been searching the internet on how to change your Linux password, how to change password in Linux terminal, or some other phrase related to changing your Linux password. Well changing your Linux password is easy to do. You can change your Linux password either using a GUI (Graphical User Interface) or a CLI [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-change-linux-password-with-passwd-command/">How to Change Linux Password with passwd Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="http://beginnerlinuxtutorial.com/wp-content/uploads/linux-security.jpg" alt="Linux Security" width="300" height="200" align="left" />So you&#8217;ve been searching the internet on how to change your Linux password, how to change password in Linux terminal, or some other phrase related to changing your Linux password. Well changing your Linux password is easy to do. You can change your Linux password either using a GUI (Graphical User Interface) or a CLI (Command Line Interface). I like to use CLI to change my Linux passwords. It just seems easier to me especially if I&#8217;m logged in as root Linux user and I&#8217;m wanting to change another user&#8217;s password.</p>
<p>Anyway to change your own Linux password you will need to follow these steps o change your Linux password easily:</p>
<ol>
<li>Login as the user you are wanting to change the password for</li>
<li>Open a Linux terminal</li>
<li>In the Linux terminal type <code>passwd</code> and hit enter</li>
<li>You will be asked to enter your current Linux password</li>
<li>Enter your current Linux password, and hit enter</li>
<li>Next you will be asked to enter your new Linux password</li>
<li>Enter the new password you want set for your Linux user, hit enter</li>
<li>Now you will be asked to verify your new Linux password</li>
<li>Enter your new Linux password again to verify you typed what you think you typed, hit enter</li>
<li>Your Linux password is now changed to your new Linux password</li>
</ol>
<p>If you are logged in as root Linux user and you are wanting to create a new password for a different Linux user, you can follow these steps to change another user&#8217;s Linux password:</p>
<ol>
<li>Log in as root or another user</li>
<li>Open a Linux terminal, if you are not root you can use <code>su</code> to start using root permissions in your Linux terminal</li>
<li>Type <code>passwd $username</code> replace <code>$username</code> with the username of the Linux user you want to change the password for.</li>
<li>As root you will not be asked to verify the current Linux password for that username</li>
<li>You will be asked for the new Linux password, then to type the password for Linux again to verify you typed the correct Linux password</li>
<li>The Linux user&#8217;s password is now changed.</li>
</ol>
<p>I hope this <a title="Linux Tutorial" href="http://beginnerlinuxtutorial.com">Linux tutorial</a> on how to change your Linux password has helped you change your Linux password or one of your other Linux user&#8217;s passwords! You may want to read about choosing a good Linux password, or choosing a good password for any account!</p><p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-change-linux-password-with-passwd-command/">How to Change Linux Password with passwd Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-change-linux-password-with-passwd-command/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Run a .sh File in Linux</title>
		<link>http://beginnerlinuxtutorial.com/linux-tutorials/how-to-run-a-sh-file-in-linux/</link>
					<comments>http://beginnerlinuxtutorial.com/linux-tutorials/how-to-run-a-sh-file-in-linux/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Wed, 28 May 2014 02:51:49 +0000</pubDate>
				<category><![CDATA[Linux Tutorials]]></category>
		<category><![CDATA[how to run a .sh file]]></category>
		<category><![CDATA[Linux .sh file]]></category>
		<category><![CDATA[run a .sh file]]></category>
		<category><![CDATA[run a bash shell script]]></category>
		<category><![CDATA[run a script file]]></category>
		<category><![CDATA[run a shell script]]></category>
		<category><![CDATA[what is a .sh file]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=312</guid>

					<description><![CDATA[<p>I&#8217;ve seen many people searching the internet looking for &#8220;run a .sh file&#8221; or &#8220;how to run a .sh file&#8221;. I&#8217;ve also had many Linux users ask me what do I do with a .sh file? Well a .sh file is a script file that you can run in bash. How to Run a .sh [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/linux-tutorials/how-to-run-a-sh-file-in-linux/">How to Run a .sh File in Linux</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignleft wp-image-329 size-full" src="http://beginnerlinuxtutorial.com/wp-content/uploads/2014/05/Linux-Shell-Script.png" alt="Linux Shell Script" width="427" height="132" srcset="http://beginnerlinuxtutorial.com/wp-content/uploads/2014/05/Linux-Shell-Script.png 427w, http://beginnerlinuxtutorial.com/wp-content/uploads/2014/05/Linux-Shell-Script-300x92.png 300w" sizes="auto, (max-width: 427px) 100vw, 427px" />I&#8217;ve seen many people searching the internet looking for &#8220;run a .sh file&#8221; or &#8220;how to run a .sh file&#8221;. I&#8217;ve also had many Linux users ask me what do I do with a .sh file? Well a .sh file is a script file that you can run in bash.</p>
<h3>How to Run a .sh File</h3>
<p>Running a .sh file is a rather simple task in Linux. The first thing we want to do is make sure that the .sh file is executable. To do this we need to change the .sh file&#8217;s permissions. If you have read our Linux tutorial on the <a title="Linux chmod Command" href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chmod-command/">Linux chmod Command</a> you should already know <a title="How to Use Linux chmod Command" href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chmod-command/">how to use Linux chmod command</a>. To change the permissions of your .sh file in Linux to add execute permissions, you can follow these steps:</p>
<ol>
<li>Open a terminal in Linux</li>
<li>Navigate to the directory containing your .sh file using the <a title="Linux cd Command" href="http://beginnerlinuxtutorial.com/basic-linux-commands/change-directory-using-cd-linux-command/">Linux cd command</a></li>
<li>Use the <a title="Linux chmod Command" href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chmod-command/">Linux chmod command</a> to <a title="Change File Permissions" href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chmod-command/">change file permissions</a> of the .sh file to add execute permissions <code>chmod u+x filename.sh</code></li>
</ol>
<p>Now that your .sh file has it&#8217;s file permissions changed you can run the .sh file by following these Linux steps:</p>
<ol>
<li>Open a Linux terminal</li>
<li>Navigate to the directory containing your .sh file if you are not already there using the <a title="Linux cd Command" href="http://beginnerlinuxtutorial.com/basic-linux-commands/change-directory-using-cd-linux-command/">Linux cd command</a></li>
<li>Type <code>./filename.sh</code> or <code>sh filename.sh</code></li>
</ol>
<p><strong>NOTE</strong>: In the first example command there is a period before the forward slash.</p>
<p>That is all you need to do in Linux to run a .sh file. I hope this <a title="Linux Tutorial" href="http://beginnerlinuxtutorial.com/">Linux tutorial</a> on how to run a .sh file in Linux has helped you run your .sh files in Linux easily. If you have any Linux questions or comments about this <a title="Linux How To" href="http://beginnerlinuxtutorial.com/">Linux how to</a>, please do so below this <a title="Linux Tutorial" href="http://beginnerlinuxtutorial.com/">Linux tutorial</a>! Thanks for visiting <a title="Beginner Linux Tutorial" href="http://beginnerlinuxtutorial.com/">Beginner Linux Turorial</a>, remember to come back and <a title="Learn About Linux" href="http://beginnerlinuxtutorial.com/">learn about Linux</a>!</p><p>The post <a href="http://beginnerlinuxtutorial.com/linux-tutorials/how-to-run-a-sh-file-in-linux/">How to Run a .sh File in Linux</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/linux-tutorials/how-to-run-a-sh-file-in-linux/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to Create a Live Linux USB Stick</title>
		<link>http://beginnerlinuxtutorial.com/linux-tutorials/how-to-create-a-live-linux-usb-stick/</link>
					<comments>http://beginnerlinuxtutorial.com/linux-tutorials/how-to-create-a-live-linux-usb-stick/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Sun, 04 May 2014 05:12:25 +0000</pubDate>
				<category><![CDATA[Linux Tutorials]]></category>
		<category><![CDATA[how to Linux live USB]]></category>
		<category><![CDATA[install Linux thumb drive]]></category>
		<category><![CDATA[install Linux USB drive]]></category>
		<category><![CDATA[Linux live USB]]></category>
		<category><![CDATA[Linux live USB stick]]></category>
		<category><![CDATA[Linux on USB]]></category>
		<category><![CDATA[Linux on USB drive]]></category>
		<category><![CDATA[Linux thumb drive]]></category>
		<category><![CDATA[Linux USB drive]]></category>
		<category><![CDATA[Linux USB stick]]></category>
		<category><![CDATA[live Linux USB]]></category>
		<category><![CDATA[live Linux USB how to]]></category>
		<category><![CDATA[setup live Linux USB]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=279</guid>

					<description><![CDATA[<p>In this Linux guide you will learn how to setup and install Linux on a USB thumb drive. This how to will teach you to create a live Linux USB stick using Linux, Windows, and Mac. You will obviously need a USB stick to install the live Linux onto. I&#8217;d recommend using at least a [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/linux-tutorials/how-to-create-a-live-linux-usb-stick/">How to Create a Live Linux USB Stick</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignleft size-full wp-image-325" src="http://beginnerlinuxtutorial.com/wp-content/uploads/2014/05/live-Linux-USB.jpg" alt="Live Linux USB" width="300" height="300" srcset="http://beginnerlinuxtutorial.com/wp-content/uploads/2014/05/live-Linux-USB.jpg 300w, http://beginnerlinuxtutorial.com/wp-content/uploads/2014/05/live-Linux-USB-150x150.jpg 150w" sizes="auto, (max-width: 300px) 100vw, 300px" />In this Linux guide you will learn how to setup and install Linux on a <a title="USB Thumb Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB thumb drive</a>. This how to will teach you to create a live Linux <a title="USB Stick" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB stick</a> using Linux, Windows, and Mac. You will obviously need a <a title="USB Stick" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB stick</a> to install the live Linux onto. I&#8217;d recommend using at least a <a title="4GB USB Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">4GB USB drive</a>. You can get <a title="USB Sticks" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB sticks</a> very cheap on <a title="amazon.com usb flash drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">amazon.com</a></p>
<p>If you are not wanting to save any data onto your live Linux drive then 2GB or  4GB will be plenty for your live Linux <a title="USB Flash Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB flash drive</a>. If you are wanting to have persistent storage on your <a title="USB Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB drive</a>, meaning you can store information, files, data, install programs, etc. onto the <a title="USB Flash Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB flash drive</a> and it still be there after a reboot, then you will want to get a larger <a title="USB Stick" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB stick</a>.</p>
<p>There are many programs and methods that you can install and use to help you create a live Linux USB stick, but I&#8217;m going to only cover the few that I have used and like. These methods work very well and are rather simple to do.</p>
<p>First I will cover how to create a live Linux USB drive in Windows, as I&#8217;m sure most people reading this information will be running Windows. I know, not everyone will be running Windows as I&#8217;m sure some current Linux users that are running Linux on their computers may want to create a live Linux USB stick as well.</p>
<h3>What are the Advantages of Using a Live Linux USB Stick</h3>
<p>There are many reasons people prefer to use a live Linux USB stick instead of installing Linux internally on their computer&#8217;s hard drive. Some people may even have Linux installed on their <a title="Internal Hard Drive" href="http://beginnerlinuxtutorial.com/product.php?id=hard-drive" target="_blank">internal hard drive</a>, but maybe they go some places that have a computer that runs Windows that is not their computer, but yet they still want to run Linux on it. Say you&#8217;re at work and your work station runs Windows and you want to run Linux, you can pop in your live Linux USB stick and boot up Linux on your work computer and not effect the <a title="Internal Hard Drive" href="http://beginnerlinuxtutorial.com/product.php?id=hard-drive" target="_blank">internal hard drive</a> of the computer. Some people use live Linux USB drive for security. Have no persistent storage setup on your live Linux USB stick so that you can browse the internet, without any trace on your computer, because with no persistant storage nothing gets saved, you turn off your computer, everything you done is gone. Although your internet provider will still have record.</p>
<h3>How to Setup a Live Linux USB Stick with Windows</h3>
<p>There are a few things you will need to create a live Linux USB stick using Windows. You will need a <a title="USB Thumb Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB thumb drive</a>, some GUI software, and a Linux distribution of your choice. Now there are some Linux distributions that are not able to run easily on a USB drive, but I won&#8217;t go over that right now as most Linux distributions can and may just need some slight tweaking to work. Most major Linux distributions even have a live distribution iso file already to use on a Live USB stick.</p>
<p>Download the needed software for Windows to create a live Linux USB stick. I recommend using <a title="Linux Live USB Creator" href="http://www.linuxliveusb.com/" target="_blank">Linux Live USB Creator</a> (<a title="LiLi" href="http://www.linuxliveusb.com/" target="_blank">LiLi</a>) or <a title="UNetbootin" href="http://unetbootin.sourceforge.net/" target="_blank">UNetbootin</a>. These both are very easy to use and can download from a list of Linux distributions from a pull down menu that will work out of the box. You also have the choice of downloading the Linux iso yourself and telling the program where you downloaded it at. <a title="Linux Live USB Creator" href="http://linuxliveusb.com" target="_blank">Linux Live USB Creator</a> is available only for Windows I believe, but <a title="UNetbootin" href="http://unetbootin.sourceforge.net" target="_blank">UNetbootin</a> can be downloaded for Linux, Windows, and Mac.</p>
<p>After you&#8217;ve downloaded <a title="Linux Live USB Creator" href="http://linuxliveusb.com" target="_blank">Linux Live USB Creator</a> (<a title="LiLi" href="http://linuxliveusb.com" target="_blank">LiLi</a>) or <a title="UNetbootin" href="http://unetbootin.sourceforge.net" target="_blank">UNetbootin</a> you will first need to have your USB flash drive formatted to FAT32 or FAT file system. If your USB stick drive is not formatted to FAT32 or FAT file system the program will warn you.</p>
<p>Insert your USB thumb drive into your computer.</p>
<ol>
<li>Open <a title="Linux Live USB Creator" href="http://linuxliveusb.com" target="_blank">Linux Live USB Creator</a> or <a title="UNetbootin" href="http://unetbootin.sourceforge.net" target="_blank">UNetbootin</a>.</li>
<li>Select the drive you want to install your live Linux distribution on. Be sure to select the correct drive as you can accidentally select your internal drive and erase it&#8217;s contents.</li>
<li>Select which live Linux distribution you want to install on your <a title="USB Flash Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB flash drive</a> whether the live Linux distribution is on the list or whether you chose to download the live Linux distribution yourself</li>
<li>Select how much persistence memory you want to have on your live USB stick</li>
<li>Finally you can click to create your live Linux distribution.</li>
<li>Now all the files needed for your live Linux distribution will be copied onto your <a title="USB Thumb Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB thumb drive</a> after this is complete you may remove your USB drive or leave it in and reboot.</li>
</ol>
<h3> How to Create a Live Linux USB Drive Using Linux</h3>
<p>Creating a live Linux USB thumb drive in Linux is very similar to the above steps on creating a live Linux USB stick using Windows. There are a few methods you can use to create a live Linux USB stick using Linux but I&#8217;m going to only cover using the <a title="UNetbootin GUI" href="http://unetbootin.sourceforge.net" target="_blank">UNetbootin GUI</a> program. There are a few methods you can do in a command line in Linux to manually create a live Linux USB stick, but using this UNetbootin GUI is much easier.</p>
<ol>
<li>Insert your USB flash drive into your <a title="Linux Computer" href="http://beginnerlinuxtutorial.com/product.php?id=LinuxComputer" target="_blank">Linux computer</a></li>
<li>Make sure your USB thumb drive is formatted to FAT32 or FAT file system. If not UNetbootin will tell you to format it before you continue. If you need to format your USB flash drive you can use a GUI program such as gparted or you can use a CLI program like mkfs.vfat</li>
<li>Open UNetbootin</li>
<li>Select what live Linux distribution you want to install or select a live Linux iso file you&#8217;ve already downloaded</li>
<li>Select your <a title="USB Flash Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB flash drive</a>, this step is very important as you&#8217;re running <a title="UNetbootin" href="http://unetbootin.sourceforge.net" target="_blank">UNetbootin</a> as root user and it can destroy data on whatever drive you have selected, so be sure to select the correct USB flash drive.</li>
<li>Select if you want to have a persistent live Linux, if you do also select how much storage space you would like to have on your live Linux USB flash drive.</li>
<li>Click to continue, wait while your live Linux distribution is downloaded (if you selected one from the list), and copied onto your USB thumb drive.</li>
<li>After the boot loader and all necessary files are transferred to your USB drive, you may either reboot your computer to test the USB drive or remove it from your <a title="Linux Computer" href="http://beginnerlinuxtutorial.com/product.php?id=LinuxComputer" target="_blank">Linux computer</a>.</li>
</ol>
<h3>How to Create a Live Linux USB Stick Using Mac</h3>
<p>I personally have not used a Mac computer to create a live Linux USB stick, but since Mac uses <a title="UNetbootin" href="http://unetbootin.sourceforge.net" target="_blank">UNetbootin</a>, I&#8217;m going to assume it would be the exact same steps as creating a live Linux USB stick using Linux.</p>
<ol>
<li>Insert your <a title="USB Flash Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB flash drive</a> into your Mac computer</li>
<li>Make sure your <a title="USB Flash Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB flash drive</a> is formatted to FAT32 or FAT file system. If not UNetbootin will tell you to format it before you continue. I haven&#8217;t used Mac computers much at all so I&#8217;m sorry I can not guide you on how to format your <a title="USB Flash Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB flash drive</a> to FAT32 or FAT file systems using your Mac. I would assume you would go into your applications and open disk utility. After your <a title="USB Thumb Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB thumb drive</a> is formatted FAT32 or FAT file system continue.</li>
<li>Open UNetbootin</li>
<li>Select what live Linux distribution you want to install or select a live Linux iso file you&#8217;ve already downloaded</li>
<li>Select your <a title="USB Flash Stick" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB flash stick</a>, this step is very important because whatever drive you select will have it&#8217;s data erased, so select the correct <a title="USB Disk Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB disk drive</a> you want to use for your live Linux USB stick.</li>
<li>Select if you want to have a persistent live Linux, if you do also select how much storage space you would like to have on your live Linux USB flash drive.</li>
<li>Click to continue, wait while your live Linux distribution is downloaded (if you selected one from the list), and copied onto your USB thumb drive.</li>
<li>After the boot loader and all necessary files are transferred to your <a title="USB Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB drive</a>, you may either reboot your computer to test the <a title="USB Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB drive</a> or remove it from your Mac computer.</li>
</ol>
<h3>Where to Download Live Linux Distributions</h3>
<p>There are many live Linux distributions out there for you download for free. You can search on <a title="Linux Distribution Watch List" href="http://distrowatch.com" target="_blank">distowatch.com</a> to look for live Linux distributions or you can use one of the ones on my list below. Remember you don&#8217;t have to download a live Linux distribution manually as the <a title="Live Linux USB Creator" href="http://linuxliveusb.com" target="_blank">live Linux USB Creator</a> program and <a title="UNetbootin" href="http://unetbootin.sourceforge.net" target="_blank">UNetbootin</a> program will both download the live Linux distribution of your choice that is on it&#8217;s drop down menu. If the live Linux distribution you want to install on your <a title="USB Stick" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB stick</a> is not on this list, you can download that distributions live iso on their website. Here are some of the more popular live Linux distributions that Linux users are using.</p>
<ul>
<li><a title="Fedora Live Linux" href="http://fedoraproject.org/wiki/FedoraLiveCD" target="_blank">Fedora Live Linux</a></li>
<li><a title="Ubuntu Live Linux" href="http://www.ubuntu.com/download/ubuntu/download" target="_blank">Ubuntu Live Linux</a></li>
<li><a title="MacPup Live Linux" href="http://macpup.org" target="_blank">MacPup Live Linux</a></li>
<li><a title="Damn Small Linux Live" href="http://www.damnsmalllinux.org" target="_blank">Damn Small Linux Live</a></li>
<li><a title="Damn Small Linux Not" href="http://www.damnsmalllinux.org/dsl-n/" target="_blank">Damn Small Linux Not</a></li>
<li><a title="Slax Live Linux" href="http://www.slax.org" target="_blank">Slax Live Linux</a></li>
<li><a title="Pentoo Live Linux" href="http://www.pentoo.ch" target="_blank">Pentoo Live Linux</a></li>
</ul>
<p>&nbsp;</p><p>The post <a href="http://beginnerlinuxtutorial.com/linux-tutorials/how-to-create-a-live-linux-usb-stick/">How to Create a Live Linux USB Stick</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/linux-tutorials/how-to-create-a-live-linux-usb-stick/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Secure Banking with Linux</title>
		<link>http://beginnerlinuxtutorial.com/linux-security/secure-banking-with-linux/</link>
					<comments>http://beginnerlinuxtutorial.com/linux-security/secure-banking-with-linux/#respond</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Fri, 10 Feb 2012 02:50:33 +0000</pubDate>
				<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[how to be secure online banking]]></category>
		<category><![CDATA[Linux live distribution banking]]></category>
		<category><![CDATA[Linux secure banking]]></category>
		<category><![CDATA[prevent computer fraud]]></category>
		<category><![CDATA[prevent identity theft]]></category>
		<category><![CDATA[secure online banking]]></category>
		<category><![CDATA[virus free Linux]]></category>
		<category><![CDATA[virus free live Linux]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=253</guid>

					<description><![CDATA[<p>There is identity theft, credit card fraud, and many other things that can happen to you and your money if someone steals your information. Windows computers can have trojan viruses, key loggers, and other security holes on it that thieves can use to steal your information from your computer. You can purchase all kinds of [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/linux-security/secure-banking-with-linux/">Secure Banking with Linux</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignleft size-full wp-image-327" src="http://beginnerlinuxtutorial.com/wp-content/uploads/2014/05/Linux-Secure-Banking.jpg" alt="Linux Secure Banking" width="300" height="200" />There is identity theft, credit card fraud, and many other things that can happen to you and your money if someone steals your information. Windows computers can have trojan viruses, key loggers, and other security holes on it that thieves can use to steal your information from your computer. You can purchase all kinds of expensive antivirus software, antimalware, etc. for your Windows computer and still become a victim of identity theft. You are in luck, there are ways you can prevent this almost free!</p>
<h3>How to Prevent Becoming a Victim of Computer Fraud</h3>
<p>You can easily run Linux! There are no viruses that are going to get installed on your Linux computer without you knowing. You would have to physically install the virus yourself and give the virus your root (administrator) password. Linux is also a lot more secure than Windows. So you won&#8217;t have to worry about someone cracking your passwords and getting into your computer&#8217;s information.</p>
<p>If you are not wanting to install Linux on your computer for free. You can always run a live Linux distribution from a <a title="USB Stick" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB stick</a> or a cdrom. When you use a live Linux distribution anything that is stored in cache, temporary files, etc. anything that may contain information someone can steal and use to steal your money or identity is erased as soon as your turn off your computer. So if someone steals your <a title="USB Stick" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB stick</a> or cdrom and boots it up on their computer, there will be no information of you logging into your bank accounts or purchasing products online. Best of all you can download Linux for free. You will just have to buy a cd-r, dvd-r, or a USB stick. Which I&#8217;m sure most of you will probably have laying around your home somewhere.</p>
<h3>Where Can I Download Linux</h3>
<p>This depends on if you want to install Linux onto your hard drive or if you want to run a live Linux distribution from a <a title="USB Stick" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB stick</a>, CD-R, or DVD-R.</p>
<h3>Install Linux to Hard Drive</h3>
<p>If you are wanting to install Linux to your <a title="Hard Drive" href="http://beginnerlinuxtutorial.com/product.php?id=hard-drive" target="_blank">hard drive</a> you will need to partition your <a title="Hard Drive" href="http://beginnerlinuxtutorial.com/product.php?id=hard-drive" target="_blank">hard drive</a> so you don&#8217;t erase Windows, unless you don&#8217;t care. When installing Linux on your <a title="Hard Drive" href="http://beginnerlinuxtutorial.com/product.php?id=hard-drive" target="_blank">hard drive</a> you can install almost any Linux distribution. Here are the Linux distributions I recommend using.</p>
<ul>
<li><a title="Fedora Linux" href="http://fedoraproject.org" target="_blank">Fedora Linux</a></li>
<li><a title="Debian Linux" href="http://www.debian.org" target="_blank">Debian Linux</a></li>
<li><a title="Ubuntu Linux" href="http://www.ubuntu.com" target="_blank">Ubuntu Linux</a></li>
<li><a title="Slackware Linux" href="http://www.slackware.com" target="_blank">Slackware Linux</a></li>
<li><a title="Gentoo Linux" href="http://www.gentoo.org" target="_blank">Gentoo Linux</a></li>
</ul>
<p>The first 4 are pretty easy to install and use. <a title="Gentoo Linux" href="http://gentoo.org" target="_blank">Gentoo Linux</a> can be a little complicated to install if you&#8217;ve never done any kind of hard drive partitioning or have worked in a CLI. The rest have a guided wizard type install that walk you through the steps. <a title="Gentoo Linux" href="http://gentoo.org" target="_blank">Gentoo Linux</a> does have an install guide on their website you can read and follow if you do want to go that route. There are also tons more Linux distributions you can use as well. You can see a whole list of Linux distributions on <a title="Distro Watch" href="http://distrowatch.com/" target="_blank">distrowatch</a>.</p>
<h3>Use a Live Linux Distribution</h3>
<p>If you are wanting to run a live Linux distribution you have fewer choices as not every Linux distribution comes as a live Linux distribution. With some Linux knowledge and tweaking you can install any Linux distribution to a <a title="USB Stick" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB stick</a>, but this really wouldn&#8217;t be a live Linux distribution anymore. It would be like installing to your hard drive, but instead installing to a <a title="USB Stick" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB stick</a>, but that&#8217;s going to be another Linux topic. Here are the live Linux distributions I recommend to make your banking and online purchases secure.</p>
<ul>
<li><a title="Fedora Live Linux" href="http://fedoraproject.org/wiki/FedoraLiveCD" target="_blank">Fedora Live Linux</a></li>
<li><a title="Ubuntu Live Linux" href="http://www.ubuntu.com/download/ubuntu/download" target="_blank">Ubuntu Live Linux</a></li>
<li><a title="MacPup Live Linux" href="http://macpup.org" target="_blank">MacPup Live Linux</a></li>
<li><a title="Damn Small Linux Live" href="http://www.damnsmalllinux.org" target="_blank">Damn Small Linux Live</a></li>
<li><a title="Damn Small Linux Not" href="http://www.damnsmalllinux.org/dsl-n/" target="_blank">Damn Small Linux Not</a></li>
<li><a title="Slax Live Linux" href="http://www.slax.org" target="_blank">Slax Live Linux</a></li>
<li><a title="Pentoo Live Linux" href="http://www.pentoo.ch" target="_blank">Pentoo Live Linux</a></li>
</ul>
<p>Some of the live Linux distributions may not support your wireless card out of the box. Like <a title="Damn Small Linux" href="http://www.damnsmalllinux.org/" target="_blank">Damn Small Linux</a> since it is such a small distribution you are limited to the more popular wireless drivers. So if you are wanting to run this live Linux on a laptop, you may want to choose a different live distribution unless you want to try it and see if your wireless card is supported. There are also tons more live Linux distributions out there. These are just the ones I recommend using.</p>
<h3>What to do After Downloading Linux</h3>
<h3>Linux on CD-R or DVD-R</h3>
<p>After you have downloaded the Linux you want to run, you need to burn it to a CD-R, DVD-R, or set it up on a USB flash drive. So open your favorite burning software like Nero, Roxio, etc. and select burn an image, insert your CD-R or DVD-R, click burn, and you&#8217;re done! Now reboot your computer leaving the CD or DVD in your computer and your computer should boot from the CD or DVD drive. If not you may have to go into your BIOS setup by hitting F1, DEL, ESC, F10, etc. depending on how you computer is setup, then go to boot options and make sure your CD or DVD drive is 1st on the boot list.</p>
<h3>Linux on USB Flash Drive</h3>
<p>If you are wanting to put your live Linux distribution on a USB flash drive, you can either follow the directions on the live Linux distribution&#8217;s website, or you can download <a title="Linux Live USB LiLi" href="http://www.linuxliveusb.com" target="_blank">Linux Live USB (LiLi)</a>. This is a software that runs in Windows, you open it, select the live Linux distribution file you downloaded and continue to follow on screen instructions, which will copy all the files to your <a title="USB Flash Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB flash drive</a> and make it bootable.</p>
<p>Now after you have downloaded and installed your Linux distribution or live Linux distribution you can boot up your computer to your new Linux operating system and be secure from viruses, trojans, key loggers, and security holes so you can make online purchases and online banking with confidence.</p>
<p>The great thing about using a live Linux distribution for secure banking is you can use it on anyone&#8217;s computer. If you are using someone else&#8217;s computer, you have no idea what is on their computer, they may have all kinds of viruses on their computer as well, so don&#8217;t log in to your bank from a friend&#8217;s computer. Plug your USB flash drive into their computer, reboot into your live Linux distribution and feel confident no one will steal your information! Tell your friend&#8217;s about Linux as well. Help them setup a <a title="USB Flash Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB flash drive</a> so they can use while doing their online banking or online purchases to keep them secure!</p><p>The post <a href="http://beginnerlinuxtutorial.com/linux-security/secure-banking-with-linux/">Secure Banking with Linux</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/linux-security/secure-banking-with-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Speed Up Disk Reads and Writes</title>
		<link>http://beginnerlinuxtutorial.com/speed-tweaks/speed-up-disk-reads-and-writes/</link>
					<comments>http://beginnerlinuxtutorial.com/speed-tweaks/speed-up-disk-reads-and-writes/#respond</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Thu, 09 Feb 2012 00:15:12 +0000</pubDate>
				<category><![CDATA[Speed Tweaks]]></category>
		<category><![CDATA[faster Linux file system]]></category>
		<category><![CDATA[free up Linux disk resources]]></category>
		<category><![CDATA[free up Linux wasted disk bandwidth]]></category>
		<category><![CDATA[increase Linux disk performance]]></category>
		<category><![CDATA[Linux atime attribute]]></category>
		<category><![CDATA[Linux noatime]]></category>
		<category><![CDATA[make ext file system faster]]></category>
		<category><![CDATA[make ext2 faster]]></category>
		<category><![CDATA[make ext3 fater]]></category>
		<category><![CDATA[make ext4 faster]]></category>
		<category><![CDATA[make Linux faster]]></category>
		<category><![CDATA[speed up Linux access time]]></category>
		<category><![CDATA[speed up Linux disk reads]]></category>
		<category><![CDATA[speed up Linux disk writes]]></category>
		<category><![CDATA[tweak ext2 file system]]></category>
		<category><![CDATA[tweak ext3 file system]]></category>
		<category><![CDATA[tweak ext4 file system]]></category>
		<category><![CDATA[tweak Linux]]></category>
		<category><![CDATA[tweak Linux configs]]></category>
		<category><![CDATA[tweak Linux configuration files]]></category>
		<category><![CDATA[tweak Linux file system]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=262</guid>

					<description><![CDATA[<p>There are many speed tweaks you can do in the Linux operating system to make your Linux computer perform faster. Some of these speed tweaks are as easy as editing a configuration file. In this guide we are going to disable the atime attribute. This will increase your disk performance in Linux. What is atime [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/speed-tweaks/speed-up-disk-reads-and-writes/">Speed Up Disk Reads and Writes</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignleft size-full wp-image-331" src="http://beginnerlinuxtutorial.com/wp-content/uploads/2014/05/Linux-Fast.png" alt="Linux Speed Tweak" width="200" height="200" srcset="http://beginnerlinuxtutorial.com/wp-content/uploads/2014/05/Linux-Fast.png 200w, http://beginnerlinuxtutorial.com/wp-content/uploads/2014/05/Linux-Fast-150x150.png 150w" sizes="auto, (max-width: 200px) 100vw, 200px" />There are many speed tweaks you can do in the Linux operating system to make your Linux computer perform faster. Some of these speed tweaks are as easy as editing a configuration file. In this guide we are going to disable the atime attribute. This will increase your disk performance in Linux.</p>
<h3>What is atime Attribute</h3>
<p>In Linux your file system will record the time and date a file was created, modified, and last accessed for every file on your Linux computer. Every time you access a file it writes to your disk letting the Linux file system know when it was last accessed. If you edit the file it will keep track of the last time you modified the file. Back to the last access time, just imaging how many files are opened on your computer just at boot time. There are files being accessed that you may not be directly opening, such as libs, configuration files, services, etc. Now your Linux computer will write to the disk for each of those files when they were last accessed. So you could imagine how much processor and disk resources are being used to write all this information.</p>
<h3>Do I Need atime Attribute</h3>
<p>You do not need atime attribute to run Linux. Nothing is going to fail, crash, or die if you disable the atime attribute. There are no programs that depend on the atime attribute. You may want to use atime attribute yourself if you want to be able to look up a file that you just looked at and don&#8217;t remember what it was or maybe even some other reason. For probably 98% of Linux users out there, you can disable atime attribute without any problems.</p>
<h3>What File Systems Does this Speed Tweak Work on</h3>
<p>I&#8217;m not 100% sure on this, but I think that this speed tweak only works on <code>ext2</code>, <code>ext3</code>, and <code>ext4</code> file systems.  If I am wrong, someone please correct me. I rarely use any other file system besides ext type file systems on my Linux computers.</p>
<h3>How to Increase Linux System Performance</h3>
<p>You can disable the atime attribute. To disable the atime attribute you need to be root or super user (su|sudo). You need to edit <code>/etc/fstab</code> with your favorite text editor. You can use <code>gedit</code>, <code>vi</code>, <code>nano</code> or which ever text editor you prefer to use. In your <code>/etc/fstab</code> file you want to change the options for your mounts. So in your <code>/etc/fstab</code> file you should see a few lines like this:</p>
<p><code><br />
/dev/sda1 /boot ext3 noauto,noatime 1 2<br />
/dev/sda2 / ext4 noatime 0 1<br />
/dev/sda3 none swap sw 0 0<br />
/dev/md0 /home ext4 noatime 1 2<br />
proc /proc proc defaults 0 0<br />
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0<br />
</code></p>
<p>As you can see in my <code>/etc/fstab</code> I replaced the <code>defaults</code> option with <code>noatime</code> for my <code>/</code>, <code>/boot</code>, and <code>/home</code> partitions. With this option in your <code>/etc/fstab</code> after the partition is mounted again with the <code>noatime</code> attribute you should notice a difference in your Linux computer&#8217;s performance. Mainly in disk usage but some processor resources as well.</p>
<p>This Linux speed tweak is very easy to do as you can see. Just remember to apply this Linux speed tweak to all of your Linux laptops and Linux desktops! Continue reading about more <a title="Linux Speed Tweaks" href="http://beginnerlinuxtutorial.com/speed-tweaks/">Linux speed tweaks</a> to get the most out of your Linux computer.</p><p>The post <a href="http://beginnerlinuxtutorial.com/speed-tweaks/speed-up-disk-reads-and-writes/">Speed Up Disk Reads and Writes</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/speed-tweaks/speed-up-disk-reads-and-writes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Fast Lightweight Linux Distributions</title>
		<link>http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-distributions/</link>
					<comments>http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-distributions/#respond</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Mon, 30 Jan 2012 02:46:36 +0000</pubDate>
				<category><![CDATA[Speed Tweaks]]></category>
		<category><![CDATA[fast Linux]]></category>
		<category><![CDATA[fast Linux distribution]]></category>
		<category><![CDATA[fast Linux distro]]></category>
		<category><![CDATA[fastest Linux distribution]]></category>
		<category><![CDATA[fastest Linux distro]]></category>
		<category><![CDATA[lightweight Linux distribution]]></category>
		<category><![CDATA[lightweight Linux distro]]></category>
		<category><![CDATA[Linux slow laptop]]></category>
		<category><![CDATA[speed up Linux]]></category>
		<category><![CDATA[speed up old computer]]></category>
		<category><![CDATA[super fast Linux distro]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=210</guid>

					<description><![CDATA[<p>After adding the information about lightweight Linux apps, I figured I should write about some of the lightweight Linux distros. There are many distributions that can be installed on on your slower computers to make them run faster. You can even install them on your fast computers to make them even faster! Remember that almost [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-distributions/">Fast Lightweight Linux Distributions</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>After adding the information about <a title="Lightweight Linux Apps" href="http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-apps/">lightweight Linux apps</a>, I figured I should write about some of the lightweight Linux distros. There are many distributions that can be installed on on your slower computers to make them run faster. You can even install them on your fast computers to make them even faster! Remember that almost all Linux distributions can be made lightweight by installing <a title="Lightweight Linux Programs" href="http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-apps/">lightweight Linux programs</a> instead of running bloated Linux programs.</p>
<p>Some lightweight Linux distributions are not full blown Linux distributions and only have a set number of Linux programs that can be installed easily without having to install the software manually. There are also some Linux distributions that are full blown Linux distributions yet still are lightweight as they run <a title="Lightweight Linux Software" href="http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-apps/">lightweight Linux software</a>, you can still install any of the non-lightweight Linux programs as well. I will have some of each listed below and you can make the choice as which one you would like to try out on your PC.</p>
<p>If you do not want to install these lightweight Linux distributions to your <a title="hard drive" href="http://beginnerlinuxtutorial.com/product.php?id=hard-drive" target="_blank">hard drive</a> right away you can always install them onto a <a title="USB Flash Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB flash drive</a> and run them from the <a title="USB Thumb Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB thumb drive</a> to try the lightweight Linux distribution out before you install it to your <a title="Hard Drive" href="http://beginnerlinuxtutorial.com/product.php?id=hard-drive" target="_blank">hard drive</a>. Remember that running them from a <a title="USB Thumb Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB thumb drive</a> will be slightly slower than installing the lightweight Linux distro to your <a title="Hard Drive" href="http://beginnerlinuxtutorial.com/product.php?id=hard-drive" target="_blank">hard drive</a>. If you use a <a title="USB Hard Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-hard-drive" target="_blank">USB hard drive</a> or a <a title="eSATA Hard Drive" href="http://beginnerlinuxtutorial.com/product.php?id=esata-hard-drive" target="_blank">eSATA hard drive</a> instead of a <a title="USB Stick" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB stick</a> you will get a better feel of the speed when installed onto your <a title="Internal Hard Drive" href="http://beginnerlinuxtutorial.com/product.php?id=hard-drive" target="_blank">internal hard drive</a>.</p>
<p>The boot times below were tested on a T7500 2.2GHz with 4GB of RAM from USB flash drive created with unetbootin. I know this isn&#8217;t the best machine to give you boot times from since the laptop has a decent CPU and RAM, but all my other slower machines do not boot from USB and they don&#8217;t have a CD-ROM drive. They are running Linux, but had to take hard drive out, toss it in another machine, install, then put the drive back in the laptop. So I can&#8217;t test boot times with them.</p>
<table border="1">
<tbody>
<tr>
<td colspan="2"><center><a title="Damn Small Linux" href="http://www.damnsmalllinux.org" target="_blank"><img decoding="async" class="aligncenter" title="Damn Small Linux" src="http://beginnerlinuxtutorial.com/wp-content/uploads/2012/01/damn-small-linux.jpg" alt="Damn Small Linux" /></a></center></td>
</tr>
<tr>
<td><a title="Damn Small Linux" href="http://damnsmalllinux.org" target="_blank">Damn Small Linux</a> is a very small lightweight Linux distribution that can run from a <a title="USB Flash Drive" href="http://beginnerlinuxtutorial.com/product.php?id=usb-flash-drive" target="_blank">USB flash drive</a>, business card cd, regular cd, hard drive, and SD card if your PC supports booting from SD! It is only 50MB! So you can store it on just about any media. <a title="Damn Small Linux" href="http://damnsmalllinux.org" target="_blank">Damn Small Linux</a> is light enough that it can be powered by a 486DX with only 16MB of RAM! You can also run <a title="DSL" href="http://damnsmalllinux.org" target="_blank">DSL</a> fully in RAM with only 128MB of RAM! DSL comes with easy to use lightweight setup programs to setup internet, printers, etc.</td>
<td width="180">
<ul>
<li><strong>Boot Time</strong>:</li>
<li><strong>Window Manager</strong>: JWM, FluxBox</li>
<li><strong>Web Browser</strong>: Nettrik, Dillo, FireFox</li>
<li><strong>File Manager</strong>: emelFM</li>
<li><strong>Email</strong>: Sylpheed</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table border="1">
<tbody>
<tr>
<td colspan="2"><center><a title="Slitaz Linux" href="http://www.slitaz.org" target="_blank"><img loading="lazy" decoding="async" title="Slitaz Linux" src="http://beginnerlinuxtutorial.com/wp-content/uploads/2012/01/slitaz-linux.png" alt="Slitaz Linux" width="320" height="118" /></a></center></td>
</tr>
<tr>
<td><a title="Slitaz Linux" href="http://www.slitaz.org" target="_blank">Slitaz</a> is another very small lightweight Linux distribution! This lightweight Linux distro can be a fully functional desktop or server with only a tiny size of just 30MB! Slitaz is not based on any other distro as it was built from the ground up. If installed to a hard drive it will utilize 80MB.</td>
<td width="180">
<ul>
<li><strong>Boot Time</strong>:</li>
<li><strong>Window Manager</strong>: LXDE, OpenBox, JWM</li>
<li><strong>Web Browser</strong>: Midori</li>
<li><strong>File Manager</strong>: PCman</li>
<li><strong>Email</strong>: Claws-Mail</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table border="1">
<tbody>
<tr>
<td colspan="2"><center><a href="http://www.xubuntu.org"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-247" title="Xubuntu Linux" src="http://beginnerlinuxtutorial.com/wp-content/uploads/2012/01/xubuntu_linux.png" alt="Xubuntu Linux" width="309" height="114" srcset="http://beginnerlinuxtutorial.com/wp-content/uploads/2012/01/xubuntu_linux.png 309w, http://beginnerlinuxtutorial.com/wp-content/uploads/2012/01/xubuntu_linux-300x110.png 300w" sizes="auto, (max-width: 309px) 100vw, 309px" /></a></center></td>
</tr>
<tr>
<td><a title="Xubuntu Linux" href="http://www.xubuntu.org" target="_blank">Xubuntu</a> is a lightweight Linux distribution that is based off of Ubuntu of course. This lightweight distro has access to the full access to the Canonical’s repositories. Can run on 256MB of RAM although 512MB is recommended. ISO image is 664MB and requires 4.4GB to install on hard drive.</td>
<td width="180">
<ul>
<li><strong>Boot Time</strong>:</li>
<li><strong>Window Manager</strong>: XFCE</li>
<li><strong>Web Browser</strong>: Firefox</li>
<li><strong>File Manager</strong>: Thunar</li>
<li><strong>Email</strong>: Thunderbird</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table border="1">
<tbody>
<tr>
<td colspan="2"><center><a title="Macpup Linux" href="http://www.macpup.org" target="_blank"><img loading="lazy" decoding="async" title="Macpup Linux" src="http://beginnerlinuxtutorial.com/wp-content/uploads/2012/01/macpup-linux.png" alt="Macpup Linux" width="136" height="179" /></a></center></td>
</tr>
<tr>
<td><a title="Macpup Linux" href="http://www.macpup.org" target="_blank">Macpup</a> is a lightweight Linux distribution with a 164MB ISO image. Macpup is based on Puppy Linux. I find the menu a bit busy, unorganized, and a little hard to use. Not sure if it&#8217;s the colors of the menu, but I find it hard to find what I&#8217;m looking for. Some think the name Macpup is a Puppy Linux designed to run on Mac computers, not true, this is for PC.</td>
<td width="180">
<ul>
<li><strong>Boot Time</strong>:</li>
<li><strong>Window Manager</strong>: Enlightenment</li>
<li><strong>Web Browser</strong>: Firefox</li>
<li><strong>File Manager</strong>: Rox-Filer</li>
<li><strong>Email</strong>: Sylpheed</li>
</ul>
</td>
</tr>
</tbody>
</table><p>The post <a href="http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-distributions/">Fast Lightweight Linux Distributions</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-distributions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Linux chmod Command</title>
		<link>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chmod-command/</link>
					<comments>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chmod-command/#respond</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Mon, 26 Dec 2011 02:38:37 +0000</pubDate>
				<category><![CDATA[Basic Linux Commands]]></category>
		<category><![CDATA[change directory permissions]]></category>
		<category><![CDATA[change file permissions]]></category>
		<category><![CDATA[change folder permissions]]></category>
		<category><![CDATA[change Linux permissions]]></category>
		<category><![CDATA[change permissions]]></category>
		<category><![CDATA[change permissions in Linux]]></category>
		<category><![CDATA[chmod command]]></category>
		<category><![CDATA[chmod examples]]></category>
		<category><![CDATA[chmod syntax]]></category>
		<category><![CDATA[chmod tutorial]]></category>
		<category><![CDATA[chmod usage]]></category>
		<category><![CDATA[edit Linux permissions]]></category>
		<category><![CDATA[how to change permissions]]></category>
		<category><![CDATA[how to use chmod]]></category>
		<category><![CDATA[Linux chmod]]></category>
		<category><![CDATA[Linux chmod command]]></category>
		<category><![CDATA[linux permissions]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=199</guid>

					<description><![CDATA[<p>In Linux you can set permissions on your files and folders. This is useful when you have a Linux computer with multiple users. This way you can specify which users can access what files and folders as well as what they can do with the files and folders. You can also setup groups and set [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chmod-command/">Linux chmod Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>In Linux you can set permissions on your files and folders. This is useful when you have a Linux computer with multiple users. This way you can specify which users can access what files and folders as well as what they can do with the files and folders. You can also setup groups and set group permissions as well.</p>
<h3>Linux chmod Command Usage Syntax</h3>
<p>You can change permissions of files and folders by using the Linux <code>chmod</code> command. The usage of the Linux <code>chmod</code> command is easy after you get the hang of it and know the <code>chmod</code> command&#8217;s usage syntax. The usage syntax for the Linux <code>chmod</code> command is <code>chmod [OPTION] MODE[,MODE] FILE</code> and each <code>MODE</code> is in the form <code>[ugoa]*([-+=]([rwxXst]*|[ugo]))+</code>.</p>
<p>The mode form for <code>chmod</code> is broke down by who you are setting the permissions for.</p>
<p>u &#8211; is for setting permissions on the user owning the file or folder.<br />
g &#8211; is for setting permissions on the group owning the file or folder.<br />
o &#8211; is for setting permissions for everyone else that does not own the file or folder.<br />
a &#8211; is for setting all three of the above.</p>
<p>Then you can specify if you are taking away permissions or adding permissions by using &#8211; to remove permissions or + to add permissions.</p>
<p>Next in the Linux <code>chmod</code> syntax is what permissions you want to add or remove.</p>
<p>r &#8211; add or remove the read permissions, this allows a user or group to view a file.<br />
w &#8211; is to add or remove write permissions to a file or folder, this allows a user or group to make changes to a file or folder.<br />
x &#8211; is to add or remove execution permissions to a file or folder.</p>
<h3>Linux chmod Command Examples</h3>
<p>Now for some <code>chmod</code> command examples. If you have a folder called <code>private-photos</code> that you don&#8217;t want any other user on your Linux system to access you can remove the permissions of all other users and groups and then add permissions just for the user owning the directory. You can do this using these commands:</p>
<p>Remove all permissions:<br />
<code>chmod -R a-rwx private-photos</code><br />
In the above command we are using <code>-R</code> for recursive since we are using the <code>chmod</code> command on a directory. Then using <code>a</code> to specify all users, groups, and others. We then use <code>-</code> to specify we are removing permissions. Then we use <code>rwx</code> to specify read, write, and execute permissions to be removed. Finally <code>private-photos</code> which is the directory we are changing permissions for.</p>
<p>Now we need to give the user that owns the directory permissions again since we just removed all permissions. We can do this with the <code>chmod</code> command by using the following syntax:</p>
<p><code>chmod -R u+rwx private-photos</code><br />
Now the above command is giving the owner permissions again. <code>-R</code> is telling the <code>chmod</code> command we are going recursive since this is a directory. <code>u</code> is the syntax for user. <code>+</code> is the syntax for adding permissions. <code>rwx</code> is the <code>chmod</code> syntax for specifying read, write, and execute permissions. Finally <code>private-photos</code> is the directory we are changing permissions of.</p>
<p>Now what if you have a directory called <code>family-photos</code> and you wanted all the users that are part of the group <code>family</code> to be able to have permissions to the directory you would first make sure that <code>family-photos</code> is owned by the <code>family</code> group, by using the <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chown-command-change-owner/" title="Linux chown Command"><code>chown</code> command</a>. Then add permissions using the <code>chmod</code> command.</p>
<p><code>chown -R Your-Username:family family-photos</code></p>
<p>Now that <code>family</code> owns the <code>family-photos</code> directory we need to change the permissions on <code>family-photos</code></p>
<p><code>chmod -R a-rwx family-photos</code><br />
That will remove all permissions. Now we need to add permissions for the user and group.</p>
<p><code>chmod -R ug+rwx family-photos</code><br />
Now you&#8217;re done, but if you wanted your username to be the only one that can edit photos, add or remove photos, etc. but everyone else in the <code>family</code> group can only view them, you could have done these commands instead:</p>
<p><code>chmod -R u+rwx family-photos</code><br />
<code>chmod -R g+rx family-photos</code></p>
<p>I hope this Linux tutorial on the Linux <code>chmod</code> command has helped you understand how Linux permissions work and how to change Linux permissions.</p><p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chmod-command/">Linux chmod Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chmod-command/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Fast Lightweight Linux Apps</title>
		<link>http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-apps/</link>
					<comments>http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-apps/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Fri, 08 Jul 2011 04:37:14 +0000</pubDate>
				<category><![CDATA[Speed Tweaks]]></category>
		<category><![CDATA[fast lightweight apps]]></category>
		<category><![CDATA[fast lightweight linux]]></category>
		<category><![CDATA[fast programs]]></category>
		<category><![CDATA[find lightweight programs]]></category>
		<category><![CDATA[lightweight email client]]></category>
		<category><![CDATA[lightweight file manager]]></category>
		<category><![CDATA[lightweight linux]]></category>
		<category><![CDATA[lightweight linux applications]]></category>
		<category><![CDATA[lightweight linux apps]]></category>
		<category><![CDATA[lightweight linux programs]]></category>
		<category><![CDATA[lightweight terminal]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=185</guid>

					<description><![CDATA[<p>Many Linux users out there are running Linux just because it is a faster operating system. The most bloated distribution of Linux is still probably faster than any Windows version. Although, there are also a lot of Linux users that are running Linux on slower computers, old hardware, or netbooks. These Linux computers are still [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-apps/">Fast Lightweight Linux Apps</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><a title="Lightweight Linux Apps" href="http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-apps/"><img loading="lazy" decoding="async" class="alignleft size-full wp-image-206" style="border-style: initial; border-color: initial; border-image: initial; border-width: 0px; margin: 2px;" title="Lightweight Feather Apps" src="http://beginnerlinuxtutorial.com/wp-content/uploads/2011/07/lightweight-feather-apps.jpg" alt="Lightweight Feather Apps" width="250" height="188" /></a>Many Linux users out there are running Linux just because it is a faster operating system. The most bloated distribution of Linux is still probably faster than any Windows version. Although, there are also a lot of Linux users that are running Linux on slower computers, old hardware, or netbooks. These Linux computers are still faster, but maybe you want more speed!</p>
<p>I have a few slower Linux computers myself. Here are some of the slower computers I have in use:</p>
<ul>
<li>Transmeta Crusoe 867MHz/384MB</li>
<li>Dual Intel Pentium Pro 200MHz/256MB</li>
<li>Dual DEC Alpha 533MHz/512MB</li>
<li>Intel P4 3.2GHz/4GB</li>
<li>Intel Atom Z520 1.3GHz/1GB</li>
</ul>
<p>So you can see I have some slow Linux computers laying around. So I always try to tweak my Linux systems the best I can to make them faster. Whether I customize configurations, compile with custom flags, disable bells and whistles, or just finding fast lightweight applications! Which is what this article is about, I&#8217;ve found all kinds of Linux programs that work very well, that don&#8217;t hog down your resources like a lot of the main full feature eye candy programs. Some of these lightweight Linux applications are very basic and stripped down, but they still get the job done. You may choose to install the non-lightweight applications as well, for those just in case times, unless you don&#8217;t have the hard drive space. You may also want to look at <a title="Lightweight Linux Distributions" href="http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-distributions/">lightweight Linux distributions</a>.</p>
<p>There are also lightweight Linux distributions out there as well that come packaged with all the lightweight apps. I&#8217;ll discuss those lightweight Linux distributions in a different article though. Anyways below is a list of types of applications with the lightweight Linux program next to it. I hope this list of lightweight Linux apps helps you speed up your Linux computers.</p>
<table>
<tbody>
<tr>
<td><strong>Application Purpose</strong></td>
<td><strong>Lightweight Linux Program</strong></td>
</tr>
<tr>
<td>Calculator</td>
<td>xcalc</td>
</tr>
<tr>
<td>Chat</td>
<td>pidgin</td>
</tr>
<tr>
<td>Email Client</td>
<td>claws-mail</td>
</tr>
<tr>
<td>File Manager</td>
<td>rox-filer, thunar</td>
</tr>
<tr>
<td>Movie Player</td>
<td>mplayer</td>
</tr>
<tr>
<td>mp3 Player</td>
<td>mpg123</td>
</tr>
<tr>
<td>Network Manager</td>
<td>wicd</td>
</tr>
<tr>
<td>pdf Viewer</td>
<td>xpdf</td>
</tr>
<tr>
<td>Shell</td>
<td>ash, dash</td>
</tr>
<tr>
<td>Terminal</td>
<td>aterm</td>
</tr>
<tr>
<td>Web Browser</td>
<td>links2</td>
</tr>
<tr>
<td>Window Manager</td>
<td>openbox</td>
</tr>
</tbody>
</table>
<p>I will continue adding to the list of lightweight Linux programs as I find more or you tell me about more fast lightweight apps! So if you know of a lightweight Linux application, let me know!</p><p>The post <a href="http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-apps/">Fast Lightweight Linux Apps</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/speed-tweaks/fast-lightweight-linux-apps/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Fastest Linux Shell</title>
		<link>http://beginnerlinuxtutorial.com/speed-tweaks/fastest-linux-shell/</link>
					<comments>http://beginnerlinuxtutorial.com/speed-tweaks/fastest-linux-shell/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Sat, 26 Jun 2010 05:21:54 +0000</pubDate>
				<category><![CDATA[Speed Tweaks]]></category>
		<category><![CDATA[fast linux shell]]></category>
		<category><![CDATA[fast shell]]></category>
		<category><![CDATA[fastest linux shell]]></category>
		<category><![CDATA[lightweight Linux shell]]></category>
		<category><![CDATA[linux shell]]></category>
		<category><![CDATA[linux speed tweaks]]></category>
		<category><![CDATA[speed up Linux]]></category>
		<category><![CDATA[speed up pc]]></category>
		<category><![CDATA[tweak computer]]></category>
		<category><![CDATA[tweak Linux]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=180</guid>

					<description><![CDATA[<p>There are many of you out there always looking for another way to tweak your Linux computer to make it even faster. Well this is just one of my tips that will help speed up your overall system slightly. Most of you out there are probably using bash as your Linux shell. This is fine, [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/speed-tweaks/fastest-linux-shell/">Fastest Linux Shell</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>There are many of you out there always looking for another way to tweak your Linux computer to make it even faster. Well this is just one of my tips that will help speed up your overall system slightly. Most of you out there are probably using <code>bash</code> as your Linux shell. This is fine, but there are other shells available that are faster, smaller, and use less system resources.</p>
<p>Everytime you login to your Linux system, open a terminal, execute a script, etc. you are opening up another Linux shell. Most of you Linux users are thinking it&#8217;s just a Linux shell, it doesn&#8217;t take up much resources, that&#8217;s true, but just think if you had 10 shells running. The system memory usage would increase a bit. Plus for those of you that don&#8217;t have faster computer hardware with tons of resources, we want to conserve as much RAM as possible.</p>
<p>So what can we do about all these Linux shells running eating up our system resources? We can install a lightweight shell and set it to be your default Linux shell. Let&#8217;s install <code>dash</code> which is a replacement of <code>ash</code> (Almquist Shell) which was a BSD-licensed replacement for the Bourne Shell that was used in low resource systems.</p>
<p>Depending on what Linux distro you are running, you may need to install <code>dash</code> slightly differently. First lets install <code>dash</code>.</p>
<ul>
<li>Gentoo: <code>emerge --sync &amp;&amp; emerge dash</code></li>
<li>Debain: <code>apt-get update &amp;&amp; apt-get install dash</code></li>
<li>Fedora: <code>yum install dash</code></li>
</ul>
<p>Now that you have <code>dash</code> installed, we want to make <code>dash</code> your default Linux shell. To do this first we want to open a terminal. Type <code>chsh</code> and hit enter, now you should be asked what shell you want to use. Type <code>/bin/dash</code> and hit enter. Any username you want to use the <code>dash</code> shell, repeat the <code>chsh</code> command and change your shell to <code>/bin/dash</code>.</p>
<p>Now we want to change the symlink of <code>/bin/sh</code> to point to <code>/bin/dash</code> instead of <code>/bin/bash</code>. To do this we must first delete the current symlink <code>/bin/sh</code>. In your terminal, type <code>rm -f /bin/sh</code> now we need to create a new symlink to <code>/bin/dash</code>. To do this in your terminal type <code>ln -s /bin/dash /bin/sh</code> and now you are done. Logout and log back in and all of your terminals and shells will be using <code>dash</code>.</p>
<p>NOTE: <code>dash</code> is a very lightweight Linux shell and does not have many features that <code>bash</code> and some other Linux shells have. <code>dash</code> does not support tab complete, so you can&#8217;t type <code>cd /us(TAB)sr(TAB)lin(TAB)</code> and be taken to <code>/usr/src/linux</code>. <code>dash</code> does not support history either, so if you were just doing a bunch of long commands in a shell and didn&#8217;t want to retype them, just hit up a couple times and then hit enter, well you can&#8217;t with <code>dash</code>, but you will notice your scripts running faster, terminals opening faster, less ram being used, etc.</p>
<p>I hope this <a href="http://beginnerlinuxtutorial.com/speed-tweaks/">Linux speed tweak</a> has helped you tweak your Linux computer to make it even more faster! For more Linux tutorials and <a title="Linux Speed Tweaks" href="http://beginnerlinuxtutorial.com/speed-tweaks/">speed tweaks</a> continue reading through <a title="Beginner Linux Tutorial" href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>!</p><p>The post <a href="http://beginnerlinuxtutorial.com/speed-tweaks/fastest-linux-shell/">Fastest Linux Shell</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/speed-tweaks/fastest-linux-shell/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>Linux chown Command Change Owner</title>
		<link>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chown-command-change-owner/</link>
					<comments>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chown-command-change-owner/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Tue, 20 Apr 2010 20:31:09 +0000</pubDate>
				<category><![CDATA[Basic Linux Commands]]></category>
		<category><![CDATA[change group]]></category>
		<category><![CDATA[change Linux permissions]]></category>
		<category><![CDATA[change owner]]></category>
		<category><![CDATA[change permissions]]></category>
		<category><![CDATA[chown command]]></category>
		<category><![CDATA[chown help]]></category>
		<category><![CDATA[file ownership]]></category>
		<category><![CDATA[Linux chown command]]></category>
		<category><![CDATA[linux permissions]]></category>
		<category><![CDATA[man chown]]></category>
		<category><![CDATA[permission error]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=172</guid>

					<description><![CDATA[<p>The Linux chown command is used to change the owner and group of a file or directory. If you have a directory and you are not the owner and would like to be the owner of that directory, you can use the Linux chown command to change the owner to your username. Some of you [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chown-command-change-owner/">Linux chown Command Change Owner</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>The Linux <code>chown</code> command is used to change the owner and group of a file or directory. If you have a directory and you are not the owner and would like to be the owner of that directory, you can use the Linux <code>chown</code> command to change the owner to your username.</p>
<p>Some of you may get a lot of permission denied errors while trying to open files or folders, this may be caused by improper ownership or owner permissions. If it is a ownership problem, <code>chown</code> will fix your problem. If it is a permission problem, then you will want to look into <code>chmod</code>.</p>
<p>The usage of <code>chown</code> is <code>chown [OPTIONS] [OWNER]:[GROUP] [FILE]</code>. There are many options for <code>chown</code>, but I only use 2 of them on a regular basis. I use <code>chown -R | --recursive</code> and also <code>chown --from=CURRENT_OWNER:CURRENT_GROUP</code>. Basically <code>chown -R</code> is used on directories and all files in that directory. <code>chown --from=CURRENT_OWNER:CURRENT_GROUP</code> is used if you want to only change files that are currently owned by <code>CURRENT_OWNER:CURRENT_GROUP</code>.</p>
<p>For some examples of the Linux <code>chown</code> command. Say I have a desktop computer with Linux on it, and my username on the desktop computer is <code>BrandonStimmel</code>, and I buy a new laptop and install Linux on it, and this time I made my username <code>Brandon</code>. I also want to get rid of my desktop because it is slow and uses a lot of electricity. So I want to copy all of my files and folders from the desktop&#8217;s <code>/home/BrandonStimmel</code> to the laptop&#8217;s <code>/home/Brandon</code>. I simply use <code>rsync</code>, <code>cp</code>, or <code>scp</code> to copy the files and folders from the desktop computer to the laptop computer. Trouble is, I can only read files, I can&#8217;t write to them. I keep getting permission denied errors, and you don&#8217;t have permission to write to the file $FILE. So I login to the laptop as my user, then <code>su</code> to root, since root has permissions to read and write to the files/folders. Then I run <code>chown -R --from=BrandonStimmel:users Brandon:users /home/Brandon/*</code> Some may ask why I used <code>chown --from=</code> in this example. Well I have a ton of files in my home folder from my desktop and I may have some files that were meant to be owned by root, or some other user as backups. I didn&#8217;t want to change all of them to my new username unless I owned them before.</p>
<p>If you use the same example but don&#8217;t care who previously owned the files/folders, you can run <code>chown -R Brandon:users /home/Brandon/*</code> and you will change all files/folders in <code>/home/Brandon</code> to be owned by the username Brandon and the group users.</p>
<p>I hope this <a title="Linux tutorial" href="http://beginnerlinuxtutorial.com">Linux tutorial</a> on the Linux <code>chown</code> command has helped you fix your permission issues. If you have any questions please feel free to contact <a title="Beginner Linux Tutorials" href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a> by leaving a comment or sending an email. Have a great day and remember to read more <a title="Linux tutorials" href="http://beginnerlinuxtutorial.com">Linux tutorials</a>! Knowledge is power, especially with Linux!</p><p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chown-command-change-owner/">Linux chown Command Change Owner</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-chown-command-change-owner/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Linux more and less Commands</title>
		<link>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-more-and-less-commands/</link>
					<comments>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-more-and-less-commands/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Fri, 05 Feb 2010 21:24:40 +0000</pubDate>
				<category><![CDATA[Basic Linux Commands]]></category>
		<category><![CDATA[linux command help]]></category>
		<category><![CDATA[linux command tutorials]]></category>
		<category><![CDATA[linux less command]]></category>
		<category><![CDATA[linux less examples]]></category>
		<category><![CDATA[linux less tutorial]]></category>
		<category><![CDATA[linux more command]]></category>
		<category><![CDATA[linux more examples]]></category>
		<category><![CDATA[linux more tutorial]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=165</guid>

					<description><![CDATA[<p>The Linux commands more and less are similar to cat, but with more and less you can scroll the file instead of showing the enter file at once. So if you have larger files you want to view that are longer than your screen or terminal then you can use more or less commands instead [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-more-and-less-commands/">Linux more and less Commands</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>The Linux commands <code>more</code> and <code>less</code> are similar to <a title="Linux cat Command" href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-cat-command/"><code>cat</code></a>, but with <code>more</code> and <code>less</code> you can scroll the file instead of showing the enter file at once. So if you have larger files you want to view that are longer than your screen or terminal then you can use <code>more</code> or <code>less</code> commands instead of <a title="Linux cat Command" href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-cat-command/"><code>cat</code></a>.</p>
<p>I would suggest using <code>less</code> more often than <code>more</code> as the Linux <code>less</code> command can load files to the screen faster. If you do <code>more somefile.txt</code> the entire file must be read before it will start displaying on your screen. If you use <code>less somefile.txt</code> the contents of <code>somefile.txt</code> will be displayed as they are read from the file, so you don&#8217;t have to wait until the entire contents are read before you can see it!</p>
<p>Another reason I would suggest using the Linux command <code>less</code> more than the Linux command <code>more</code> is because with <code>less</code> command you can scroll up in the file as well as down, where with the Linux command <code>more</code> you can only scroll down the file. If you pass something with <code>more</code> you have to quit, run the <code>more</code> command again, and hope you don&#8217;t pass what you were looking for again.</p>
<p>The syntax for <code>more</code> is like most Linux commands: <code>more [OPTIONS] [filename]</code>. The sytax for <code>less</code> is the same: <code>less [OPTIONS] [FILENAME]</code>.</p>
<p>The only options I use normally with <code>less</code> is <code>less -N [FILENAME]</code> which will print line numbers before each line. The only options I use on <code>more</code> is <code>more +[number] [FILENAME]</code> which will start you on line [number].</p>
<p>Now for some examples of <code>more</code>.</p>
<p>If I wanted to view file <code>phone-numbers.txt</code> to write them down on paper, or enter into my cellphone, I could run <code>more phone-numbers.txt</code> and hit enter to scroll down after I have already entered the information on my cellphone or wrote them down on paper.</p>
<p>If I was working on a php/mysql website and I click on Login which takes me to login.php and I get something like: <code>PHP parse error : syntax error, unexpected T-STRING on line 130 in file /home/user/www/login.php</code> I can then run <code>more +130 /home/user/www/login.php</code> which will start me on line 130 where the error is so I can look for what is wrong and then fix it.</p>
<p>Now for some examples of <code>less</code>.</p>
<p>If I was working on a php/mysql website and I was writing a <code>foreach()</code> loop on my php script and needed a little help from someone that has a copy of my script, I could do <code>less -N some-script.php</code> and tell him or her what lines I was having problems with.</p>
<p>Well that&#8217;s it for the Linux <code>more</code> and <code>less</code> commands. As always I hope this Linux tutorial on the Linux <code>less</code> and <code>more</code> commands has helped you understand <code>more</code> and <code>less</code> a bit more! Thank you for reading my Linux tutorials on Beginner Linux Tutorial, I hope you have a great day! Any questions of problems with <code>more</code> or <code>less</code> can be asked below in the comment section.</p><p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-more-and-less-commands/">Linux more and less Commands</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-more-and-less-commands/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Linux Web Hosting Vs Windows Hosting Plan</title>
		<link>http://beginnerlinuxtutorial.com/linux-webhosting/linux-web-hosting-vs-windows-hosting-plan/</link>
					<comments>http://beginnerlinuxtutorial.com/linux-webhosting/linux-web-hosting-vs-windows-hosting-plan/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Fri, 28 Aug 2009 12:11:24 +0000</pubDate>
				<category><![CDATA[Linux Webhosting]]></category>
		<category><![CDATA[advantages of linux]]></category>
		<category><![CDATA[linux hosting]]></category>
		<category><![CDATA[linux server]]></category>
		<category><![CDATA[linux server hosting]]></category>
		<category><![CDATA[linux web hosting]]></category>
		<category><![CDATA[linux web hosting plans]]></category>
		<category><![CDATA[linux website hosting]]></category>
		<category><![CDATA[shared linux hosting]]></category>
		<category><![CDATA[web hosting linux or windows]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=131</guid>

					<description><![CDATA[<p>If you are wanting to build a website, you are probably wondering web hosting, Linux or Windows? I’m going to tell you right now, you want a Linux web hosting service! Here are some reasons why you want to have a Linux web hosting service instead of a Windows web hosting service. The Linux operating [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/linux-webhosting/linux-web-hosting-vs-windows-hosting-plan/">Linux Web Hosting Vs Windows Hosting Plan</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>If you are wanting to build a website, you are probably wondering web hosting, Linux or Windows? I’m going to tell you right now, you want a Linux web hosting service! Here are some reasons why you want to have a Linux web hosting service instead of a Windows web hosting service.</p>
<p>The Linux operating system is <strong>more stable</strong>! This means that the computer that is serving your website to people every day, will not crash as often as Windows. If you are making money from your website selling products or services, you don’t want your website down at all. If your web site goes down, you can’t make any sales!</p>
<p>Linux operating system is <strong>free</strong>! So the web hosting company that owns all these web servers don’t have to pay another $300 to put Windows on each server. Which in turn will pass a slight savings onto you!</p>
<p>Linux is also built for <strong>networking</strong> and <strong>multitasking</strong>. So it can handle more people using the server at the same time without any problems. So if I had a server running Linux I could have 1,000 different customers using this same server. If I take this same exact server and I put Windows on it, I may only be able to have about 500 different customers using the same server. So again it’s cheaper for the Linux web hosting service so they don’t have to buy as many servers. Remember more servers is more money they have to spend on the servers themselves and also the electric to run that server. So again, you get a little bit of these saving passed onto you!</p>
<p>Linux servers are also <strong>more secure</strong>! There are many ways Linux is more secure, but the main reasons here, is account security! Your account is safer from hackers if your web hosting service is using Linux. Your customers credit cards and such are safer from attacks. Also your website is safer, so attackers don’t break your website, change your website, or even steal your files!</p>
<p>Linux <strong>can not</strong> get computer <strong>viruses, </strong>well easily anyway! So your account will be safer from computer viruses ruining your data, stealing customer username, passwords, credit card numbers, etc.</p>
<p>So if you are wanting to check out some Linux web hosting services, below are some Linux web hosts that <a title="Linux tutorials" href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a> recommends:<br />
<strong>NOTE</strong>: If you want full details of each Linux web host please check out our <a title="Linux webhosting" href="http://beginnerlinuxtutorial.com/linux-webhosting/">Linux Web Hosting</a> section!</p>
<ul>
<li><a title="Linux web hosting justhost" href="http://beginnerlinuxtutorial.com/product.php?id=JustHost" target="_blank" rel="noopener">JustHost</a><br />
<a title="Linux web hosting justhost" href="http://beginnerlinuxtutorial.com/product.php?id=JustHost" target="_blank" rel="noopener"><img decoding="async" src="http://justhost-cdn.com/media/partner/images/linuxhowto/120x90/jh-ppc-banners-dynamic-120x90.png" alt="Just Host Linux Webhosting" border="0" /><br />
</a></li>
<li><a title="Linux hostgator web host" href="http://beginnerlinuxtutorial.com/product.php?id=HostGator" target="_blank" rel="noopener">HostGator</a><br />
<a title="Linux hostgator web host" href="http://beginnerlinuxtutorial.com/product.php?id=HostGator" target="_blank" rel="noopener"><img decoding="async" src="https://tracking.hostgator.com/img/Green/120x90.gif" alt="hostgator Linux web host" border="0" /></a></li>
<li><a title="Linux webhost bluehost" href="http://beginnerlinuxtutorial.com/product.php?id=BlueHost" target="_blank" rel="noopener">BlueHost</a><br />
<a title="Linux webhost bluehost" href="http://beginnerlinuxtutorial.com/product.php?id=BlueHost" target="_blank" rel="noopener"><img decoding="async" src="http://bluehost-cdn.com/media/partner/images/linuxhowto/120x120/bh-120x120-03-dy.png" alt="Linux webhost bluehost" border="0" /></a></li>
<li><a title="linux web hosting with host monster" href="http://beginnerlinuxtutorial.com/product.php?id=HostMonster" target="_blank" rel="noopener">HostMonster</a><br />
<a title="linux web hosting with host monster" href="http://beginnerlinuxtutorial.com/product.php?id=HostMonster" target="_blank" rel="noopener"><img decoding="async" src="http://hostmonster-cdn.com/media/partner/images/linuxhowto/120x90/hm-ppc-banners-dynamic-120x90.png" alt="Linux web hosting with host monster" border="0" /></a></li>
</ul><p>The post <a href="http://beginnerlinuxtutorial.com/linux-webhosting/linux-web-hosting-vs-windows-hosting-plan/">Linux Web Hosting Vs Windows Hosting Plan</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/linux-webhosting/linux-web-hosting-vs-windows-hosting-plan/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Linux grep Command</title>
		<link>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-grep-command/</link>
					<comments>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-grep-command/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Tue, 28 Jul 2009 18:34:25 +0000</pubDate>
				<category><![CDATA[Basic Linux Commands]]></category>
		<category><![CDATA[grep command]]></category>
		<category><![CDATA[grep extracting data examples]]></category>
		<category><![CDATA[grep quick reference guide]]></category>
		<category><![CDATA[grep syntax]]></category>
		<category><![CDATA[grep tutorial]]></category>
		<category><![CDATA[grep two different strings from one file in linux terminal]]></category>
		<category><![CDATA[linux examples grep command]]></category>
		<category><![CDATA[linux grep command]]></category>
		<category><![CDATA[linux grep tutorial]]></category>
		<category><![CDATA[unix grep]]></category>
		<category><![CDATA[unix grep command]]></category>
		<category><![CDATA[unix grep examples]]></category>
		<category><![CDATA[wildcard in grep]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=127</guid>

					<description><![CDATA[<p>The Linux grep command is used to extract lines of data from files or extract data from other Linux commands by using a pipe. When using the Linux grep command, there are many ways you can extract or print lines. You can use standard text to grep or you can use regex patterns. When using [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-grep-command/">Linux grep Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>The Linux <code>grep</code> command is used to extract lines of data from files or extract data from other Linux commands by using a pipe. When using the Linux <code>grep</code> command, there are many ways you can extract or print lines. You can use standard text to <code>grep</code> or you can use regex patterns. When using regex patterns you can use basic regular expression (BRE), extended regular expression (ERE), or even a Perl regular expression!</p>
<p>There are many different <code>grep</code> options you can use in the <code>grep</code> syntax. I myself only use a few options with <code>grep</code> on a regular basis. The basic <code>grep</code> syntax is <code>grep [options] [pattern] [file|files]</code>.</p>
<p><code>grep</code> quick reference guide:</p>
<p>You can use <code>grep -R</code>, <code>grep -r</code>, <code>grep --recursive</code>, which will allow you to have <code>grep</code> parse files recursivley into other directories.</p>
<p>If you are working with code, or just want the output lines to be numbered you can use <code>grep -n</code> or <code>grep --line-number</code>.</p>
<p>Another option I use on a daily basis with <code>grep</code> is <code>grep -i</code> or <code>grep --ignore-case</code>, which will ignore case on both the input file, and the pattern. by default <code>grep</code> is case sensitive, so you have to use this option if you do not want it case sensitive.</p>
<p>If you are wanting to extract multiple patterns from your file, you can use <code>grep -e</code> which can be used multiple times to extract multiple patterns from your file. So if you are wanting to <code>grep</code> two different strings from one file in Linux, you could do <code>grep -e firstpattern -e secondpattern /home/$USER/file.txt</code>.</p>
<p>Here are some <code>grep</code> examples of using the Linux <code>grep</code> command:</p>
<p>If I had a plain text file called <code>phone-book.txt</code>, that had phone numbers listed in this order: <code>First Name Last Name - Street Address - Phone Number</code><br />
Now I want to get Brandon Stimmel&#8217;s phone number. I could run <code>grep Brandon\ Stimmel phone-book.txt</code> and <code>grep</code> would print <code>Brandon Stimmel - 100101 Digital Ave. Tech, Ohio 44333 (330) 222-7222</code>. Notice I used <code>Brandon\ Stimmel</code>, I did this because you can not use a space on the command line, or it will be parsed as the next section of the command, which <code>grep Brandon Stimmel phone-book.txt</code> without the <code>\</code> would try to extract Brandon from the file Stimmel, which doesn&#8217;t exist. So remember to escape your spaces with a <code>\</code> if you are using them in your pattern/search string.</p>
<p>For another example, if I want to bring up who owns the phone number (330) 222-7222 as it showed up on my caller ID, but I forgot who&#8217;s phone number it was, I can do <code>grep \(330\)\ 222-7222 phone-book.txt</code> which would again display: <code>Brandon Stimmel - 100101 Digital Ave. Tech, Ohio 44333 (330) 222-7222</code>.</p>
<p>You can also <code>grep</code> for just the last name, say if you are having a family reunion and you want to bring up all of the people with the last name of Stimmel. <code> grep Stimmel phone-book.txt</code> this will bring up every person in <code>phone-book.txt</code> that has the last name of Stimmel.</p>
<p>You can also pipe data to <code>grep</code> or pipe data from <code>grep</code> to use it in a bash script. Say if you are wanting to do the above example that you found a phone number and forgot who&#8217;s it was, but you don&#8217;t want to show the entire line with name, address, and number, you just want the name and only the name. <code>grep \(330\)\ 222-7222 phone-book.txt|awk '{print $1" "$2}'</code> which will output <code>Brandon Stimmel</code>. The <code>grep</code> part of this code will output the full string, then we pass that data onto <code>awk</code> which we used it to print only the first and second fields.</p>
<p>Well that&#8217;s it for the <code>grep</code> tutorial, for now anyways. As always, thank you for reading our <a href="http://beginnerlinuxtutorial.com" title="Linux Tutorials">Linux Tutorials</a> and I hope you find these <a href="http://beginnerlinuxtutorial.com" title="Linux Tutorials">Linux Tutorials</a> very helpful! Remember to bookmark <a href="http://beginnerlinuxtutorial.com" title="Beginner Linux Tutorials">Beginner Linux Tutorial</a> so you can always come back and find more helpful <a href="http://beginnerlinuxtutorial.com" title="Linux Tutorials">Linux Tutorials</a>!</p><p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-grep-command/">Linux grep Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-grep-command/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Linux cat Command</title>
		<link>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-cat-command/</link>
					<comments>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-cat-command/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Fri, 13 Feb 2009 17:07:16 +0000</pubDate>
				<category><![CDATA[Basic Linux Commands]]></category>
		<category><![CDATA[cat linux]]></category>
		<category><![CDATA[linux cat]]></category>
		<category><![CDATA[linux cat command]]></category>
		<category><![CDATA[pipeline cat with other commands linux terminal]]></category>
		<category><![CDATA[unix command list file contents]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=119</guid>

					<description><![CDATA[<p>In this Linux tutorial you will learn how to use the Linux cat command. The Linux cat command is the Unix command to list a file&#8217;s contents onto your screen, or pass via pipeline to use with other Linux commands. The cat command comes from the word concatenate. The usage of the Linux cat command [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-cat-command/">Linux cat Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>In this Linux tutorial you will learn how to use the Linux <code>cat</code> command. The Linux <code>cat</code> command is the Unix command to list a file&#8217;s contents onto your screen, or pass via pipeline to use with other Linux commands. The <code>cat</code> command comes from the word concatenate.</p>
<p>The usage of the Linux <code>cat</code> command is <code>cat [options] [file]</code>.</p>
<p>There are quite a few options you can use with the Linux <code>cat</code> command, but I rarely use any of them on a regular basis. The only option I use with the <code>cat</code> command on a regular basis is <code>cat -n</code> or <code>cat --number</code>.</p>
<p>For an example of using the <code>cat</code> command, we&#8217;ll say I have a file named Linux-Friends.txt and in this text file I have some friend&#8217;s names, phone numbers, and e-mail addresses that run Linux. So now I want to get someone&#8217;s phone number from this list. I can run <code>cat Linux-Friends.txt</code> in a Linux terminal and I will get the contents of this file listed on my screen.</p>
<p>Now if I wanted to see how many friends I have listed in this file, I can have <code>cat</code> number the lines for me by using the <code>cat -n</code> option. So if I run <code>cat -n Linux-Friends.txt</code> the <code>cat</code> command will then output each of the Linux friend&#8217;s that I have listed and place a number in front of each one so I can see how many friends I have. Using <code>cat -n [file]</code> is also useful when doing some programming or coding, so you can see what line number you need to edit.</p>
<p>You can also pipe off of the Linux <code>cat</code> command to use it with other Linux commands. So for this example of the Linux <code>cat</code> command I want to only grab a certain person&#8217;s name from the list to display their contact information. So I can run <code>cat Linux-Friends.txt|</code><a title="linux grep command tutorial" href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-grep-command/"><code>grep</code></a><code> Brandon</code> and now I will only get Brandon&#8217;s contact information.</p>
<p>Another example of using the Linux <code>cat</code> command with other Linux commands via pipe is if I only want Brandon&#8217;s email address to display and not his phone number. The Linux-Friends.txt file is in this format: last name, first name &#8211; phone number &#8211; email address so I can use the Linux <code>cat</code> command with <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-grep-command/" title="Linux grep command"><code>grep</code></a> and also <code>awk</code> to display only what I want. So I can run <code>cat Linux-Friends.txt|</code><a title="Linux grep command tutorials" href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-grep-command/"><code>grep</code></a><code> Brandon|awk '{print $4" "$5}'</code> and now I have Brandon&#8217;s phone number.</p>
<p>For an explaination of the command above I will show each output as each command is ran.<br />
<code>cat Linux-Friends.txt</code><br />
&#8211;friend 1,2,3&#8211;<br />
Stimmel, Brandon &#8211; (330) 222-7222 &#8211; news@beginnerlinuxtutorial.com<br />
&#8211;friend 5,6,7&#8211;<br />
Now we add <code>|</code><a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-grep-command/" title="Linux grep tutorial"><code>grep</code></a><code> Brandon</code><br />
Stimmel, Brandon &#8211; (330) 222-7222 &#8211; news@beginnerlinuxtutorial.com<br />
and you see the other friends are now gone. Now we can add <code>|awk '{print $4" "$5}'</code> which will display the 4th and 5th column, and the &#8211; in that file counts as a column as well. The 4th column is (330) and the 5th column is 222-7222. So my output now would be: (330) 222-7222</p>
<p>I hope this has helped you learn how to use the Linux <code>cat</code> command in a Linux terminal and also using the <code>cat</code> command with other commands via pipeline. Remember to come back and visit <a title="Beginner Linux Tutorial" href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a> for all of your Linux questions and tutorials. If there is a Linux tutorial you&#8217;d like to see on <a title="Beginner Linux Tutorial" href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a> please let us know.</p><p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-cat-command/">Linux cat Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-cat-command/feed/</wfw:commentRss>
			<slash:comments>9</slash:comments>
		
		
			</item>
		<item>
		<title>How to Delete in Linux Terminal rm Command</title>
		<link>http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-delete-in-linux-terminal-rm-command/</link>
					<comments>http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-delete-in-linux-terminal-rm-command/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Mon, 24 Nov 2008 20:11:11 +0000</pubDate>
				<category><![CDATA[Basic Linux Commands]]></category>
		<category><![CDATA[how to delete in linux terminal]]></category>
		<category><![CDATA[how to remove a file with linux]]></category>
		<category><![CDATA[linux delete command]]></category>
		<category><![CDATA[linux delete file]]></category>
		<category><![CDATA[linux delete file command]]></category>
		<category><![CDATA[linux reference rm]]></category>
		<category><![CDATA[linux remove directories]]></category>
		<category><![CDATA[remove directory linux]]></category>
		<category><![CDATA[remove file found after grep in linux]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=116</guid>

					<description><![CDATA[<p>Many Linux users get confused when they are in a Linux terminal and trying to delete files of folders. So in this Linux tutorial, I will cover how to delete files in Linux terminal! The Linux delete command is another basic command that is used everyday while in a Linux terminal. There are only 2 [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-delete-in-linux-terminal-rm-command/">How to Delete in Linux Terminal rm Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignleft size-full wp-image-333" src="http://beginnerlinuxtutorial.com/wp-content/uploads/2014/05/Linux-Remove-Delete.jpg" alt="Linux Remove Delete" width="251" height="234" />Many Linux users get confused when they are in a Linux terminal and trying to delete files of folders. So in this Linux tutorial, I will cover how to delete files in Linux terminal! The Linux delete command is another basic command that is used everyday while in a Linux terminal. There are only 2 options that I use on a regular basis with the Linux <code>rm</code> command.</p>
<p>The usage of the Linux <code>rm</code> command is <code>rm [options] [file|dir]</code>. The 2 options I use most is <code>rm -r [dir]</code> and <code>rm -f [file]</code>. Now to explain these options for the Linux delete command and also give you some examples on how to remove a file with Linux.</p>
<p>The <code>rm -f [file]</code> option is if you are wanting to force a file to be removed. This will not ask you &#8220;are you sure you want to remove [file]&#8221;. It will just delete the file regardless. So use this option for the Linux <code>rm</code> command only if you know you want all of the file(s) deleted.</p>
<p>Now the <code>rm -r [dir]</code> option is if you are wanting to delete a directory in Linux. The <code>rm -r</code> option is to specify to remove recursively, meaning a directory and it&#8217;s contents.</p>
<p>You can use these 2 options for the Linux delete command together as well. You could use the command <code>rm -rf [dir]</code> to delete a directory forcefully and recursively. <strong>DO NOT</strong> be fooled into running <code>rm -rf /</code>, <code>rm -rf /*</code> as this will remove all of your files and folders. Some people may come off as they are trying to help you with Linux and be a dick and tell you to run <code>rm -rf /*</code> which you can then say bye bye to your files and folders.</p>
<p>You can also use <code>rm</code> in a script type command after a pipe <code>|</code> so you can delete filenames of the output. You can also use <code>rm</code> to remove files that are produced from another command or script. Here is an example of how to remove a file found after <a title="Linux grep tutorial" href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-grep-command/"><code>grep</code></a> in Linux. Say if you have a folder <code>/home/max/images/family</code> and in this directory you have 20 images that have the word copy in the title because you accidentally highlighted these 20 files, went to drag them into another folder in a GUI, and let go too early and created copies. So now you want to remove these copies, you would first <code>cd</code> to that directory <code>cd /home/max/images/family</code> now you can run <code>rm -f `ls | </code><a title="grep Linux tutorial" href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-grep-command/"><code>grep</code></a><code> copy`</code> which will remove all the files that <code>ls | </code><a title="grep Linux tutorials" href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-grep-command/"><code>grep</code></a><code> copy</code> matches. This same process could be done easier by running <code>rm -f *copy*</code> instead, but these are just examples.</p>
<p>I hope reading this Linux tutorial on the Linux <code>rm</code> command has taught you more than you already know and that you can continue reading through this Beginner Linux Tutorial website and learn even more about the Linux operating system! Have a great day and remember <strong>DO NOT</strong> run <code>rm -rf /*</code> or any variation of it. I will write a section on Beginner Linux Tutorial explaining more of the commands that can harm your system to watch out for when people are trying to help you with Linux so that you will not be a victim of this. If you are unsure if a command will harm your system, you can always do a quick reference check by searching the net for that command, or even looking at the man pages for that command to see what it is that command/options will do. You can read your manpages by typing <code>man [command]</code> like <code>man rm</code> will bring up the manual for the Linux <code>rm</code> command.</p><p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-delete-in-linux-terminal-rm-command/">How to Delete in Linux Terminal rm Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-delete-in-linux-terminal-rm-command/feed/</wfw:commentRss>
			<slash:comments>10</slash:comments>
		
		
			</item>
		<item>
		<title>How to Move Files in Linux mv Command</title>
		<link>http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-move-files-in-linux-mv-command/</link>
					<comments>http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-move-files-in-linux-mv-command/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Fri, 07 Nov 2008 08:52:22 +0000</pubDate>
				<category><![CDATA[Basic Linux Commands]]></category>
		<category><![CDATA[how to move files in linux]]></category>
		<category><![CDATA[linux find and move files]]></category>
		<category><![CDATA[linux find to move files]]></category>
		<category><![CDATA[linux move files with special characters]]></category>
		<category><![CDATA[linux using find to move files]]></category>
		<category><![CDATA[move accounts to new linux server]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=109</guid>

					<description><![CDATA[<p>If you are wanting to know how to move files in Linux, you will need to use the Linux mv command. There are a few different options you can use with the Linux mv command, but I normally don&#8217;t use them. I do use the Linux mv command along with other commands to accomplish some [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-move-files-in-linux-mv-command/">How to Move Files in Linux mv Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>If you are wanting to know how to move files in Linux, you will need to use the Linux <code>mv</code> command. There are a few different options you can use with the Linux <code>mv</code> command, but I normally don&#8217;t use them. I do use the Linux <code>mv</code> command along with other commands to accomplish some tasks though. If you wanted to get information on the other options for the Linux <code>mv</code> command, remember you can always run <code>man mv</code> in a bash shell prompt.</p>
<p>The usage of the Linux <code>mv</code> command to move files around on your file system is much like the Linux <code>cp</code> command, but the source will no longer exist. To use the <code>mv</code> command in Linux shell, just run <code>mv [source] [destination]</code>.</p>
<p>So for example I am making a new account on another Linux computer. I want to move my home directory to the new Linux computer. So first I setup nfs and <code>mount</code> my new Linux computer&#8217;s <code>/home</code> directory on my old Linux computer. Now I will run <code>mv /home/max /mnt/home/</code> so all of my files move to my new Linux computer. This is just an example as I would most likely use <code>rsync</code> Linux command to do this. Which I will go over in another Linux tutorial.</p>
<p>I have also seen a few Linux beginners having trouble moving files in Linux that have special characters in them. So to move files with special characters in Linux you will simple escape the characters that hold special meanings, like a space, (, or ). So for example I have a file named <code>DSC06540 (New LCD TV).JPG</code> this is an ugly filename but to move this file from my compact flash drive on my camera to my <code>/home/max/images/electronics</code> directory, I would simple escape all the special characters with a <code>\</code> like this <code>mv /media/CF/DSC06540\ \(New\ LCD\ TV\).JPG /home/max/images/electronics/</code></p>
<p>Another command I use quite often with the <code>mv</code> shell command is <code>find</code>. I can have <code>find</code> search for files on my computer and move the files to a new location. To do this there are 2 methods you can use, one method of using Linux <code>find</code> to move files is a small script, for example if I want to move all my php files to <code>/home/max/htdocs/</code> I would run this: <code>for i in `find *php`; do mv $i /home/max/htdocs; done</code>.</p>
<p>Method 2 that uses Linux <code>find</code> command to move files in Linux is using the <code>-exec</code> option of <code>find</code> to execute <code>mv</code>. This command was brought to my attention a few days ago by another Linux user, and it is much faster than my method. Using the same example to move my php files, but using this method, you will run: <code>find *php -exec mv {} /home/max/htdocs \;</code> which is a lot less to type!</p>
<p>You can also change your <code>find</code> options any way you prefer to search your hard drive for the files you are looking for. Which I will go over in another Linux tutorial.</p>
<p>As you can see it isn&#8217;t hard at all to move files and folders in Linux shell prompt at all. As always I hope this Linux tutorial for beginners has helped you learn more about the Linux <code>mv</code> command. I hope you come back and find more help on Beginner Linux Tutorial.</p><p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-move-files-in-linux-mv-command/">How to Move Files in Linux mv Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/basic-linux-commands/how-to-move-files-in-linux-mv-command/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>cp Linux Copy Command</title>
		<link>http://beginnerlinuxtutorial.com/basic-linux-commands/cp-linux-copy-command/</link>
					<comments>http://beginnerlinuxtutorial.com/basic-linux-commands/cp-linux-copy-command/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Wed, 05 Nov 2008 09:40:59 +0000</pubDate>
				<category><![CDATA[Basic Linux Commands]]></category>
		<category><![CDATA[copy files in linux]]></category>
		<category><![CDATA[how to cp files into default directory in linux]]></category>
		<category><![CDATA[linux copy]]></category>
		<category><![CDATA[linux copy command]]></category>
		<category><![CDATA[linux copy hidden files]]></category>
		<category><![CDATA[linux cp]]></category>
		<category><![CDATA[unix cp command]]></category>
		<category><![CDATA[unix cp command examples]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=89</guid>

					<description><![CDATA[<p>The Linux copy command is cp! Pretty simple right? There are many ways to use the Linux cp command. There are also many options for the cp command, but I usually only use 2 of them daily. The other options for Unix cp command I hardly use because there are other commands or programs in [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/cp-linux-copy-command/">cp Linux Copy Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>The Linux copy command is <code>cp</code>! Pretty simple right? There are many ways to use the Linux <code>cp</code> command. There are also many options for the <code>cp</code> command, but I usually only use 2 of them daily. The other options for Unix <code>cp</code> command I hardly use because there are other commands or programs in Linux that do a much better job for accomplishing the same tasks. So for the other options for the Linux copy command, I will not cover them in this tutorial. If there is some specific <code>cp</code> command usage or syntax you want to know, please let me know and I will add it to this Linux tutorial.</p>
<p>The 2 options for the Linux <code>cp</code> command that I will cover is how to copy file recursively and also how to copy files in Linux only if the source file is newer than the destination file.</p>
<p>First the syntax for using the Linux <code>cp</code> command is <code>cp  [options] [source] [destination]</code>, where <code>[source]</code> or <code>[destination]</code> may be a file or a directory.</p>
<p>The main option for the Linux <code>cp</code> command that I use is coping a directory recursively. To do this you would use <code>cp -R [source] [destination]</code>, <code>cp -r [source] [destination]</code>, or <code>cp --recursive [source] [destination]</code>. I usually am lazy and just use the shortest easiest keystroke, <code>cp -r [source] [destination]</code>.</p>
<p>Coping a directory recursively means copying the entire folder, including it&#8217;s contents. For example if I was wanting to copy the directory <code>/home/max/images/family/</code> and all of the directories and files inside of it to <code>/media/backup_drive/</code>, I would run <code>cp -r /home/max/images/family /media/backup_drive/</code></p>
<p>Now if I was not wanting to copy the entire directory and just wanted only the *.jpg files, I would not need the <code>-r</code> option. I would simply run <code>cp /home/max/images/family/*.jpg /media/backup_drive/family/jpeg_files/</code> which <code>*</code> is a wildcard, so anything.jpg will be copied. Yes, that is a bad example as that is a very ugly directory structure, but again it is about 4:30am and I should really be sleeping!</p>
<p>There are much better ways to backup your data in Linux than using the <code>cp</code> command, that is the only example I could come up with at the moment. In another Linux tutorial I will cover how to backup your files in Linux using a lot more efficient methods.</p>
<p>The next option that I use from time to time on the Unix <code>cp</code> command is <code>cp -u [source] [destination]</code> or <code>cp --update [source] [destination]</code> which will only copy files if the source files are newer than the destination files, or if the destination files do not exist.</p>
<p>For an example of the Linux <code>cp -u</code> command I am wanting to copy files from my website and back them up, but I only want to copy the files that are newer, to save CPU usage and drive writes, no use in overwriting files that are the same or older right? So I will run <code>cp -u /home/max/htdocs/* /media/backup_drive/htdocs/</code></p>
<p>If you are wanting to copy hidden files and folders in Linux using the <code>cp</code> command, the first thing people will think of is <code>cp -r .* /media/backup_drive/max/hidden_config_files/</code> but this will actually match <code>./</code> and <code>../</code> as well, which will copy all files in the current working directory, and also copy all the files from the parent directory. So to copy only hidden files in Linux, you would want to run <code>cp -r .[a-z,A-Z,0-9]* /media/backup_drive/max/hidden_config_files/</code> this way it will only match files that start with a . and the next character is a-z, A-Z, or 0-9 and everything after that being a wildcard.</p>
<p>I hope this Linux tutorial on the Linux <code>cp</code> command for beginners has helped you understand how to use the Unix <code>cp</code> command while in the Linux Command Line Interface.</p><p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/cp-linux-copy-command/">cp Linux Copy Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/basic-linux-commands/cp-linux-copy-command/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Change Directory using cd Linux Command</title>
		<link>http://beginnerlinuxtutorial.com/basic-linux-commands/change-directory-using-cd-linux-command/</link>
					<comments>http://beginnerlinuxtutorial.com/basic-linux-commands/change-directory-using-cd-linux-command/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Thu, 30 Oct 2008 08:40:48 +0000</pubDate>
				<category><![CDATA[Basic Linux Commands]]></category>
		<category><![CDATA[cd shell command]]></category>
		<category><![CDATA[change directory cd]]></category>
		<category><![CDATA[change directory command prompt]]></category>
		<category><![CDATA[change directory linux]]></category>
		<category><![CDATA[change directory with space shell]]></category>
		<category><![CDATA[change working directory]]></category>
		<category><![CDATA[how to change directories in the command prompt]]></category>
		<category><![CDATA[linux cd command]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=82</guid>

					<description><![CDATA[<p>In this Linux tutorial for beginners, you will learn how to change directories in Linux using the cd command. The Linux cd command is very easy to use. There are a couple options you can use with the cd command, but I won&#8217;t cover them as I hardly ever use them. I will show you [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/change-directory-using-cd-linux-command/">Change Directory using cd Linux Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>In this Linux tutorial for beginners, you will learn how to change directories in Linux using the <code>cd</code> command. The Linux <code>cd</code> command is very easy to use. There are a couple options you can use with the <code>cd</code> command, but I won&#8217;t cover them as I hardly ever use them. I will show you how to use some common variables with the Linux <code>cd</code> command though.</p>
<p>When using the Linux <code>cd</code> command to change directory, the syntax of the Unix <code>cd</code> command is <code>cd [directory]</code>. Pretty easy to remember right? So if you are wanting to change your current working directory to your home directory, you can run <code>cd /home/max</code> as max is my username. With the <code>cd</code> command if you do not specify any directory it will automatically change directory to your home, so just running <code>cd</code> in the Linux shell will take you to your home directory as well. Another way to get to your home directory in Linux is using the home variable <code>$HOME</code>. So if you type <code>cd $HOME</code> you will be taken to your user&#8217;s home directory as well.</p>
<p>You can also use the <code>$HOME</code> variable as part of a path. Say if you wanted to change directory to <code>/home/max/images/family</code> you could run <code>cd $HOME/images/family</code> which will take you to <code>/home/max/images/family</code> but of course your <code>$HOME</code> not mine!</p>
<p>Some other common uses of the Linux <code>cd</code> command is to change directory to the parent directory. To do this you could use <code>cd ../</code> which will change directory to the parent directory of the active directory you are already in. You can also use <code>../</code> as part of your path, so say my current working directory is <code>/home/max/images/family</code> and I want to change directory to <code>/home/max/images/friends</code> you have 2 options. You can run the <code>cd</code> command with the full path: <code>cd /home/max/images/friends</code> or your other option is to use the <code>../</code> parent directory as part of your path like this: <code>cd ../friends/</code> since I was already in <code>/home/max/images/family</code> the parent directory is <code>/home/max/images/</code></p>
<p>One more common thing I see some people asking is how to change to a directory with a space in the shell. When you are in the command line interface a space is a special character so you will have to escape it using a backslash <code>\</code> I usually try not to make any filenames or directory names with any special characters in them, but if you do have a directory named say <code>Linux Stuff</code> you would use <code>cd Linux\ Stuff</code> to change directories.</p>
<p>You can also use the <code>cd</code> shell command to change directory as part of a script. For example if I was wanting to make a script that would change directory to <code>/usr/local/games/quake3</code> and then run <code>./quake3</code> since the quake3 game needs your shell to be in <code>/usr/local/games/quake3</code> as the working directory for the game to run properly, you could run <code>cd /usr/local/games/quake3 && ./quake3</code> which you can save to a file in <code>/usr/bin/quake3</code> so when you run <code>quake3</code> the shell script will <code>cd /usr/local/games/quake3</code> and if that runs with no errors the shell script will then also run <code>./quake3</code></p>
<p>At the moment I am pretty tired, so the quake3 game was the only thing I could think of off the top of my head that you would want to script the Linux <code>cd</code> command.</p>
<p>I hope this <code>cd</code> Linux tutorial for beginners has helped you learn more about the Linux shell command <code>cd</code> so you can change directories easily using the Linux shell. Remember to come back and visit Beginner Linux Tutorial for more Linux tutorials for beginners as this site will always be adding more Linux tutorials.</p><p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/change-directory-using-cd-linux-command/">Change Directory using cd Linux Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/basic-linux-commands/change-directory-using-cd-linux-command/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>mkdir How to Create a Directory in Linux</title>
		<link>http://beginnerlinuxtutorial.com/basic-linux-commands/mkdir-how-to-create-a-directory-in-linux/</link>
					<comments>http://beginnerlinuxtutorial.com/basic-linux-commands/mkdir-how-to-create-a-directory-in-linux/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Fri, 24 Oct 2008 21:06:53 +0000</pubDate>
				<category><![CDATA[Basic Linux Commands]]></category>
		<category><![CDATA[how to create a directory in linux]]></category>
		<category><![CDATA[linux make directories a through z]]></category>
		<category><![CDATA[linux mkdir command]]></category>
		<category><![CDATA[make directory linux]]></category>
		<category><![CDATA[mkdir make directory]]></category>
		<category><![CDATA[mkdir shell command]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=71</guid>

					<description><![CDATA[<p>For those of you wanting to know how to create a directory in Linux using the command line interface or Linux shell, you will want to read this Linux beginner tutorial on how to use the Linux mkdir command. The Linux command mkdir is used to make directories in Linux. There aren&#8217;t many options I [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/mkdir-how-to-create-a-directory-in-linux/">mkdir How to Create a Directory in Linux</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>For those of you wanting to know how to create a directory in Linux using the command line interface or Linux shell, you will want to read this Linux beginner tutorial on how to use the Linux <code>mkdir</code> command. The Linux command <code>mkdir</code> is used to make directories in Linux. There aren&#8217;t many options I use with this Linux command either. There is only 1 option I use with the <code>mkdir</code> command on a regular basis.</p>
<p>The usage for <code>mkdir</code> is very simple <code>mkdir [options] [directory]</code>.</p>
<p>Just remember when running <code>mkdir</code> that you are creating directories from the current working directory, unless you specify another path. So if I am in <code>/home/max/</code> and I want to make a directory called <code>images</code> I would run <code>mkdir images</code> which will create the directory <code>images</code> in <code>/home/max/</code> so now my complete path for <code>images</code> is <code>/home/max/images/</code>. Now if I was in <code>/home/max/files/</code> and still wanted to create <code>/home/max/images/</code> I could run <code>mkdir ../images</code> which <code>../</code> is your parent directory. I could also type in the full path on the command line by running <code>mkdir /home/max/images</code> to get the same results.</p>
<p>The option I use on a regular basis for the <code>mkdir</code> command is <code>mkdir -p</code> which will allow you to create parent directories if they don&#8217;t already exist. For example if <code>/home/max/images/</code> didn&#8217;t already exist and I wanted to make a directory <code>/home/max/images/family</code> I could either make each directory individually by running <code>mkdir /home/max/images</code> then run <code>mkdir /home/max/images/family</code>. I could also script this slightly all in one command line, yet 2 separate commands by running <code>mkdir /home/max/images &amp;&amp; /home/max/images/family</code>. So either way still having to type out many commands. Now instead of typing all the extras, i could simply run 1 <code>mkdir</code> command to create the parent directories as well using the <code>mkdir -p</code> option. Which I would then run <code>mkdir -p /home/max/images/family</code> and this will create <code>/home/max/images</code> and also <code>/home/max/images/family</code> as well!</p>
<p>I&#8217;ve also seen a lot of people asking how to make directories a through z with Linux? Well my first thought was to try <code>mkdir [a-z]</code>, but unfortunately this will just create a directory named <code>[a-z]</code>. So in Linux to make directories a through z you have to make a small script type command. Here is the command you can run to create directories a through z, if you are wanting to organize mp3s for example: <code>perl -e 'for (a..z) {system("mkdir $_")};'</code></p>
<p><strong>SHELL NOTE</strong>: For anyone wondering in the example command line where I used <code>mkdir /home/max/images &amp;&amp; /home/max/images/family</code> what the <code>&amp;&amp;</code> does, the <code>&amp;&amp;</code> on a command line separates shell commands and only runs the next shell command if the first Linux shell command ran successfully without any errors. So if for some reason <code>mkdir /home/max/images</code> failed, the shell would not run the next shell command <code>mkdir /home/max/images/family</code>.</p>
<p>As always thank you for reading this information on the Linux <code>mkdir</code> command for creating new folders and directories in Linux via the command line interface. If you have any friends you would like to teach how to run Linux, send them here to the beginner linux tutorial, where we will hopefully turn them into advanced Linux users or at least Linux users so they can get rid of that evil <span style="text-decoration: line-through;">Microsoft</span> product they call an operating system!</p><p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/mkdir-how-to-create-a-directory-in-linux/">mkdir How to Create a Directory in Linux</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/basic-linux-commands/mkdir-how-to-create-a-directory-in-linux/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
			</item>
		<item>
		<title>Linux File Info Command</title>
		<link>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-file-info-command/</link>
					<comments>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-file-info-command/#comments</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Thu, 23 Oct 2008 07:54:36 +0000</pubDate>
				<category><![CDATA[Basic Linux Commands]]></category>
		<category><![CDATA[check file type linux]]></category>
		<category><![CDATA[determine file type]]></category>
		<category><![CDATA[filetype of a file]]></category>
		<category><![CDATA[get filetype]]></category>
		<category><![CDATA[linux file command]]></category>
		<category><![CDATA[linux file info command]]></category>
		<category><![CDATA[linux filetype]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=59</guid>

					<description><![CDATA[<p>The Linux file command is a pretty basic command in Linux that will output the file type information onto your screen. There are quite a few options for the Linux file info command, but I only use maybe 2 of the options on a regular basis. With Microsoft Windows it will always think that the [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-file-info-command/">Linux File Info Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>The Linux <code>file</code> command is a pretty basic command in Linux that will output the file type information onto your screen. There are quite a few options for the Linux <code>file</code> info command, but I only use maybe 2 of the options on a regular basis. With <span style="text-decoration: line-through;">Microsoft Windows</span> it will always think that the extension of he file determines the file type. If you have a file named <code>filename.txt</code> <span style="text-decoration: line-through;">Windows</span> will automatically think this file type is a text file, when it could actually be a pdf file with a bad extension on it! Now Linux on the other hand, if you come across a file that has a bad extension on it, you can run <code>file filename.txt</code> and it will output: <code>filename.txt: PDF document, version 1.4</code> or whatever version of the pdf format it actually is.</p>
<p>The main options of the <code>file</code> command that I use is <code>file -f [filename]</code>, where <code>[filename]</code> would be a standard text file with a list of files you want to have checked. If using this option you will want <code>[filename]</code> to have 1 filename per line.</p>
<p>The other option I use often isn&#8217;t really an option on the <code>file</code> command, but is a short script. You can run <code>file `ls`</code> and it will output the file types of all of the files that the <a title="linux ls command" href="http://beginnerlinuxtutorial.com/basic-linux-commands/list-files-and-folders-with-linux-ls-command/"><code>ls</code></a> command outputs normally, which will be all of the files listed in your current working directory.</p>
<p>I hope this Linux tutorial for beginners has helped you learn more about the Linux <code>file</code> type information command. As always if you have any questions or comments on this Linux tutorial you can leave them below, or you can use our <a title="linux tutorial forums" href="http://forum.beginnerlinuxtutorial.com">Linux forum</a>.</p><p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/linux-file-info-command/">Linux File Info Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/basic-linux-commands/linux-file-info-command/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>List Files and Folders with Linux ls Command</title>
		<link>http://beginnerlinuxtutorial.com/basic-linux-commands/list-files-and-folders-with-linux-ls-command/</link>
					<comments>http://beginnerlinuxtutorial.com/basic-linux-commands/list-files-and-folders-with-linux-ls-command/#respond</comments>
		
		<dc:creator><![CDATA[Beginner Linux Tutorial]]></dc:creator>
		<pubDate>Sun, 19 Oct 2008 05:06:18 +0000</pubDate>
				<category><![CDATA[Basic Linux Commands]]></category>
		<category><![CDATA[five options for the ls command]]></category>
		<category><![CDATA[linux ls]]></category>
		<category><![CDATA[linux ls command]]></category>
		<category><![CDATA[list all files in a folder]]></category>
		<category><![CDATA[list files and folders]]></category>
		<category><![CDATA[ls command]]></category>
		<category><![CDATA[unix ls command]]></category>
		<guid isPermaLink="false">http://beginnerlinuxtutorial.com/?p=33</guid>

					<description><![CDATA[<p>The Linux ls command is used to list files and folders in a directory. There are tons of options to use on the ls command. I will not cover every single option that you can use with the linux ls command. I will cover the most common options for the ls command. If you don&#8217;t [&#8230;]</p>
<p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/list-files-and-folders-with-linux-ls-command/">List Files and Folders with Linux ls Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>The Linux <code>ls</code> command is used to list files and folders in a directory. There are tons of options to use on the ls command. I will not cover every single option that you can use with the linux <code>ls</code> command. I will cover the most common options for the <code>ls</code> command. If you don&#8217;t find what you are looking for in this Linux tutorial then I would recommend running man ls and reading the man pages for the ls command.</p>
<p>The usage for the Linux <code>ls</code> command is: <code>ls [options] [file|directory]</code></p>
<p>You can use the <code>ls</code> command without any options or as many options as you like.</p>
<p>If you just run ls with no options it will output the list of files in the current working directory in alphabetical order. So if you are in <code>$HOME</code> (which is the system variable for your home directory ( <code>/home/username</code> ). This will also not output any <code>.*</code> files or directories ( files or directories that start with <code>.</code> as they are hidden files|directories ).</p>
<p>Now if you want to list all files and folders in a directory you can use <code>ls -a</code> or <code>--all</code> option. This option will output all files and folders including the files and folders that match <code>.*</code> ( your hidden files and folders ). You can also use <code>ls -A</code> or <code>ls --almost-all</code> which will output all files|directories except for <code>./</code> and <code>../</code> ( which <code>./</code> is current working directory, <code>../</code> is your parent directory ).</p>
<p>Another common option for <code>ls</code> is using <code>ls -b</code> or <code>ls --escape</code> which will escape any special characters like spaces. This is more useful if you can not figure out which characters need escaped or if you are writing a script that needs the characters escaped.</p>
<p><code>ls -l</code> will output the files and directories in long list format. Which means <code>ls -l</code> will output your file and directory permissions, hardlinks or entries, user, group, size (in bytes), month, date, time, filename|directory name.</p>
<p><code>ls -h</code> will display the output sizes in human readable form, the highest available measurement. ( 1K 1M 1G.. etc ). This option has to be used with an option that outputs size as well. So either <code>ls -s</code> or <code>ls -l</code> but you would combine the options, <code>ls -lh</code> or <code>ls -sh</code> will work.</p>
<p>You can combine a number of options for <code>ls</code> to get the results you want, <code>ls -lha</code> will display the output of all files and directories in long list format with the sizes being human readable aka the highest measurement available.</p>
<p>You can also pass the output onto other commands using a pipe <code>|</code> so that you can alter the results more to specific needs. For example if you want to just see the sizes of files, and not filename or directory names: <code>ls -sh | awk '{print $1}'</code> will do this for you. If you wanted to display just the permissions of the files and directories, you could use <code>ls -l | awk '{print $1}'</code> which will give you those results. If you want more information on scripting like this I will be covering this in another section.</p>
<p>I hope this beginner Linux tutorial on the Linux <code>ls</code> command has helped you accomplish what you need and also give you a better understanding on how the <code>ls</code> command works. Continue reading through the beginner Linux tutorial website for more Linux tutorials!</p><p>The post <a href="http://beginnerlinuxtutorial.com/basic-linux-commands/list-files-and-folders-with-linux-ls-command/">List Files and Folders with Linux ls Command</a> first appeared on <a href="http://beginnerlinuxtutorial.com">Beginner Linux Tutorial</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>http://beginnerlinuxtutorial.com/basic-linux-commands/list-files-and-folders-with-linux-ls-command/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
