<?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>Linux Explore &#187; Unix</title>
	<atom:link href="https://blog.linuxexplore.com/tag/unix/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.linuxexplore.com</link>
	<description>Exploring Linux</description>
	<lastBuildDate>Mon, 07 Apr 2014 00:30:50 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.38</generator>
	<item>
		<title>Linux File System and Windows File System, Difference</title>
		<link>https://blog.linuxexplore.com/2012/10/01/linux-file-system-and-windows-file-system-difference/</link>
		<comments>https://blog.linuxexplore.com/2012/10/01/linux-file-system-and-windows-file-system-difference/#comments</comments>
		<pubDate>Sun, 30 Sep 2012 19:52:46 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[ext2]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Intel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux file systems]]></category>
		<category><![CDATA[Linux filesystem]]></category>
		<category><![CDATA[Linux partitions]]></category>
		<category><![CDATA[Linux VS Windows]]></category>
		<category><![CDATA[master boot record]]></category>
		<category><![CDATA[Nigel McFarlane]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Windows filesystem]]></category>
		<category><![CDATA[Windows partitions]]></category>

		<guid isPermaLink="false">http://linuxexplore.com/?p=648</guid>
		<description><![CDATA[Windows vs Linux Windows uses FAT and NTFS as file systems, while Linux uses a variety of file systems. Unlike Windows, Linux is bootable from a network drive. In contrast to Windows, everything is either a file or a process in Linux. Please see one of my earlier post What “Everything Is a File” Means on Linux.&#8230;]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://linuxexplore.files.wordpress.com/2012/10/ubuntu-910-vs-windows-7.jpg"><img class="size-full wp-image-649 aligncenter" title="ubuntu-910-vs-windows-7" src="http://linuxexplore.files.wordpress.com/2012/10/ubuntu-910-vs-windows-7.jpg" alt="Linux vs Windows" width="640" height="390" /></a>Windows vs Linux</p>
<p>Windows uses FAT and NTFS as file systems, while Linux uses a variety of file systems.</p>
<p>Unlike Windows, Linux is bootable from a network drive.</p>
<p>In contrast to Windows, everything is either a file or a process in Linux. Please see one of my earlier post <a title="What “Everything Is a File” Means on Linux" href="http://linuxexplore.com/2012/07/28/intowire-what-everything-is-a-file-means-on-linux/" target="_blank">What “Everything Is a File” Means on Linux</a>.</p>
<p>Linux has two kinds of major partitions called data partitions and swap partitions. Because of the existence of swap partitions, you never run out of memory in Linux (like in windows).</p>
<p>In terms of recovery tools, only a limited number of tools can be used on Windows, while there is a large number of UNIX based recovery tools available for Linux file systems.</p>
<p><a href="http://linuxexplore.files.wordpress.com/2012/10/primary-extended-logical-linux-windows-file-system.png"><img class=" wp-image-650 aligncenter" title="primary extended logical Linux windows file system" src="http://linuxexplore.files.wordpress.com/2012/10/primary-extended-logical-linux-windows-file-system.png" alt="Linux Windows filesystem" width="362" height="349" /></a></p>
<p><strong> From the author </strong><strong>Nigel McFarlane:</strong></p>
<p>Both <strong>Windows</strong> and <strong>Linux</strong> organize disk-based files into a hierarchy of directories. Such directories are usually called &#8220;<strong>folders</strong>&#8221; when viewed in a GUI. One whole hierarchy is called a &#8220;<strong>file system</strong>&#8221; on both platforms. The architecture of Windows and Linux file systems is similar in some points, but diverges greatly when tools are considered. Here&#8217;s a quick comparison.</p>
<p>On hardware derived from <strong>Intel</strong> or <strong>IBM</strong> PCs, both <strong>Windows</strong> and <strong>Linux</strong> use the Master Block Record/ Master Boot Record (<strong>MBR</strong>). That is the bit of disk used to boot the operating system and to state whether the disk is partitioned or not. On both <strong>Windows</strong> and <strong>Linux</strong>, it is common to have at most one file system per partition. That is about the end of the similarity.</p>
<p>Each <strong>Windows</strong> file system gets a drive letter, like &#8220;C:&#8221;. On <strong>Linux</strong>, each file system gets a device, like /dev/hda1 (&#8220;hard disk A part 1&#8243;), which is represented as a file. Such a file is a device file (since a disk is a device), hence the &#8220;dev&#8221; part of the path name. Also, the device file is not an ordinary text file, it is a &#8220;<strong>special file</strong>.&#8221; Since disks are block devices (unlike a serial mouse), such a file is fully described as a &#8220;<strong>block special device file</strong>.&#8221; The numbered part of the path can be a little weird to get right; it&#8217;s best to be guided by documentation there or extract the right name from a report.</p>
<p>On <strong>Windows</strong>, file systems can be <strong>FAT16</strong>, <strong>FAT32</strong> or <strong>NTFS</strong>, to name a few. Recall <strong>FAT16</strong> is the ancient standard responsible for <strong>Windows</strong> file names with the &#8220;<strong>8.3</strong>&#8221; file name length restriction. On <strong>Linux</strong>, filesystems can be &#8220;<strong>minix</strong>,&#8221; &#8220;<strong>ext</strong>,&#8221; or &#8220;<strong>ext2</strong>,&#8221; to name a few. Also, &#8220;<strong>minix</strong>&#8221; is an example of the ancient standard responsible for <strong>UNIX</strong> file names once being limited to 14 characters. Linux also has &#8220;<strong>msdos</strong>&#8221; and &#8220;<strong>vfat</strong>&#8221; file systems for compatibility with <strong>Windows</strong> and <strong>DOS</strong>, plus more.</p>
<p>Windows uses <strong>FORMAT.EXE</strong> to format a disk. Linux uses &#8220;<strong>mkfs</strong>&#8221; (&#8220;make file system&#8221;) in various specialist forms.</p>
<p>Each Windows file system has a File Allocation Table (<strong>FAT</strong>, <strong>VFAT</strong>, or similar) that states which disk blocks hold the topmost directory. On <strong>Linux</strong>, the equivalent on most filesystems is the <strong>superblock</strong>. A <strong>Linux</strong> file system has multiple copies of the <strong>superblock</strong> physically saved on the disk. This provides redundancy in case of a partial disk corruption. The <strong>superblock</strong> is just about always in memory on <strong>Linux</strong>; that is not the case for ancient <strong>DOS</strong>-like file systems. There are no special restrictions on files placed in the topmost directory on <strong>Linux</strong>, either.</p>
<p>On <strong>Windows</strong>, there is one drive letter per mounted file system: for example, C: for C: and D: for D:. On <strong>Linux</strong> there are no drive letters, so one file system is mounted on &#8220;/&#8221; and all other file systems are mounted on subdirectories of &#8220;/.&#8221; This arrangement is like the little-used <strong>MS-DOS</strong> command <strong>SUBST</strong>, or the <strong>NET USE</strong> command that supports <strong>Novell</strong>&#8216;s <strong>NetWare</strong>. The equivalent <strong>Linux</strong> command is &#8220;<strong>mount</strong>.&#8221;</p>
<p>You can see all this at work on <strong>Linux</strong>, but for some of it you need to be logged in as <strong>root</strong>. Type &#8220;<strong>cat /etc/fstab</strong>&#8221; to see all the mountable devices, including floppy disks and CD players. Type &#8220;<strong>df</strong>&#8221; to see the devices currently mounted, and their free space. In the usual case you can even see the <strong>superblock</strong>: try &#8220;<strong>/sbin/dumpe2fs /dev/hda1</strong>&#8221; where <strong>hda1</strong> comes from the output of &#8220;<strong>df</strong>.&#8221; The name &#8220;<strong>dumpe2fs</strong>&#8221; is a casualty of history; it replaces the older &#8220;<strong>dumpfs</strong>.&#8221; The information produced is really just for diagnostic purposes.</p>
<p>Mostly file systems work for you silently. If you want to dig into Linux further, then there are plenty of tools that can be used as inspection points.</p>
<p><strong>About the author</strong><br />
<strong>Nigel McFarlane</strong> is an open source software analyst and technologist with a broad background in technology and software engineering. He has an extensive programming background and degrees in computer science and physics. His latest book is &#8220;<strong>Rapid Application Development with Mozilla</strong>&#8221; from Prentice Hall PTR.</p>
<p><strong>Source:</strong><br />
<a href="http://searchopensource.techtarget.com/tip/1,289483,sid39_gci990200,00.html" rel="nofollow" target="_blank">http://searchopensource.techtarget.c&#8230;990200,00.html</a></p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/10/01/linux-file-system-and-windows-file-system-difference/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>More Helpful Commands in Linux</title>
		<link>https://blog.linuxexplore.com/2012/08/24/more-helpful-commands-in-linux/</link>
		<comments>https://blog.linuxexplore.com/2012/08/24/more-helpful-commands-in-linux/#comments</comments>
		<pubDate>Thu, 23 Aug 2012 19:26:36 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[backdrop image]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[command line tools]]></category>
		<category><![CDATA[cut]]></category>
		<category><![CDATA[echo]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[enterprise-it]]></category>
		<category><![CDATA[inkscape]]></category>
		<category><![CDATA[intowire]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[KStars]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Administrator]]></category>
		<category><![CDATA[Linux hacks]]></category>
		<category><![CDATA[Linux Howto]]></category>
		<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[macros]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[SVG file]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=609</guid>
		<description><![CDATA[A backdrop of stars Difficulty: Easy Application: KStars You may already have played with KStars, but how about creating a KStars backdrop image that&#8217;s updated every time you start up? KStars can be run with the &#8211;dump switch, which dumps out an image from your startup settings, but doesn&#8217;t load the GUI at all. You&#8230;]]></description>
				<content:encoded><![CDATA[<h2>A backdrop of stars</h2>
<ul>
<li>Difficulty: Easy</li>
<li>Application: KStars</li>
</ul>
<p>You may already have played with KStars, but how about creating a KStars backdrop image that&#8217;s updated every time you start up?</p>
<p>KStars can be run with the &#8211;dump switch, which dumps out an image from your startup settings, but doesn&#8217;t load the GUI at all. You can create a script to run this and generate a desktop image, which will change every day (or you can just use this method to generate images).</p>
<p>Run KStars like this:</p>
<pre>kstars --dump --width 1024 --height 768 --filename = ~/kstarsback.png</pre>
<p>You can add this to a script in your ~/.kde/Autostart folder to be run at startup. Find the file in Konqueror, drag it to the desktop and select &#8216;Set as wallpaper&#8217; to use it as a randomly generated backdrop.</p>
<h2>Open an SVG directly</h2>
<ul>
<li>Difficulty: Easy</li>
<li>Application: Inkscape</li>
</ul>
<p>You can run Inkscape from a shell and immediately edit a graphic directly from a URL. Just type:</p>
<pre>inkscape <a href="http://www.somehost.com/graphic.svg" rel="nofollow">http://www.somehost.com/graphic.svg</a></pre>
<p>Remember to save it as something else though!</p>
<h2>Editing without an editor</h2>
<ul>
<li>Difficulty: Intermediate</li>
<li>Application: Various</li>
</ul>
<p>Very long files are often hard to manipulate with a text editor. If you need to do it regularly, chances are you&#8217;ll find it much faster to use some handy command-line tools instead, like in the following examples.</p>
<p>To print columns eg 1 and 3 from a file file1 into file2, we can use awk:</p>
<pre>awk '{print $1, $3}' file1 &gt; file2</pre>
<p>To output only characters from column 8 to column 15 of file1, we can use cut:</p>
<pre>cut -c 8-15 file1 &gt; file2</pre>
<p>To replace the word word1 with the word word2 in the file file1, we can use the sed command:</p>
<pre>sed "s/word1/word2/g" file1 &gt; file2</pre>
<p>This is often a quicker way to get results than even opening a text editor.</p>
<h2>Backup selected files only</h2>
<ul>
<li>Difficulty: Intermediate</li>
<li>Application: tar</li>
</ul>
<p>Want to use tar to backup only certain files in a directory? Then you&#8217;ll want to use the -T flag as follows. First, create a file with the file you want to backup:</p>
<pre>cat &gt;&gt; /etc/backup.conf
# /etc/passwd
# /etc/shadow
# /etc/yp.conf
# /etc/sysctl.conf
EOF</pre>
<p>Then run tar with the -T flag pointing to the file just created:</p>
<pre>tar -cjf bck-etc-`date +%Y-%m-%d`.tar.bz2 -T /etc/backup.conf</pre>
<p>Now you have your backup.</p>
<p><a href="http://www.intowire.com/iWiRE/blog/view/57463/more-helpful-commands-in-linux#.UDZyp9Pzxw4.wordpress">Read more&#8230;&#8230;</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/08/24/more-helpful-commands-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Look what Stella brought to CentOS 6.3, Desktop OS based on Centos</title>
		<link>https://blog.linuxexplore.com/2012/08/08/look-what-stella-brought-to-centos-6-3-desktop-os-based-on-centos/</link>
		<comments>https://blog.linuxexplore.com/2012/08/08/look-what-stella-brought-to-centos-6-3-desktop-os-based-on-centos/#comments</comments>
		<pubDate>Wed, 08 Aug 2012 16:40:54 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore How to]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[CentOS 6.3]]></category>
		<category><![CDATA[CentOS update]]></category>
		<category><![CDATA[core enterprise]]></category>
		<category><![CDATA[default media player]]></category>
		<category><![CDATA[Desktop OS]]></category>
		<category><![CDATA[enterprise-it]]></category>
		<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[intowire]]></category>
		<category><![CDATA[Libreoffice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Administrator]]></category>
		<category><![CDATA[Linux games]]></category>
		<category><![CDATA[Linux hacks]]></category>
		<category><![CDATA[Linux Howto]]></category>
		<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Media Player]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Openoffice]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[ROMP]]></category>
		<category><![CDATA[ROSA Media Player]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Stella]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[video file formats]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[VLC]]></category>
		<category><![CDATA[VLC player]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=575</guid>
		<description><![CDATA[There is a new Linux distribution released almost every week, sometimes, even every day. The latest is one called Stella, and the first version is Stella 6.3. Stella is a desktop-focused remix of CentOS, and Stella 6.3 is based on CentOS 6.3. If you are familiar with CentOS, you know that out of the box,&#8230;]]></description>
				<content:encoded><![CDATA[<p>There is a new Linux distribution released almost every week, sometimes, even every day. The latest is one called Stella, and the first version is Stella 6.3. Stella is a desktop-focused remix of <a href="http://linuxbsdos.com/category/centos" rel="nofollow">CentOS</a>, and Stella 6.3 is based on CentOS 6.3.</p>
<p>If you are familiar with CentOS, you know that out of the box, it is not really designed as a desktop distribution. Stella changes all that, as it is primarily aimed at desktop users, while retaining the core enterprise features and capabilities of CentOS.</p>
<p>And you can see that just by looking at the package manager. The package categories tell you that everything you can find in CentOS is also available in Stella. Plus desktop applications that you will not find in any default installation of CentOS. For example, an application listed in the screen shot below, is <a href="http://www.linuxbsdos.com/2012/04/10/romp-media-player-with-built-in-desktop-recorder/" rel="nofollow">ROSA Media Player</a> (ROMP), the default media player in <a href="http://www.linuxbsdos.com/category/rosa-desktop/" rel="nofollow">ROSA Desktop</a>, a distribution based on <a href="http://linuxbsdos.com/category/mandriva" rel="nofollow">Mandriva</a> Linux.</p>
<p style="text-align:center;"><a href="http://www.intowire.com/iWiRE/blog/view/52955/look-what-stella-brought-to-centos-63-desktop-os-based-on-centos#.UCKUDqSEaAM.wordpress"><img src="http://linuxexplore.files.wordpress.com/2012/08/stelladesktop8-600x469.png" alt="" /></a></p>
<p>Because it is loaded with desktop applications and media codecs not available in CentOS, you can play most audio and video file formats out of the box. Here it shows a favorite online video playing in Firefox.</p>
<p style="text-align:center;"><a href="http://www.intowire.com/iWiRE/blog/view/52955/look-what-stella-brought-to-centos-63-desktop-os-based-on-centos#.UCKUDqSEaAM.wordpress"><img src="http://linuxexplore.files.wordpress.com/2012/08/stelladesktop7-600x450.png" alt="" /></a></p>
<p>The next few screen shots show what the desktop looks like and some of the applications accessible from the menu. This one shows installed Internet applications.</p>
<p style="text-align:center;"><a href="http://www.intowire.com/iWiRE/blog/view/52955/look-what-stella-brought-to-centos-63-desktop-os-based-on-centos#.UCKUDqSEaAM.wordpress"><img src="http://linuxexplore.files.wordpress.com/2012/08/stelladesktop1-600x450.png" alt="" /></a></p>
<p>Installed Office applications.</p>
<p style="text-align:center;"><a href="http://www.intowire.com/iWiRE/blog/view/52955/look-what-stella-brought-to-centos-63-desktop-os-based-on-centos#.UCKUDqSEaAM.wordpress"><img src="http://linuxexplore.files.wordpress.com/2012/08/stelladesktop2-600x450.png" alt="" /></a></p>
<p>Installed multimedia applications.</p>
<p style="text-align:center;"><a href="http://www.intowire.com/iWiRE/blog/view/52955/look-what-stella-brought-to-centos-63-desktop-os-based-on-centos#.UCKUDqSEaAM.wordpress"><img src="http://linuxexplore.files.wordpress.com/2012/08/stelladesktop3-600x450.png" alt="" /></a></p>
<p>Updates manager.</p>
<p style="text-align:center;"><a href="http://www.intowire.com/iWiRE/blog/view/52955/look-what-stella-brought-to-centos-63-desktop-os-based-on-centos#.UCKUDqSEaAM.wordpress"><img src="http://linuxexplore.files.wordpress.com/2012/08/stelladesktop4-600x450.png" alt="" /></a></p>
<p><a href="http://www.intowire.com/iWiRE/blog/view/52955/look-what-stella-brought-to-centos-63-desktop-os-based-on-centos#.UCKUDqSEaAM.wordpress">Read full story</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/08/08/look-what-stella-brought-to-centos-6-3-desktop-os-based-on-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Selinux disable temporarily or permanently</title>
		<link>https://blog.linuxexplore.com/2012/08/04/selinux-disable-temporarily-or-permanently/</link>
		<comments>https://blog.linuxexplore.com/2012/08/04/selinux-disable-temporarily-or-permanently/#comments</comments>
		<pubDate>Sat, 04 Aug 2012 08:06:12 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[/etc/selinux/config]]></category>
		<category><![CDATA[/selinux/enforce]]></category>
		<category><![CDATA[command cat]]></category>
		<category><![CDATA[disable selinux]]></category>
		<category><![CDATA[good security]]></category>
		<category><![CDATA[intowire]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Administrator]]></category>
		<category><![CDATA[Linux hacks]]></category>
		<category><![CDATA[Linux Howto]]></category>
		<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[selinux]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=539</guid>
		<description><![CDATA[Sometime when you run an application in Linux, it starts and suddenly stops or just doesn&#8217;t work. Then you find that its selinux which is stopping you to run your application. Selinux is good security feature of Linux stop you to execute malicious applications. But it need to disable when you need to run your&#8230;]]></description>
				<content:encoded><![CDATA[<p>Sometime when you run an application in Linux, it starts and suddenly stops or just doesn&#8217;t work. Then you find that its <strong><em>selinux</em></strong> which is stopping you to run your application.</p>
<p><strong><em>Selinux</em></strong> is good security feature of Linux stop you to execute malicious applications. But it need to disable when you need to run your self developed application. You can check the selinux status by using following command:</p>
<blockquote><p># cat /selinux/enforce</p>
<p>1</p></blockquote>
<p>If it will show 1, that means selinux enforcing is enabled.</p>
<p>You can disable that selinux temporarily or permanently. Use following methods to disable it.</p>
<p><strong>Disable Temporarily:</strong></p>
<p>To disable selinux temporarily set the 0 to <em><strong>/selinux/enforce</strong></em> file.</p>
<blockquote><p># echo 0 &gt; /selinux/enforce</p></blockquote>
<p><a href="http://www.intowire.com/iWiRE/blog/view/49248/selinux-disable-temporarily-or-permanently#.UBzW4Tj3vpQ.wordpress">Read more</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/08/04/selinux-disable-temporarily-or-permanently/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mobile Security with Android</title>
		<link>https://blog.linuxexplore.com/2012/07/30/mobile-security-with-android/</link>
		<comments>https://blog.linuxexplore.com/2012/07/30/mobile-security-with-android/#comments</comments>
		<pubDate>Mon, 30 Jul 2012 16:08:48 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Android Security]]></category>
		<category><![CDATA[goog]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[intowire]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Samsung]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=513</guid>
		<description><![CDATA[Hacking experts on Wednesday demonstrated ways to attack Android smartphones using methods they said work on virtually all such devices in use today, despite recent efforts by search engine giant Google (GOOG.O) to boost protection. Experts showed off their prowess at the Black Hat hacking conference in Las Vegas, where some 6,500 corporate and government&#8230;]]></description>
				<content:encoded><![CDATA[<p><a href="http://linuxexplore.files.wordpress.com/2012/07/3-29-androids.jpg"><img class="alignleft  wp-image-518" title="androids" src="http://linuxexplore.files.wordpress.com/2012/07/3-29-androids.jpg" alt="Android" width="356" height="222" /></a>Hacking experts on Wednesday demonstrated ways to attack Android smartphones using methods they said work on virtually all such devices in use today, despite recent efforts by search engine giant Google (GOOG.O) to boost protection. Experts showed off their prowess at the Black Hat hacking conference in Las Vegas, where some 6,500 corporate and government security technology workers gathered to learn about emerging threats to their networks. &#8220;Google is making progress, but the authors of malicious software are moving forward,&#8221; said Sean Schulte of Trustwave&#8217;s SpiderLabs. Google spokeswoman Gina Scigliano declined to comment on the security concerns or the new research. Accuvant researcher Charlie Miller demonstrated a method for delivering malicious code to Android phones using a new Android feature known as near field communications. &#8220;I can take over your phone,&#8221; Miller said. Near field communications allow users to share photos with friends, make payments or exchange other data by bringing Android phones within a few centimeters of similarly equipped devices such as another phone or a payment terminal. Miller said he figured out how to create a device the size of a postage stamp that could be stuck in an inconspicuous place such as near a cash register at a restaurant. When an Android user walks by, the phone would get infected, said Miller. He spent five years as a global network exploit analyst at the U.S. National Security Agency, where his tasks included breaking into foreign computer systems. &#8220;WILD WEST&#8221; Miller and another hacking expert, Georg Wicherski of CrowdStrike, have also infected an Android phone with a piece of malicious code that Wicherski unveiled in February.</p>
<p>That piece of software exploits a security flaw in the Android browser that was publicly disclosed by Google&#8217;s Chrome browser development team, according to Wicherski.</p>
<p>Google has fixed the flaw in Chrome, which is frequently updated, so that most users are now protected, he said.</p>
<p>But Wicherski said Android users are still vulnerable because carriers and device manufacturers have not pushed those fixes or patches out to users.</p>
<p>Marc Maiffret, chief technology officer of the security firm BeyondTrust, said: &#8220;Google has added some great security features, but nobody has them.&#8221;</p>
<p>Experts say iPhones and iPads don&#8217;t face the same problem because Apple has been able to get carriers to push out security updates fairly quickly after they are released.</p>
<p>Two Trustwave researchers told attendees about a technique they discovered for evading Google&#8217;s &#8220;Bouncer&#8221; technology for identifying malicious programs in its Google Play Store.</p>
<p>They created a text-message blocking application that uses a legitimate programming tool known as java script bridge. Java script bridge lets developers remotely add new features to a program without using the normal Android update process.</p>
<p>Companies including Facebook and LinkedIn use java script bridge for legitimate purposes, according to Trustwave, but it could also be exploited maliciously.</p>
<p>To prove their point, they loaded malicious code onto one of their phones and remotely gained control of the browser. Once they did that, they could force it to download more code and grant them total control.</p>
<p>&#8220;Hopefully Google can solve the problem quickly,&#8221; said Nicholas Percoco, senior vice president of Trustwave&#8217;s SpiderLabs. &#8220;For now, Android is the Wild West.&#8221;</p>
<p>&#8211; Reuters</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/07/30/mobile-security-with-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can Linux crashes in just one command?</title>
		<link>https://blog.linuxexplore.com/2012/07/29/can-linux-crashes-in-just-one-command/</link>
		<comments>https://blog.linuxexplore.com/2012/07/29/can-linux-crashes-in-just-one-command/#comments</comments>
		<pubDate>Sun, 29 Jul 2012 10:30:02 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[fork bomb]]></category>
		<category><![CDATA[intowire]]></category>
		<category><![CDATA[limits.conf]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux crash]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[ulimit]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=503</guid>
		<description><![CDATA[After a very nice discussion over Linux vs Windows between the group members, all the Linux &#38; Windows supporter was trying to prove their OS better. One of the Windows supporter write a text string (can say a command) to execute in a Linux terminal, which can crash it in just one enter. WARNING!!!: DON&#8217;T&#8230;]]></description>
				<content:encoded><![CDATA[<p>After a very nice discussion over Linux vs Windows between the group members, all the Linux &amp; Windows supporter was trying to prove their OS better.</p>
<p>One of the Windows supporter write a text string (can say a command) to execute in a Linux terminal, which can crash it in just one enter.</p>
<p><span style="color:#ff0000;"><strong>WARNING!!!:</strong> DON&#8217;T USE THIS IN YOUR RUNNING SYSTEM, YOU CAN CRASH IT WITH JUST ONE ENTER. IF YOU DO THAT ONLY YOU WILL BE RESPONSIBLE FOR THE CONSEQUENCES.</span></p>
<pre style="padding-left:30px;"># :(){ :|:&amp; };:</pre>
<p>And truly this command was doing the same, CRASHING THE LINUX IN JUST ONE ENTER.</p>
<p>Solution must be there, off course it is.</p>
<p style="text-align:center;"><a href="http://linuxexplore.files.wordpress.com/2012/07/300px-fork_bomb-svg.png"><img class="aligncenter size-full wp-image-505" title="300px-Fork_bomb.svg" src="http://linuxexplore.files.wordpress.com/2012/07/300px-fork_bomb-svg.png" alt="Fork bomb" width="300" height="185" /></a></p>
<p><a href="http://www.intowire.com/iWiRE/blog/view/45603/can-linux-crashes-in-just-one-command#.UBUNCHWhWoE.wordpress">Read full story</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/07/29/can-linux-crashes-in-just-one-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>All about Fuser in LINUX</title>
		<link>https://blog.linuxexplore.com/2012/07/28/all-about-fuser-in-linux/</link>
		<comments>https://blog.linuxexplore.com/2012/07/28/all-about-fuser-in-linux/#comments</comments>
		<pubDate>Fri, 27 Jul 2012 19:24:24 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[fuser]]></category>
		<category><![CDATA[intowire]]></category>
		<category><![CDATA[kill]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[ps]]></category>
		<category><![CDATA[socket]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=499</guid>
		<description><![CDATA[The fuser utility in Linux is a powerful tool. As the name suggests it gives information about file user or the process that is currently using the file or directory. But fuser functionality is not just limited to giving information about the process. The article explains how to use fuser utility with 5 practical examples.&#8230;]]></description>
				<content:encoded><![CDATA[<p>The fuser utility in Linux is a powerful tool. As the name suggests it gives information about file user or the process that is currently using the file or directory.</p>
<p>But fuser functionality is not just limited to giving information about the process. The article explains how to use fuser utility with 5 practical examples.</p>
<h3>1. Who is Using a File or Directory?</h3>
<p>This is the basic use of fuser command. i.e to Identify which processes are using a particular file or directory.</p>
<pre>$ fuser  .
./:                   3965c  4175c  4281c  4334c  4337c</pre>
<p><a href="http://www.intowire.com/iWiRE/blog/view/38608/all-about-fuser-in-linux#.UBLppEQG8vU.wordpress" target="_blank">Read full story</a></p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/07/28/all-about-fuser-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Finding the biggest files in Linux</title>
		<link>https://blog.linuxexplore.com/2012/07/28/finding-the-biggest-files-in-linux/</link>
		<comments>https://blog.linuxexplore.com/2012/07/28/finding-the-biggest-files-in-linux/#comments</comments>
		<pubDate>Fri, 27 Jul 2012 19:04:53 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[biggest file]]></category>
		<category><![CDATA[exec]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[heaad]]></category>
		<category><![CDATA[intowire]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[type]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=489</guid>
		<description><![CDATA[A common problem with computers is when you have a number of large files (such as audio/video clips) that you may want to get rid of. You can find the biggest files in the current directory with: ( only in current directory ) ls -lSrh (the r causes the large files to be listed at&#8230;]]></description>
				<content:encoded><![CDATA[<p>A common problem with computers is when you have a number of large files (such as audio/video clips) that you may want to get rid of. You can find the biggest files in the current directory with: ( only in current directory )</p>
<blockquote><p>ls -lSrh (the r causes the large files to be listed at the end, the h gives human readable output (MB and such))</p></blockquote>
<p>You could also search for the biggest MP3/MPEGs:</p>
<blockquote><p>ls -lSrh *.mp*</p></blockquote>
<p>You can also look for the largest directories with:</p>
<blockquote><p>du -kx | egrep -v &#8220;./.+/&#8221; | sort -n</p></blockquote>
<p>You can find the biggest files in your home directory, ( in the whole directory structure ).</p>
<blockquote><p>find ~ -type f -exec ls -s {} ; | sort -n</p></blockquote>
<p>List only the top 10 biggest file.</p>
<blockquote><p>find . -type f -exec ls -s {} ; | sort -nr | head -10</p></blockquote>
<p><a href="http://www.intowire.com/iWiRE/blog/view/7597/finding-the-biggest-files#.UBLkFcOKybw.wordpress" target="_blank">Read full story</a></p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/07/28/finding-the-biggest-files-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What “Everything Is a File” Means on Linux</title>
		<link>https://blog.linuxexplore.com/2012/07/28/intowire-what-everything-is-a-file-means-on-linux/</link>
		<comments>https://blog.linuxexplore.com/2012/07/28/intowire-what-everything-is-a-file-means-on-linux/#comments</comments>
		<pubDate>Fri, 27 Jul 2012 18:48:39 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[Everything is file]]></category>
		<category><![CDATA[intowire]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[proc]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ubuntustudio]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[xubuntu]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=476</guid>
		<description><![CDATA[One of the defining features of Linux and other UNIX-like operating systems is that “everything is a file.” This is an oversimplification, but understanding what it means will help you understand how Linux works. Many things on Linux appear in your file system, but they aren’t actually files. They’re special files that represent hardware devices,&#8230;]]></description>
				<content:encoded><![CDATA[<p><a href="http://linuxexplore.files.wordpress.com/2012/07/dir.png"><img class="aligncenter size-full wp-image-482" title="Directory" src="http://linuxexplore.files.wordpress.com/2012/07/dir.png" alt="Linux" width="640" height="285" /></a></p>
<p>One of the defining features of Linux and other UNIX-like operating systems is that “everything is a file.” This is an oversimplification, but understanding what it means will help you understand how Linux works.</p>
<p>Many things on Linux appear in your file system, but they aren’t actually files. They’re special files that represent hardware devices, system information, and other things — including a random number generator.</p>
<p>These special files may be located in pseudo or virtual file systems such as /dev, which contains special files that represent devices, and /proc, which contains special files that represent system and process information.</p>
<p><a href="http://www.intowire.com/iWiRE/blog/view/28516/what-everything-is-a-file-means-on-linux#.UBLgPZE1rLk.wordpress" target="_blank">Read full story</a></p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/07/28/intowire-what-everything-is-a-file-means-on-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Remove ^M (CTRL+M) from a file in Linux</title>
		<link>https://blog.linuxexplore.com/2012/06/22/remove-m-ctrlm-from-a-file-in-linux/</link>
		<comments>https://blog.linuxexplore.com/2012/06/22/remove-m-ctrlm-from-a-file-in-linux/#comments</comments>
		<pubDate>Thu, 21 Jun 2012 20:22:11 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[control+m]]></category>
		<category><![CDATA[dos2unix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[^M]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=446</guid>
		<description><![CDATA[Unix and windows file formats are different. Sometime a Unix file which edit in Windows put a special character at the end of each line i.e ^M (CTRL+M). It can make that file useless sometime. But no worry you can fix that with ease, just follow the procedure given below: Open the file in vim&#8230;]]></description>
				<content:encoded><![CDATA[<p>Unix and windows file formats are different. Sometime a Unix file which edit in Windows put a special character at the end of each line i.e <strong>^M</strong> (CTRL+M). It can make that file useless sometime.</p>
<p>But no worry you can fix that with ease, just follow the procedure given below:</p>
<ul>
<li>Open the file in <strong>vim</strong> or <strong>vi</strong></li>
</ul>
<blockquote>
<pre>vi myfile</pre>
</blockquote>
<ul>
<li>Then press ESC key, and type</li>
</ul>
<blockquote>
<pre>:%s/^M//g</pre>
</blockquote>
<ul>
<li>Remember <strong>^M</strong> is a special character which can be generated as given in NOTE.</li>
</ul>
<p>sed command can also be used for this as follows:</p>
<blockquote>
<pre>sed 's/^M//g' myfile&gt; newfile</pre>
</blockquote>
<p>^M is also a special character here.</p>
<p>That&#8217;s all, your file is same as last.</p>
<p><strong>NOTE:</strong> Hold the control key and then press v and m to get the <strong>^M</strong> (CTRL+M) character.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/06/22/remove-m-ctrlm-from-a-file-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
