<?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>pc-level.com &#187; Linux</title>
	<atom:link href="http://pc-level.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://pc-level.com</link>
	<description>Hardware and Software information</description>
	<lastBuildDate>Tue, 31 Aug 2010 18:53:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to view hidden files in Ubuntu</title>
		<link>http://pc-level.com/2009/08/how-to-view-hidden-files-in-ubuntu/</link>
		<comments>http://pc-level.com/2009/08/how-to-view-hidden-files-in-ubuntu/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 18:53:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://pc-level.com/?p=1341</guid>
		<description><![CDATA[This short guide will show you how to view hidden files in the Ubuntu file brouser. It is even easier than Windows. You have two options:
1. Press Ctrl + H and you will see the hidden files immediately. It is very useful short cut key but remember that when you restart your file browser all [...]]]></description>
			<content:encoded><![CDATA[<p>This short guide will show you how to view hidden files in the Ubuntu file brouser. It is even easier than Windows. You have two options:</p>
<p>1. Press <strong>Ctrl + H</strong> and you will see the hidden files immediately. It is very useful short cut key but remember that when you restart your file browser all hidden files will disappear again.<span id="more-1341"></span></p>
<p>2. If you want to make them visible by deffault, click <strong>Edit</strong> from your file browser toolbar and select<strong> Preferences</strong>. Then in the new window check the option <strong>Show hidden and backup files</strong>.</p>
<p><a href="http://pc-level.com/wp-content/uploads/2009/08/hidden-files.png" rel="shadowbox[post-1341];player=img;"><img class="aligncenter size-medium wp-image-1343" title="hidden-files" src="http://pc-level.com/wp-content/uploads/2009/08/hidden-files-239x300.png" alt="hidden-files" width="239" height="300" /></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://pc-level.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://pc-level.com/2009/08/how-to-view-hidden-files-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The directory tree in Ubuntu</title>
		<link>http://pc-level.com/2009/07/the-directory-tree-in-ubuntu/</link>
		<comments>http://pc-level.com/2009/07/the-directory-tree-in-ubuntu/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 16:37:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://pc-level.com/?p=1314</guid>
		<description><![CDATA[The directory tree is the hierarchal structure that organizes directories and files in a Unix-based system. In the Unix directory tree, the top order of the hierarchy is the root directory. A good understanding of the Ubuntu directory tree will make your work with linux easier. Below, you will find each of the directories under [...]]]></description>
			<content:encoded><![CDATA[<p>The directory tree is the hierarchal structure that organizes directories and files in a Unix-based system. In the Unix directory tree, the top order of the hierarchy is the root directory. A good understanding of the Ubuntu directory tree will make your work with linux easier. Below, you will find each of the directories under the root directory, along with some of the important files and subdirectories they contain. Understanding which directories are home to certain files is essential to your exploration and mastery of the shell.<span id="more-1314"></span></p>
<p><strong>/bin -</strong> The bin directory contains the commands and utilities that are used most commonly in GNU/Linux like ls, cd, and rm. Since these are executable binary files, the directory is named bin for short.</p>
<p><strong>/boot &#8211; </strong> The boot directory contains the Linux kernel, the bootloader configuration files, and all other files that the system needs in order to start up, or boot.</p>
<p><strong>/dev</strong> -  This is where all of the device files for the system are stored. This directory is rather unique since the files are actually the hardware devices themselves and are treated just like files in that you can read and write them. The label /dev/sda (or /dev/hda) refers to the computer’s first hard drive. SCSI drives are labeled sda, while IDE drives are hda.</p>
<p><strong>/etc &#8211; </strong> Pronounced “et-see,” this directory is home to all of the system-global configuration files for all system users. For example, /etc/passwd contains information that defines all of the user accounts, while /etc/init.d is home to the scripts that run when Ubuntu is booting up.</p>
<p><strong>/home &#8211; </strong> Home is where the files are—the user’s files, that is. This is where documents, music, pictures, videos, and so on, are stored for the individual user. Its size depends on how many users will be using the system and what files are to be stored in their directories. Each user on a computer has his or her directory under /home.</p>
<p><strong>/lib &#8211; </strong> Shared libraries and kernel modules are stored in this directory. The files here are similar to DLL files in Microsoft Windows.</p>
<p><strong>/media &#8211; </strong> The media directory serves as the mount point for all external devices like CDs or DVDs. Devices mounted to the media directory are done automatically.</p>
<p><strong>/mnt</strong> -  The mnt directory is home to temporarily mounted devices like a network shared folder. Mounts to the mnt directory are done manually as opposed to automatically as with the media directory.</p>
<p><strong>/opt -</strong> The opt directory is used to store software that is not managed by the package manager. These are generally add-on software packages that the user downloads outside of the Ubuntu repositories.</p>
<p><strong>/proc -</strong> The proc directory is actually a virtual directory that provides a means for the kernel to communicate with the processes running on the computer. Each process that is running is assigned a numbered entry, which we will learn more about shortly.</p>
<p><strong>/sbin</strong> -  This directory contains files and commands like the bin directory does; however, the programs housed in sbin are only used in system administration tasks and require superuser privileges to run them. When you run something using the sudo command, odds are it comes from this directory.</p>
<p><strong>/srv</strong> -  This directory is home to the data files used to run services like HTTP, FTP, or TELNET.</p>
<p><strong>/sys &#8211; </strong>This is another virtual file system that was added for plug-and-play devices. It contains files showing the resources that are allocated to each device on the system.</p>
<p><strong>/tmp</strong> -  The tmp directory stores temporary files. Nothing more, nothing less. Some applications — including archive manipulators, CD/DVD authoring tools, and multimedia software — may use <code class="filename">/tmp</code> to temporarily store image files.</p>
<p><strong>/usr</strong> -  This is the directory that stores everything for the user’s applications such as dictionaries for spell checkers, documentation, and source code files. Subdirectories such as /usr/bin and /usr/lib contain all user programs, libraries and documentation.</p>
<p><strong>/var &#8211; </strong> Files that change while the system is running are stored here. Log files, print spools, cache files, and anything else that would be considered a dynamic file would be found in the var directory. The size of this directory depends greatly on the usage of your system.</p>
<p><strong>Note:</strong> There is a difference between the root directory, which is /, and a /root Note subdirectory. The / directory is the directory where everything branches out from. This is what we consider root. The /root subdirectory is the home folder for the root user.</p>
<p>Unless you are doing some configuring actions on your computer, you may never have to go into some of these directories; however, it is good to know what they are used for so that you don’t accidentally do anything to them or the files they contain while you are working in the shell.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://pc-level.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://pc-level.com/2009/07/the-directory-tree-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to view CHM files in Ubuntu</title>
		<link>http://pc-level.com/2009/07/how-to-view-chm-files-in-ubuntu/</link>
		<comments>http://pc-level.com/2009/07/how-to-view-chm-files-in-ubuntu/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 10:35:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://pc-level.com/?p=1305</guid>
		<description><![CDATA[If you often like to download e-books from the Internet , then you probably know that the most used format for their distribution is PDF or CHM. In Ubuntu you can easily open any PDF file, but if you try to open a CHM file, it is possible to receive an error saying: There is [...]]]></description>
			<content:encoded><![CDATA[<p>If you often like to download e-books from the Internet , then you probably know that the most used format for their distribution is PDF or CHM. In Ubuntu you can easily open any PDF file, but if you try to open a CHM file, it is possible to receive an error saying: <em>There is no application installed for this file type</em> .<span id="more-1305"></span></p>
<p><a href="http://pc-level.com/wp-content/uploads/2009/07/error.jpg" rel="shadowbox[post-1305];player=img;"><img class="aligncenter size-medium wp-image-1309" title="error" src="http://pc-level.com/wp-content/uploads/2009/07/error-300x138.jpg" alt="error" width="300" height="138" /></a></p>
<p>That&#8217;s because Ubuntu comes without integrated support for CHM files since CHM is a proprietary format used by Microsoft. However, this can be fixed easily by installing  third party tools like GnoCHM.</p>
<p>GnoCHM enables you to view files encoded in the MS ITSS format. These files are most commonly known as Microsoft Html Help files, and usually have a .chm extension.</p>
<p>GnoCHM has the following features:</p>
<ul>
<li>Full text search &#8211; it is possible to quickly search for words in the CHM archive.</li>
<li>Bookmarks &#8211; you can save your favorite pages in each file and easily jump to them later.</li>
<li>It supports external CHM links &#8211; some CHM files contain hyperlinks to other CHM files. GnoCHM is able to search a list of directories in order to automatically find these targets.</li>
<li>Configurable support for HTTP links. Some of the links in a CHM file are to web sites. GnoCHM can be configured to open a web browser when one of these links is clicked.</li>
<li>Gnome2 integration. GnoCHM supports internationalisation,Drag-n-Drop, On-line help, applications registry, mime database and standard gnome command line parameters (where supported by PyGTK).</li>
<li>You can view multiple files at the same time without having to start new instances of GnoCHM.</li>
<li>It is possible to display the HTML source of the current displayed page.</li>
</ul>
<p>To install GnoCHM go to <strong>Applications &gt; Add/Remove&#8230;.</strong> and type <strong>gnochm</strong> in the search box. Then select it from the list below and click <strong>Apply changes</strong>. Now in the following window click <strong>Apply</strong> again to confirm the installation.</p>
<p><a href="http://pc-level.com/wp-content/uploads/2009/07/chm-viewer-installation.jpg" rel="shadowbox[post-1305];player=img;"><img class="aligncenter size-medium wp-image-1310" title="chm-viewer-installation" src="http://pc-level.com/wp-content/uploads/2009/07/chm-viewer-installation-300x229.jpg" alt="chm-viewer-installation" width="300" height="229" /></a></p>
<p><a href="http://pc-level.com/wp-content/uploads/2009/07/chm-viewer-installation-2.jpg" rel="shadowbox[post-1305];player=img;"><img class="aligncenter size-medium wp-image-1311" title="chm-viewer-installation-2" src="http://pc-level.com/wp-content/uploads/2009/07/chm-viewer-installation-2-300x232.jpg" alt="chm-viewer-installation-2" width="300" height="232" /></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://pc-level.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://pc-level.com/2009/07/how-to-view-chm-files-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing and Running Programs with Wine</title>
		<link>http://pc-level.com/2009/07/installing-and-running-programs-with-wine/</link>
		<comments>http://pc-level.com/2009/07/installing-and-running-programs-with-wine/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 21:20:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://pc-level.com/?p=1292</guid>
		<description><![CDATA[In this post I wil try to show you how to install and run Windows programs with Wine, installed on Ubuntu 8.04 .
Wine is an application that allows computers using Unix-based operating systems to run Windows applications, not emulate them. The way this works is that Wine is an implementation of the Windows application programming [...]]]></description>
			<content:encoded><![CDATA[<p>In this post I wil try to show you how to install and run Windows programs with Wine, installed on Ubuntu 8.04 .</p>
<p>Wine is an application that allows computers using Unix-based operating systems to run Windows applications, not emulate them. The way this works is that Wine is an implementation of the Windows application programming interface (API). An application programming interface is actually the interface that allows one program, let’s say Microsoft Word, to communicate with another program, Microsoft Windows.<span id="more-1292"></span> When applications written for Microsoft Windows utilize a format that GNU/Linux operating systems can’t understand, it is due to the API. In other words when you start a Windows application Wine takes its instructions and modifies them into something that Ubuntu will understand. But let&#8217;s see how it works.</p>
<p>Firt of all you need to install Wine, if you haven&#8217;t already done so. All you have to do is go to <strong>Applications &gt; Add/Remove&#8230;. </strong>and type &#8221; Wine&#8221; in the search box. Now from the list check  &#8220;<strong> Wine Windows Emulator</strong> &#8221; and click the <strong>&#8220;Apply changes&#8221;</strong> button. Then in the new window click &#8220;<strong>Apply</strong>&#8221; and wait for the installation to complete.</p>
<p><a href="http://pc-level.com/wp-content/uploads/2009/07/wine-istallation.jpg" rel="shadowbox[post-1292];player=img;"><img class="aligncenter size-medium wp-image-1298" title="wine-istallation" src="http://pc-level.com/wp-content/uploads/2009/07/wine-istallation-300x229.jpg" alt="wine-istallation" width="300" height="229" /></a></p>
<p>Now that Wine is installed let&#8217;s see how it works.</p>
<p>As you probably know the default directory to install programs in Windows is &#8220;<strong>C:\Program 	Files</strong>&#8220;, which is also used by most program installers. That&#8217;s why Wine creates fake C:\ drive that contains the folders<em> Windows</em> and <em>Program files </em>like in a real Windows installation. This allows you to install 	applications into Wine in the same way you would in Windows. The installation process is simple. Just download the program you want and double click on the executable file. You may find that Wine allows you to  create icons on your desktop and in your 	app menu (if the installer provides such an option ). If so, you can start the applications by clicking on 	them.</p>
<p>For example I&#8217;ve tested Wine by  installing  Winamp 5.53 and it worked fine.  There were some bugs such as not working timer and broken playlist editor window which goes back to its orginal shape just by clicking the <strong>PL</strong> button. Of course these are things that do not affect the normal operation of the program.</p>
<p><a href="http://pc-level.com/wp-content/uploads/2009/07/winamp-install.png" rel="shadowbox[post-1292];player=img;"><img class="aligncenter size-medium wp-image-1299" title="winamp-install" src="http://pc-level.com/wp-content/uploads/2009/07/winamp-install-300x219.png" alt="winamp-install" width="300" height="219" /></a></p>
<p>Note that during the installation of Winamp you may receive a message saying:   <em> <span style="color: #003366;">&#8220;This application is trying to show an HTML page. Wine needs Gecko (Mozilla HTML engine) to be installed to show the page. Click install if you want Wine to automatically download and install Gecko.&#8221; </span></em>If so, then just click the &#8221; <strong>Install </strong>&#8221; button.<a href="http://pc-level.com/wp-content/uploads/2009/07/wine-gecko-installer.jpg" rel="shadowbox[post-1292];player=img;"><img class="aligncenter size-medium wp-image-1300" title="wine-gecko-installer" src="http://pc-level.com/wp-content/uploads/2009/07/wine-gecko-installer-300x174.jpg" alt="wine-gecko-installer" width="300" height="174" /></a></p>
<p>Here is a screenshot of Winamp working on Ubuntu.</p>
<p><a href="http://pc-level.com/wp-content/uploads/2009/07/winamp-on-ubuntu.jpg" rel="shadowbox[post-1292];player=img;"><img class="aligncenter size-medium wp-image-1301" title="winamp-on-ubuntu" src="http://pc-level.com/wp-content/uploads/2009/07/winamp-on-ubuntu-300x225.jpg" alt="winamp-on-ubuntu" width="300" height="225" /></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://pc-level.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://pc-level.com/2009/07/installing-and-running-programs-with-wine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to share folders in Ubuntu</title>
		<link>http://pc-level.com/2009/07/how-to-share-folders-in-ubuntu/</link>
		<comments>http://pc-level.com/2009/07/how-to-share-folders-in-ubuntu/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 21:42:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://pc-level.com/?p=1282</guid>
		<description><![CDATA[Sharing a folder in Ubuntu is similar to the sharing in Windows. To share a folder open your home directory, then right click on the folder you want to share and select &#8220;Sharing Options&#8220;. Then on the next window that appears check the option &#8221; Share this folder &#8221; and click &#8221; Create Share &#8220;. [...]]]></description>
			<content:encoded><![CDATA[<p>Sharing a folder in Ubuntu is similar to the sharing in Windows. To share a folder open your home directory, then right click on the folder you want to share and select &#8220;<strong>Sharing Options</strong>&#8220;. <span id="more-1282"></span>Then on the next window that appears check the option &#8221; <strong>Share this folder</strong> &#8221; and click &#8221; <strong>Create Share</strong> &#8220;. If you receive a new window with the message that Sharing service is not installed just click the &#8221; <strong>Install service</strong> &#8221; button.</p>
<p><a href="http://pc-level.com/wp-content/uploads/2009/07/sharing.jpg" rel="shadowbox[post-1282];player=img;"><img class="aligncenter size-medium wp-image-1284" title="sharing" src="http://pc-level.com/wp-content/uploads/2009/07/sharing-300x219.jpg" alt="sharing" width="300" height="219" /></a></p>
<p>This will install a SAMBA server on your machine. SAMBA allows file and printer sharing between computers running Windows and computers running Linux. It sets up network shares for chosen Linux directories that appear to Windows users as normal Windows folders accessible via the network. Linux users can either mount the shared folders as part of their file system or use  SMB client program ( included with the Samba distribution ) to access the shares. More info about SAMBA <a href="http://en.wikipedia.org/wiki/Samba_(software)" target="_blank">here</a> and <a href="http://us1.samba.org/samba/" target="_blank">here</a>.</p>
<p>After the installation you need to restart your session and repeat the first step in the post.</p>
<p><a href="http://pc-level.com/wp-content/uploads/2009/07/sharing2.jpg" rel="shadowbox[post-1282];player=img;"><img class="aligncenter size-medium wp-image-1285" title="sharing2" src="http://pc-level.com/wp-content/uploads/2009/07/sharing2-300x221.jpg" alt="sharing2" width="300" height="221" /></a>Note that the shared folders will be available only for  users registered on the same computer. To provide access to unregistered users  right click on the folder you want to share and select &#8220;<strong>Sharing Options</strong>&#8221; , then check the option &#8220;<strong> Guest access</strong> &#8221; and click &#8221; <strong>Modify Share</strong> &#8220;.</p>
<p><a href="http://pc-level.com/wp-content/uploads/2009/07/sharing-options1.jpg" rel="shadowbox[post-1282];player=img;"><img class="aligncenter size-medium wp-image-1288" title="sharing-options1" src="http://pc-level.com/wp-content/uploads/2009/07/sharing-options1-300x280.jpg" alt="sharing-options1" width="300" height="280" /></a>Now go to any Windows machine on your local network and open  <strong>My Computer</strong> &gt; <strong>My Network Places</strong>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://pc-level.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://pc-level.com/2009/07/how-to-share-folders-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing Directory and File Permissions in Linux</title>
		<link>http://pc-level.com/2009/07/changing-directory-and-file-permissions-in-linux/</link>
		<comments>http://pc-level.com/2009/07/changing-directory-and-file-permissions-in-linux/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 22:28:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://pc-level.com/?p=1274</guid>
		<description><![CDATA[Changing directory and file permissions on a computer is very important task for every system administrator. Using permissions, you can determine which users to have access to a certain file or directory, and what their access allows them to do. The things they can do are read, write, and execute.
Read permission means  that if you [...]]]></description>
			<content:encoded><![CDATA[<p>Changing directory and file permissions on a computer is very important task for every system administrator. Using permissions, you can determine which users to have access to a certain file or directory, and what their access allows them to do. The things they can do are read, write, and execute.<span id="more-1274"></span></p>
<p><em>Read</em> permission means  that if you have this permission, you can open the file or directory.</p>
<p><em>Write</em> permission means you have editing capabilities. You can make and save changes to the file or directory.</p>
<p><em>Execute</em> means that if the file is a program, it can be executed.</p>
<p>Before you change permissions, let’s first see what permissions are already set to a file or directory. Let&#8217;s begin by looking at the permissions of the files and subdirectories in a current directory. From the terminal,  use the following command:<br />
<strong>ls   -l</strong></p>
<p>The <strong>ls</strong> command lists the contents of directories. If no path is  given, it lists the files in the current directory. The <strong>-l</strong> option lets you display a variety of information ( including permissions, owner, size, modification time, etc.) about the files contained in the selected directory. For example if you want to see a detailed information about the files in your <em>Home</em> directory just type the following in the terminal:</p>
<p><strong>ls -l /home</strong></p>
<p><strong><a href="http://pc-level.com/wp-content/uploads/2009/07/file-permitions.jpeg" rel="shadowbox[post-1274];player=img;"><img class="aligncenter size-medium wp-image-1277" title="file-permitions" src="http://pc-level.com/wp-content/uploads/2009/07/file-permitions-300x163.jpg" alt="file-permitions" width="300" height="163" /></a><br />
</strong></p>
<p>To understand how to read permissions, just look at the picture above. If you look at the left column of the figure, you will  see the following: drwxr-xr-x or something. Analyzing this information is simple; the &#8220;<strong>d</strong>&#8221; stands for directory. If this first character is replaced by a – (dash), then it is a file. A &#8220;<strong>l</strong>&#8221; means that it is a link to something else in the file system. Next to the<strong> </strong>&#8220;<strong>d</strong>&#8220;, you will see characters that you need to divide into three groups of three ( in our case the first group is<em> rwx</em> , the second is <em>r-x</em> and the third is also <em>r-x</em> ). The first group  contains rwx, which means <em>read</em>, <em>write</em>, and <em>execute</em>. This first group of permissions belongs to the owner of the file or directory. The second group is r–x. This group describes the permissions for the group owning the file. The group has permissions only for read and execute, but not to write. The final group of permissions belongs to all other users. They can also read and execute, but not write.</p>
<p>To change permissions on a file, you will need to use the <strong>chmod</strong> command with a few options besides <em>rwx</em>.  The following symbols identify the user or group of users  you want to change the permissions.</p>
<p>To designate the owner,  use a &#8221; <strong>u</strong> &#8220;. For the group, use &#8220;<strong> g</strong> &#8221; and for all others, you have to use &#8220;<strong> o</strong> &#8220;. For all users and groups, you need to use an &#8220;<strong> a</strong> &#8221; option.  To add permissions,  use &#8221; + &#8220;, and to take permissions away use &#8221; – &#8220;. Let&#8217;s see how it works.</p>
<p>Examples:</p>
<p><span class="telety"><span style="color: #003366;">chmod a+r </span><em><span style="color: #003366;">filename </span></em><em></em>- allow read permissions to everyone.</span></p>
<p><span class="telety"><span style="color: #003366;">chmod go-w <em>filename </em> <span style="color: #000000;">- deny write permissions to the group and others.</span></span></span></p>
<p><span class="telety"><span style="color: #003366;">chmod a+rwx </span><em><span style="color: #003366;">filename </span></em><span style="color: #003366;"><span style="color: #000000;">- give full access to everyone.</span><br />
</span></span></p>
<p><span class="telety"><span style="color: #003366;">chmod o-rw </span><em><span style="color: #003366;">filename </span></em><span style="color: #003366;"><span style="color: #000000;"> &#8211; deny read and write permissions to others.</span></span></span></p>
<p><span class="telety"><span style="color: #003366;"><span style="color: #000000;"> Another easier way to change permissions is to use numbers that represent read, write, and execute. </span></span></span>See the following list:</p>
<p><span class="telety"><span style="color: #003366;"><span style="color: #000000;">#    Permission</span></span></span></p>
<p><span class="telety"><span style="color: #003366;"><span style="color: #000000;">7 </span></span></span><span style="color: #000000;">Full</span></p>
<p><span style="color: #000000;">6 </span><span style="color: #000000;">Read                 and write</span></p>
<p><span style="color: #000000;">5 </span><span style="color: #000000;">Read                 and execute</span></p>
<p><span style="color: #000000;">4 </span><span style="color: #000000;">Read                 only</span></p>
<p><span style="color: #000000;">3 </span><span style="color: #000000;">Write                 and execute</span></p>
<p><span style="color: #000000;">2 </span><span style="color: #000000;">Write                 only</span></p>
<p><span style="color: #000000;">1 Execute only<br />
</span></p>
<p><span style="color: #000000;">0 None</span></p>
<p><span style="color: #000000;">A sample command would look like the following:<br />
</span></p>
<p><span style="color: #000000;"><span style="color: #003366;">chmod 777  <em>filename </em><span style="color: #000000;">-<em> </em>allow </span></span>everyone to read write and execute the file.</span></p>
<p><span style="color: #000000;"><span style="color: #003366;">chmod 755  <em>filename </em></span></span><span style="color: #000000;"><span style="color: #003366;"><span style="color: #000000;">- gives the <strong>owner</strong></span></span> full access to the file , the <strong>group </strong>read and execute the file and the <strong>others</strong> also read and execute the file.</span></p>
<p><span style="color: #000000;">As you can see there are three digits in a command. </span><span style="color: #000000;">The first digit refers to the<strong> owner</strong> permitions, the second to the <strong>group</strong> and the third refers to all <strong>other</strong> users. I think </span>this method is easier  because here you don&#8217;t need to use the &#8220;+&#8221; and &#8220;-&#8221; symbols in order to add or remove permitions.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://pc-level.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://pc-level.com/2009/07/changing-directory-and-file-permissions-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change MAC address in Lnux</title>
		<link>http://pc-level.com/2009/07/how-to-change-mac-address-in-lnux/</link>
		<comments>http://pc-level.com/2009/07/how-to-change-mac-address-in-lnux/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 17:58:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://pc-level.com/?p=1265</guid>
		<description><![CDATA[This method is tested with Ubuntu, but I think it should also work with many other distributions as well. To change your MAC address in Linux just follow the steps below.
1. Open the terminal and type &#8220;ifconfig&#8221;
2. Find the interface you want to change the mac address. If you have more than one network adapter [...]]]></description>
			<content:encoded><![CDATA[<p>This method is tested with Ubuntu, but I think it should also work with many other distributions as well. To change your MAC address in Linux just follow the steps below.<span id="more-1265"></span></p>
<p>1. Open the terminal and type &#8220;<strong>ifconfig</strong>&#8221;</p>
<p>2. Find the interface you want to change the mac address. If you have more than one network adapter installed on your machine, they are usually numbered as &#8220;eth0&#8243; ,&#8221; eth1&#8243; and so on.</p>
<p>3. Run the following command:</p>
<p><span style="color: #003366;">ifconfig &lt;interface&gt; down hw ether &lt; new mac address &gt; </span></p>
<p><span style="color: #003366;"><span style="color: #000000;">This command stops the selected interface and changes its mac address.</span></span> Note that you have to be either logged as ROOT or type &#8220;<span style="color: #003366;">sudo</span>&#8221; before every command or you will receive &#8221; <span style="color: #003366;">Permission denied</span>&#8221; as a result.</p>
<p>Then the command will looks like this:</p>
<p><span style="color: #003366;">sudo ifconfig &lt;interface&gt; down hw ether &lt; new mac address&gt; <span style="color: #000000;">. </span></span></p>
<p><span style="color: #003366;"><span style="color: #000000;">You will be asked for the root password.</span><br />
</span></p>
<p>4. Now turn on the interface with the command:<span style="color: #003366;"> ifconfig &lt;interface&gt; up</span></p>
<p>For example, the  above commands may look like:</p>
<p><span style="color: #003366;">ifconfig eth0 down hw ether 00:19:B9:7A:C9:A1</span></p>
<p><span style="color: #003366;"><span style="color: #000000;"><span style="color: #003366;">ifconfig eth0 up</span></span></span></p>
<p>The only disadvantage of the described method is that after restart of the computer your MAC address will change to its default value. If you want to make it permanent even after restart, you have to edit the <strong>/etc/network/interfaces</strong> file and add following line in the section containing the settings of the selected network adapter so that the MAC address to be set when the device is started.</p>
<p><code><span style="color: #003366;">hwaddress &lt;interface&gt; &lt; New MAC address &gt;</span><br />
</code></p>
<p>For example : <span style="color: #003366;">hwaddress ether 00:19:B9:7A:C9:A1</span></p>
<p><span style="color: #003366;"><span style="color: #000000;">Here is part of my </span></span><strong>/etc/network/interfaces</strong> file after being edited:</p>
<p><span style="color: #003366;">iface eth1 inet dhcp<br />
hwaddress ether 00:19:B9:7A:C9:A1<br />
address 192.168.1.3<br />
netmask 255.255.255.0<br />
gateway 192.168.1.1<br />
wireless-essid cartoon_network</span></p>
<p><span style="color: #003366;">auto eth1</span></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://pc-level.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://pc-level.com/2009/07/how-to-change-mac-address-in-lnux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
