<?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"
	>

<channel>
	<title>Zen Dzign</title>
	<atom:link href="http://www.zendzign.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zendzign.com</link>
	<description>Zen and the art of design.</description>
	<pubDate>Tue, 27 May 2008 09:03:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>CentOS 5.1 Now Available for all VPS packages</title>
		<link>http://www.zendzign.com/2008/05/centos-51-now-available-for-all-vps-packages/</link>
		<comments>http://www.zendzign.com/2008/05/centos-51-now-available-for-all-vps-packages/#comments</comments>
		<pubDate>Tue, 27 May 2008 09:03:06 +0000</pubDate>
		<dc:creator>peterz</dc:creator>
		
		<category><![CDATA[CentOs]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[VPS Servers]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/2008/05/centos-51-now-available-for-all-vps-packages/</guid>
		<description><![CDATA[I am pleased to announce that ZZ Servers now has CentOS 5.1 available as an option for VPS installation.&#160; CentOS or Community Enterprise Operating System is a Linux distribution Enterprise-class Linux Distribution derived from Red Hat Enterprise Linux (RHEL).&#160; CentOS conforms fully with the upstream vendors redistribution policy and aims to be 100% binary compatible. [...]]]></description>
			<content:encoded><![CDATA[<p>I am pleased to announce that ZZ Servers now has CentOS 5.1 available as an option for VPS installation.&#160; <b>CentOS</b> or Community Enterprise Operating System is a Linux distribution Enterprise-class Linux Distribution derived from <a href="http://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux">Red Hat Enterprise Linux</a> (RHEL).&#160; CentOS conforms fully with the upstream vendors redistribution policy and aims to be 100% binary compatible. CentOS mainly changes packages to remove upstream vendor branding and artwork while retaining the same functionality of Red Hat Enterprise Linux.&#160; </p>
<p><span id="more-16"></span></p>
<p>CentOS has numerous advantages over some of the other clone projects including an active and growing user community, quickly rebuilt, tested, and QA&#8217;ed errata packages, an extensive <a href="http://www.centos.org/modules/tinycontent/index.php?id=15">mirror network</a>, developers who are contactable and responsive, multiple free support avenues including <a href="http://www.centos.org/modules/tinycontent/index.php?id=8">IRC Chat</a>, <a href="http://www.centos.org/modules/tinycontent/index.php?id=16">Mailing Lists</a>, <a href="http://www.centos.org/modules/newbb/">Forums</a>, a dynamic <a href="http://www.centos.org/modules/smartfaq/">FAQ</a>.</p>
<p>The following operating systems are now available for all VPS hosting packages:</p>
<ul>
<li>Debian 4.0 (Etch)</li>
<li>Debian 5.0 (Lenny)</li>
<li>Ubuntu 7.04 (Feisty Fawn)</li>
<li>Ubuntu 8.04 LTS (Hardy Heron)</li>
<li>CentOS 5.1</li>
</ul>
<p>Currently all of our operating system versions come as a bare install.&#160; What that means is we do not pre-install anything other than what it takes to get your server up and running.&#160; Not is this method more secure, it allows you to configure the server exactly how you need it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/centos-51-now-available-for-all-vps-packages/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hosted Change Management</title>
		<link>http://www.zendzign.com/2008/05/hosted-change-management/</link>
		<comments>http://www.zendzign.com/2008/05/hosted-change-management/#comments</comments>
		<pubDate>Fri, 23 May 2008 19:41:20 +0000</pubDate>
		<dc:creator>peterz</dc:creator>
		
		<category><![CDATA[Change Management]]></category>

		<category><![CDATA[PCI]]></category>

		<category><![CDATA[Sysadmin]]></category>

		<category><![CDATA[change]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/2008/05/hosted-change-management/</guid>
		<description><![CDATA[I would like to take a moment of your time and introduce the latest feature available to our server dashboard. I am please to announce the beta release of ZZ Servers hosted change management system. 

If you have no idea what change management is, you need it more than you think. Basically, Change Management helps [...]]]></description>
			<content:encoded><![CDATA[<p>I would like to take a moment of your time and introduce the latest feature available to our server dashboard. I am please to announce the beta release of ZZ Servers hosted change management system. </p>
<p><span id="more-15"></span></p>
<p>If you have no idea what change management is, you need it more than you think. Basically, Change Management helps ensure that standardized methods and procedures are used for efficient and prompt handling of all changes to controlled IT infrastructure, in order to minimize the number and impact of any related incidents upon service. </p>
<p>Change Management is required to conform with PCI Data Security Standard 6.4. In addition a standardized change management policy increases productivity. Requirement 6.4 requires change control procedures for all system and software configuration changes. The following PCI standards are met by this module: </p>
<p>6.4.1 Documentation of impact. </p>
<p>6.4.2 Management sign-off by appropriate parties. </p>
<p>6.4.3 Testing of operational functionality. </p>
<p>6.4.4 Back out procedures. </p>
<p>This service is free for any VPS or dedicated server hosted at <a href="http://www.zzservers.com" target="_blank">ZZ Servers</a>.&#160; Be warned in advance though, this is a beta release. </p>
<p>To access your dashboard, go to <a href="https://www.zzservers.com/dashboard/">https://www.zzservers.com/dashboard/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/hosted-change-management/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OpenSSL Vulnerability</title>
		<link>http://www.zendzign.com/2008/05/openssh-vulnerability/</link>
		<comments>http://www.zendzign.com/2008/05/openssh-vulnerability/#comments</comments>
		<pubDate>Fri, 23 May 2008 19:18:37 +0000</pubDate>
		<dc:creator>peterz</dc:creator>
		
		<category><![CDATA[Debian]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[openssl]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/2008/05/openssh-vulnerability/</guid>
		<description><![CDATA[A weakness has been discovered in the random number generator used by OpenSSL on Debian and Ubuntu systems. As a result of this weakness, certain encryption keys are much more common than they should be, such that an attacker could guess the key through a brute-force attack given minimal knowledge of the system. This particularly [...]]]></description>
			<content:encoded><![CDATA[<p>A weakness has been discovered in the random number generator used by OpenSSL on Debian and Ubuntu systems. As a result of this weakness, certain encryption keys are much more common than they should be, such that an attacker could guess the key through a brute-force attack given minimal knowledge of the system. This particularly affects the use of encryption keys in OpenSSH. </p>
<p><span id="more-14"></span></p>
<p>This vulnerability only affects operating systems which (like Ubuntu) are based on Debian. However, other systems can be indirectly affected if weak keys are imported into them. We consider this an extremely serious vulnerability, and urge all users to act immediately to secure their systems. </p>
<p>The following Ubuntu releases are affected: </p>
<ul>
<li>Ubuntu 7.04 </li>
<li>Ubuntu 7.10 </li>
<li>Ubuntu 8.04 LTS</li>
<li>Debian Etch 4.0</li>
<li>Debian Lenny 5.0</li>
</ul>
<p>For more details visit these links:</p>
<ul>
<li>Ubuntu: <a title="http://www.ubuntu.com/usn/usn-612-2" href="http://www.ubuntu.com/usn/usn-612-2">http://www.ubuntu.com/usn/usn-612-2</a></li>
<li>Debian: <a title="http://www.debian.org/security/2008/dsa-1571" href="http://www.debian.org/security/2008/dsa-1571">http://www.debian.org/security/2008/dsa-1571</a></li>
</ul>
<p>We consider this an extremely serious vulnerability, and urge all users to act immediately to secure their systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/openssh-vulnerability/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Securing Xen in a Distributed Environment</title>
		<link>http://www.zendzign.com/2008/05/securing-xen-in-a-distributed-environment/</link>
		<comments>http://www.zendzign.com/2008/05/securing-xen-in-a-distributed-environment/#comments</comments>
		<pubDate>Tue, 13 May 2008 07:54:25 +0000</pubDate>
		<dc:creator>peterz</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/2008/05/securing-xen-in-a-distributed-environment/</guid>
		<description><![CDATA[Xen is one of the newest virtualization platforms available that can securely run multiple virtual guest servers, each running its own operating system, on a single physical system with close to native performance.&#160; It is available on many Linux platforms as an open source application and directly from XenSource Inc.&#160; 

With the advent of multiple [...]]]></description>
			<content:encoded><![CDATA[<p>Xen is one of the newest virtualization platforms available that can securely run multiple virtual guest servers, each running its own operating system, on a single physical system with close to native performance.&#160; It is available on many Linux platforms as an open source application and directly from XenSource Inc.&#160; </p>
<p><span id="more-13"></span></p>
<p>With the advent of multiple core processors and Xen, it is possible to virtualize an entire data center and fit 50 or more independent servers into one Xen server.&#160; There are a number of third-party tools or known as management consoles have been developed to facilitate the common tasks of administering a Xen host, such as configuring, starting, monitoring and stopping of Xen guests. Examples include <a href="http://en.wikipedia.org/wiki/Enomalism">Enomalism</a>, <a href="http://www.xen-tools.org/software/xen-tools/">Xen Tools</a>, Google&#8217;s <a href="http://code.google.com/p/ganeti/">Ganeti</a>, <a href="http://mln.sourceforge.net/">MLN</a>, <a href="http://en.wikipedia.org/wiki/HyperVM">HyperVM</a>, <a href="http://en.wikipedia.org/wiki/FluidVM">FluidVM</a>, <a href="http://xenman.sourceforge.net/">ConVirt</a> (formerly <a href="http://en.wikipedia.org/wiki/XenMan">XenMan</a>) and Red Hat&#8217;s Virtual Machine Manager, <a href="http://virt-manager.et.redhat.com/">virt-manager</a>.&#160; Unfortunately, all of them fall short in one area or another in a distributed, secure and automated environment.</p>
<p>I will not get into how each of these management programs work but with few exceptions, they require complex installations into the Domain-0 or privileged domain and require incoming connections to it, or require a local desktop tool.&#160; While this is convenient, it is not completely secure and can potentially lead to vulnerabilities.&#160; If Domain-0 is ever compromised, all other guest domains running in it are vulnerable as well.&#160; As a basic for security, the following should be required:</p>
<ol>
<li>
<p>Run the smallest number of necessary services on Domain-0. </p>
</li>
<li>
<p>Use a firewall to restrict the traffic Domain-0.</p>
</li>
<li>
<p>Do not allow users to access Domain-0.</p>
</li>
<li>
<p>Do not allow any incoming connections to Domain-0.</p>
</li>
</ol>
<p>So, How do you manage a Xen server remotely if you cannot directly access Domain-0 you say?&#160; The answer is almost too simple, Domain-0 will use outgoing connections to a remote server.&#160; This not only allows the server to be more secure, it can potentially reduce memory and load requirements of the management domain.</p>
<p>Currently, we have working scripts that can provision and manage guest domains as well as send statistics to a remote server.&#160; These scripts are only just beginning but are currently working in a production environment.&#160; Each are released using GPL licensing in hopes that others will gain some use and provide feedback so we can make managing xen servers easier and more secure.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/securing-xen-in-a-distributed-environment/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Act Now To Prevent Data Breaches</title>
		<link>http://www.zendzign.com/2008/05/act-now-to-prevent-data-breaches/</link>
		<comments>http://www.zendzign.com/2008/05/act-now-to-prevent-data-breaches/#comments</comments>
		<pubDate>Tue, 13 May 2008 07:42:09 +0000</pubDate>
		<dc:creator>peterz</dc:creator>
		
		<category><![CDATA[PCI]]></category>

		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/2008/05/act-now-to-prevent-data-breaches/</guid>
		<description><![CDATA[After twelve months of increasingly dramatic press headlines about failures to safeguard personal data records, it&#8217;s time to assess the size of the issue and identify best practice steps for reducing the incidence of, and damage caused by, these data breaches.
The IT Governance Data Breaches Report identifies that spectacular data breaches, such as the UK&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>After twelve months of increasingly dramatic press headlines about failures to safeguard personal data records, it&#8217;s time to assess the size of the issue and identify best practice steps for reducing the incidence of, and damage caused by, these data breaches.</p>
<p>The IT Governance Data Breaches Report identifies that spectacular data breaches, such as the UK&#8217;s HMRC CD-Rom fiasco and the prolonged theft of TK Maxx credit card records, are not caused by the misdemeanor of a junior employee but arise, rather, from systemically inadequate information security arrangements at the organizations where the incident occurs.</p>
<p><span id="more-12"></span></p>
<p>A data breach is &#8216;the unauthorized disclosure by an organization of personally identifiable information, where that disclosure compromises the security, confidentiality, or integrity of the data that has been disclosed.&#8217;</p>
<p>The Attrition database shows that the numbers of reported data breaches in the US increased from 22 in 2004 to 326 in 2006. The pattern in the UK and elsewhere is similar. Three developments in recent years make addressing this issue a real priority:</p>
<p>1. Identify theft is a low-risk, high return option for organized crime. Traditional crime, including violent robbery and theft, has clearly identifiable risks. It is easy to be recorded on video by CCTV, seen by witnesses or caught by means of DNA, and the returns are relatively low. High-tech crime, on the other hand, creates real problems for the police force and is, conversely, relatively low-risk for the criminal. Contributing factors include the perpetrator&#8217;s anonymity, the speed at which crimes can be committed, the volatility or transience of evidence, the trans-jurisdictional nature of cybercrime and the high costs of investigation.</p>
<p>2. Legal and regulatory compliance initiatives, such as the EU Data Protection directive and California&#8217;s data breach disclosure law, SB1386, have both formalized the concept that personal data must be legally protected, and introduced penalties for failing to do so.</p>
<p>3. The proliferation of mobile data storage devices has changed the boundaries of where we store our data and effectively eliminated &quot;fixed fortifications&quot; as an effective tool for preventing data breaches.</p>
<p>The number of data breaches reported both within the US and the UK has been steadily increasing since 2006. In the US, the introduction of California&#8217;s data breach disclosure law, SB1386, in July 2003 led to a greater awareness of data breaches and, as a consequence, greater reporting of them. Within the UK, the numbers of reported data breaches has also been steadily rising, with a large increase in the number of reported data breaches following the HMRC breach. The peaks in reported data breaches following the disclosure of the UK&#8217;s HMRC data loss, suggests that there were - and probably still are - many data breaches that go unreported and research suggests that organizations are reluctant to officially report data breaches unless they have already been exposed. The evidence suggests that waiting to be found out is not the best strategy.</p>
<p>12% of reported breaches in the UK were at regulated financial services organizations. Those reported in the unregulated private sector are much lower. An extrapolation from this behavior is that the likely scale and cost of data breaches in this sector in the UK is probably much bigger than has actually been reported - and at least as great as that in the public and regulated sectors.</p>
<p>The reported number of internally caused data breaches remains lower than external ones, but averages to around a third of those reported each year since 2000. Many data breaches are self-inflicted in that organizations adopt confidentiality regimes that make it difficult for people to actually do their job and, as a result, they bypass controls with unpredictable but inevitable data breach consequences.</p>
<p>The Ponemon report commented that &quot;the investment required to prevent a data breach is dwarfed by the resulting costs of a breach&quot; and &quot; the return on investment (ROI) and justification for preventative measures is clear&quot;. Costs of data breaches - legal costs, the costs of restitution, brand damage, lost customers and so on - are significant; for financial services organizations, it was about &#163;55 per compromised record.</p>
<p>Whilst not involving legal compliance, if an organization has a credit card-related data breach and is found not in compliance with the Payment Card Industry Data Security Standard (PCI DSS), there are potentially severe contractual and financial penalties, including a bar on the business accepting payment cards.</p>
<p>All these factors make the protection of personal data a key business and compliance responsibility; the information security management standard ISO27001 provides a best-practice specification for an information security management system that would meet the requirements of the Data Protection Act 1998.</p>
<p>The most important steps for Data Protection Act compliance are:</p>
<p>As a minimum:</p>
<p>1. Encrypt all personal data on laptops; whole disk encryption is a more secure solution than folder or file level encryption, and FIPS 140-2 is the recognized standard for encryption engines.</p>
<p>2. Encrypt all removable and portable media that might contain personal data, including USB drives, CD-Roms and magnetic backup tapes.</p>
<p>In addition:</p>
<p>3. Establish rigorous procedures to ensure the physical destruction of redundant computer drives, magnetic media and paper records prior to disposal, and ensure that disposals are made in line with a formal data retention timetable.</p>
<p>4. Organizations that accept credit and other payment cards should also comply with the PCI DSS.</p>
<p>5. Provide regular training and awareness on legal responsibilities for all staff that deal with personal data.</p>
<p>6. Deploy outward-bound channel (email, instant messenger) filtering software with customized dictionaries for relevant legislation such as DPA, PCI, etc</p>
<p>7. Establish a vulnerability patching program and implement anti-malware software.</p>
<p>8. Implement a business-driven access control policy, combined with effective authentication.</p>
<p>9. Develop an incident management plan that enables the organization to respond effectively to any data breaches.</p>
<p><a href="http://www.itgovernance.co.uk/products/1615">Data Breaches Report</a>    <br /><a href="http://www.itgovernance.co.uk/iso27001.aspx">ISO27001</a>    <br /><a href="http://www.itgovernance.co.uk/products/1633">PCI DSS</a></p>
<p>Article Source: <a href="http://EzineArticles.com">http://EzineArticles.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/act-now-to-prevent-data-breaches/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Important Concepts For Linux Beginners - Permissions And Groups</title>
		<link>http://www.zendzign.com/2008/05/important-concepts-for-linux-beginners-permissions-and-groups-2/</link>
		<comments>http://www.zendzign.com/2008/05/important-concepts-for-linux-beginners-permissions-and-groups-2/#comments</comments>
		<pubDate>Tue, 13 May 2008 05:38:52 +0000</pubDate>
		<dc:creator>peterz</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[permissions]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/2008/05/important-concepts-for-linux-beginners-permissions-and-groups-2/</guid>
		<description><![CDATA[The easiest way to learn Linux permissions is from an example. The ls -l command generates a list of contents, such as files along with their permissions. Let&#8217;s take a look at the default values for a file called Filename. We are adding spaces to make the output more legible.

- rw- r&#8211; r&#8211; other information [...]]]></description>
			<content:encoded><![CDATA[<p>The easiest way to learn Linux permissions is from an example. The ls -l command generates a list of contents, such as files along with their permissions. Let&#8217;s take a look at the default values for a file called Filename. We are adding spaces to make the output more legible.</p>
<p><span id="more-11"></span></p>
<p>- rw- r&#8211; r&#8211; other information about the file Filename</p>
<p>The initial - signifies that this is a file (not a directory). The next three characters refer to the file permissions for the file owner, in many cases the person who created the file. The values rw- signify that the owner has read and write (modify) permission but not execute permission. Had these values been r-x the owner would be able to read and execute the file (program) but not modify it. The second set of values r&#8211; signify that the members of the group associated with this file have read but not write or execute permission. The third set of values also r&#8211; signify that other users have read but not write or execute permission.</p>
<p>Permissions are often handled numerically. The r has a value of 4, the w has a value of 2, and the x has a value of 1. In all cases the lack of permission has the value 0. So rw- has the value 6 and r&#8211; has the value 4. In the above example the permissions may be expressed as 644. The full set of permissions for everyone is expressed as 777 (not usually a good idea).</p>
<p>Note that the root user&#8217;s permissions aren&#8217;t listed. This shouldn&#8217;t be surprising because root has essentially complete permissions. But even root&#8217;s doesn&#8217;t have execute permissions for a file it creates. This permission must be added in a separate step. Why? This two-step procedure has important security implications. Let&#8217;s say that someone, perhaps root, has received an email that contains a virus-infested executable program. The program cannot be executed without the explicit permission of root or the recipient. If the user doesn&#8217;t know what to do the virus won&#8217;t be launched.</p>
<p>Linux defines permissions for directories that are similar to but not exactly the same as the file permissions. A read permission on a directory means that its contents may be listed. A write permission on a directory means that the user can modify its contents, by adding, deleting, or renaming files. An execute permission on a directory means that it may be accessed, in other words made the current working directory.</p>
<p>Permissions may be changed via the chmod command as in the example chmod 770 Junque which gives read, write, and execute permissions to the file owner and members of the ownership group but no permissions to anyone else. Not everyone likes working with these numbers. The symbolic mode uses letters and the plus and minus signs to change permissions.</p>
<p>The following command removes the write permission from the user (owner) of the Perm file chmod u-w Perm. To add the execute permission for others, people who do not belong to the group that owns the file apply the command chmod o+x Perm This command only makes sense if the Perm file is executable. Furthermore, under most circumstances the file owner and his or her group will have more permissions that the others. Linux doesn&#8217;t always check to see that your command really makes sense. Do you think that Windows is more intelligent in this respect?</p>
<p>The chown command is used to change the ownership of a file or a directory. The chgrp command is used to change the group ownership of files and directories. These commands might be used when a project passes from the development to the testing stage. Needless to say only the system administrator can execute these commands.</p>
<p>Of course there is more to Linux permissions and groups but we have covered the basics. The next article in this series discusses inodes, a topic that is sorely missing from the Windows bag of tricks.</p>
<p>Levi Reiss has authored or co-authored ten books on computers and the Internet. He loves the occasional glass of wine as exemplified by his wine websites including <a href="http://www.theworldwidewine.com">http://www.theworldwidewine.com</a>. He teaches Linux and Windows operating systems plus other computer courses at an Ontario French-language community college. Visit his new website <a href="http://www.linux4windows.com">http://www.linux4windows.com</a> which teaches you how to download and run Damn Small Linux on Windows computers, even if they are &quot;obsolete.&quot;</p>
<p>Article Source: <a href="http://EzineArticles.com">http://EzineArticles.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/important-concepts-for-linux-beginners-permissions-and-groups-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How To Set Up A Ubuntu/Debian LAMP Server</title>
		<link>http://www.zendzign.com/2008/05/how-to-set-up-a-ubuntudebian-lamp-server/</link>
		<comments>http://www.zendzign.com/2008/05/how-to-set-up-a-ubuntudebian-lamp-server/#comments</comments>
		<pubDate>Sat, 10 May 2008 14:03:53 +0000</pubDate>
		<dc:creator>peterz</dc:creator>
		
		<category><![CDATA[Debian]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Sysadmin]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[apache]]></category>

		<category><![CDATA[lamp]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://www.zendzign.com/2008/05/how-to-set-up-a-ubuntudebian-lamp-server/</guid>
		<description><![CDATA[Build Your Own Debian/Ubuntu LAMP Server - Quick &#38; Easy Do it Yourself Installation

Apache 2 - Linux Web server
MySQL 5 - MySQL Database Server
PHP4/5 - PHP Scripting Language
phpMyAdmin - Web-based database admin software.

Note: Linux + Apache + MySQL + PHP/Perl together commonly known as LAMP Server.

First, let us prepare a system that has a minimum [...]]]></description>
			<content:encoded><![CDATA[<h3>Build Your Own Debian/Ubuntu LAMP Server - Quick &amp; Easy Do it Yourself Installation</h3>
<ul>
<li>Apache 2 - Linux Web server</li>
<li>MySQL 5 - MySQL Database Server</li>
<li>PHP4/5 - PHP Scripting Language</li>
<li>phpMyAdmin - Web-based database admin software.</li>
</ul>
<p>Note: <strong>L</strong>inux + <strong>A</strong>pache + <strong>M</strong>ySQL + <strong>P</strong>HP/Perl together commonly known as <strong>LAMP Server</strong>.</p>
<p><span id="more-8"></span></p>
<p>First, let us prepare a system that has a minimum requirement of Debian/Ubuntu version of Linux with at least<strong> <a href="http://www.zzservers.com/hosting/virtual-private-servers/256/" target="_blank">256MB of RAM available</a></strong>.<strong> </strong>Anything less than this minimum ram will cause lot of problems since we are running a server along especially MySQL and Webmin requires lots of RAM to run properly. MySQL will give you this nasty error &#8220;cannot connect to mysql.sock&#8221; if you don&#8217;t have enough memory in your server.</p>
<p>I love Debian/Ubuntu based Linux because of my enormous affinity towards this command apt-get. As a starter knowing this one command, It is so easy to install packages and you don&#8217;t need to worry about package dependency and configuration. You need to buy a dedicated server or a VPS package if you want to setup your own server. If you want to experiment with the server and installation it is recommended to buy a VPS package. Believe it or not it is so easy to install and configure your server yourself even though you are new are to Linux and dedicated/VPS hosting.</p>
<p>First download <a href="http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe" target="_blank">PuTTy</a> if you are accessing your server through SSH. Just enter the IP of your server with root login to access your host. As you probably know, <a href="http://www.webmin.com/" target="_blank">Webmin</a> is a freely available server control panel and we will setup this once we have completed the LAMP server and Mail Server. Webmin makes more easier for us to fine tune our Linux box.</p>
<p>Before proceeding to install, update the necessary packages with Debian with this command.</p>
<p class="command">apt-get install update</p>
<h3>1. Installing Apache + PHP</h3>
<p>Apache is one of the most famous web server which runs on most Linux based servers. With just few commands you can configure apache to run with PHP 4 or PHP 5.</p>
<p>If you want to install PHP 4, just apt-get</p>
<p class="command">apt-get install apache2 php4 libapache2-mod-php4</p>
<p>To install PHP5, just run the following on Linux shell. Note that if you don&#8217;t specify packages with &#8216;4&#8242;, PHP5 will be automatically installed.</p>
<p class="command">apt-get install apache2 php5 libapache2-mod-php5</p>
<p>Apache configuration file is located at: <span class="system">/etc/apache2/apache2.conf</span> and your web folder is <span class="system">/var/www</span>.</p>
<p>To check whether php is installed and running properly, just create a <span class="system">test.php</span> in your <span class="system">/var/www</span> folder with <span class="system">phpinfo()</span> function exactly as shown below.</p>
<p class="command">vi /var/www/test.php</p>
<pre># test.php
&lt;?php phpinfo(); ?&gt;</pre>
<p>Point your browser to <span class="system">http://ip.address/test.php</span> or <span class="system">http://domain/test.php</span> and this should show all your php configuration and default settings.</p>
<p>You can edit necessary values or setup virtual domains using apache configuration file.</p>
<h3>2. Installing MySQL Database Server</h3>
<p>Installing mysql database server is always necessary if you are running a database driven e-commerce site. Remember running MySQL server to a fair extend requires at least 256mb of RAM in your server. So unless you are running database driven sites you don&#8217;t absolutely need MySQL. The following commands will install MySQL 5 server and MySQL 5 client.</p>
<p class="command">apt-get install mysql-server mysql-client php5-mysql</p>
<p>Note: If you have already installed php4, you should make a slight change like this.</p>
<p class="command">apt-get install mysql-server mysql-client php4-mysql</p>
<p>The configuration file of MySQL is located at: <span class="system">/etc/mysql/my.cnf</span></p>
<h4>Creating users to use MySQL and Changing Root Password</h4>
<p>By default mysql creates user as root and runs with no passport. You might need to change the root password.</p>
<p>To change Root Password</p>
<p class="command">mysql -u root</p>
<p>mysql&gt; USE mysql;</p>
<p>mysql&gt; UPDATE user SET Password=PASSWORD(&#8217;new-password&#8217;) WHERE user=&#8217;root&#8217;;</p>
<p>mysql&gt; FLUSH PRIVILEGES;</p>
<p>You must <strong>never use root password</strong>, so you might need to create a user to connect to MySQL database for a PHP script. Alternatively you can add users to MySQL database by using a control panel like <strong>Webmin</strong> or <strong>phpMyAdmin</strong> to easily create or assign database permission to users. We will install Webmin and phpMyAdmin during later once we complete basic installation.</p>
<h3>3. PhpMyAdmin Installation</h3>
<p>PhpMyAdmin is a nice web based database management and administration software and easy to install and configure under apache. Managing databases with tables couldn&#8217;t be much simpler by using phpMyAdmin.</p>
<p>All you need to do is:</p>
<p class="command">apt-get install phpmyadmin</p>
<p>The phpMyAdmin configuration file is located at: <span class="system">/etc/phpmyadmin</span> folder.</p>
<p>To set up under Apache all you need to do is include the following line in <span class="system">/etc/apache2/apache2.conf</span>:</p>
<pre>Include /etc/phpmyadmin/apache.conf</pre>
<p>Now restart Apache:</p>
<p class="command">/etc/init.d/apache2 restart</p>
<p>Point your browser to: <span class="system">http://domain/phpmyadmin</span></p>
<p>That&#8217;s it! MySQL and phpMyAdmin are ready. Log in with your mysql root password and create users to connect to database from your php script.</p>
<p><em>This tutorial was written by Scott who currently runs <a href="http://www.mysql-apache-php.com/" target="_blank">MySQL-Apache-PHP.com</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/how-to-set-up-a-ubuntudebian-lamp-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What Version of Debian Am I Running?</title>
		<link>http://www.zendzign.com/2008/05/what-version-of-debian-am-i-running/</link>
		<comments>http://www.zendzign.com/2008/05/what-version-of-debian-am-i-running/#comments</comments>
		<pubDate>Fri, 09 May 2008 18:15:25 +0000</pubDate>
		<dc:creator>peterz</dc:creator>
		
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://zendzign.com/?p=7</guid>
		<description><![CDATA[On a Debian system, the file `/etc/debian_version&#8217; contains the release name of the Debian installed.
Use cat to output the contents of this file (see Concatenating Text).
* To output the release name of the Debian system you are on, type:
$ cat /etc/debian_version
NOTE: Debian releases have historically been named after characters from the motion picture Toy Story.
]]></description>
			<content:encoded><![CDATA[<p>On a Debian system, the file `/etc/debian_version&#8217; contains the release name of the Debian installed.</p>
<p>Use cat to output the contents of this file (see Concatenating Text).</p>
<p>* To output the release name of the Debian system you are on, type:</p>
<p>$ cat /etc/debian_version</p>
<p>NOTE: Debian releases have historically been named after characters from the motion picture Toy Story.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/what-version-of-debian-am-i-running/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Useful Commands For The Linux Command Line</title>
		<link>http://www.zendzign.com/2008/05/useful-commands-for-the-linux-command-line/</link>
		<comments>http://www.zendzign.com/2008/05/useful-commands-for-the-linux-command-line/#comments</comments>
		<pubDate>Fri, 09 May 2008 18:13:43 +0000</pubDate>
		<dc:creator>peterz</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[cli]]></category>

		<category><![CDATA[command line]]></category>

		<guid isPermaLink="false">http://zendzign.com/?p=6</guid>
		<description><![CDATA[This short guide shows some important commands for your daily work on the Linux command line.

arch
Outputs the processor architecture.
$ arch
i686
cat
Outputs the contents of a file.
$ cat lorem.txt
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris [...]]]></description>
			<content:encoded><![CDATA[<p>This short guide shows some important commands for your daily work on the Linux command line.</p>
<p><span id="more-6"></span></p>
<h3>arch</h3>
<p>Outputs the processor architecture.</p>
<p>$ arch</p>
<p>i686</p>
<h3>cat</h3>
<p>Outputs the contents of a file.</p>
<p>$ cat lorem.txt</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<h3>cd</h3>
<p>Change the working directory.</p>
<p>$ cd /bin</p>
<h3>chgrp</h3>
<p>Change group ownership of files.</p>
<p>$ chgrp games moo.txt</p>
<h3>chmod</h3>
<p>Change access permissions of files.</p>
<p>$ chmod +x helloworld</p>
<h3>chown</h3>
<p>Change file owner and group.</p>
<p># chown root lorem.txt</p>
<h3>cksum</h3>
<p>Print CRC checksum and byte counts of each file.</p>
<p>$ cksum lorem.txt moo.txt</p>
<p>3570240675 453 lorem.txt</p>
<p>4294967295 0 moo.txt</p>
<h3>cp</h3>
<p>Copies a file.</p>
<p>$ cp lorem.txt copy_of_lorem.txt</p>
<h3>date</h3>
<p>Outputs the current date and time.</p>
<p>$ date</p>
<p>Sat Mar 3 12:07:09 GMT 2007</p>
<h3>df</h3>
<p>Reports the amount of disk space used and available on filesystems.</p>
<p>$ df</p>
<p>Filesystem 1K-blocks Used Available Use% Mounted on&lt;br&gt;</p>
<p>/dev/simfs 39845888 218048 39627840 1% /</p>
<h3>dir</h3>
<p>List directory contents.</p>
<p>$ dir</p>
<p>copy_of_lorem.txt lorem.txt moo.txt www</p>
<h3>du</h3>
<p>Estimate file space usage.</p>
<p>$ du -h /bin</p>
<p>7.8M /bin</p>
<h3>echo</h3>
<p>Display a line of text.</p>
<p>$ echo foobar</p>
<p>foobar</p>
<h3>exit</h3>
<p>Cause the shell to exit.</p>
<p>$ exit</p>
<h3>fgrep</h3>
<p>Print lines matching a pattern in a file.</p>
<p>$ fgrep &#8220;irure dolor&#8221; lorem.txt</p>
<p>commodo consequat. Duis aute irure dolor in reprehenderit in voluptate</p>
<h3>find</h3>
<p>Search for files in a directory hierarchy.</p>
<p>$ find hello*</p>
<p>hello_world</p>
<p>hello_world.c</p>
<h3>free</h3>
<p>Display amount of free and used memory in the system.</p>
<p>$ free</p>
<p>total used free shared buffers cached</p>
<p>Mem: 8299892 8287708 12184 0 2641772 1731236</p>
<p>Low: 3581300 3572764 8536</p>
<p>High: 4718592 4714944 3648</p>
<p>-/+ buffers/cache: 3914700 4385192</p>
<p>Swap: 8193140 2335664 5857476</p>
<h3>grep</h3>
<p>Print lines matching a pattern.</p>
<p>$ grep -i apple fruitlist.txt</p>
<p>apple</p>
<h3>groups</h3>
<p>Outputs the user groups of which your account belongs to.</p>
<p>$ groups</p>
<p>games users</p>
<h3>head</h3>
<p>Output the first part of files.</p>
<p>$ head -2 lorem.txt</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod</p>
<p>tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim</p>
<h3>hostname</h3>
<p>Outputs the machines hostname on the network.</p>
<p>$ hostname</p>
<p>anapnea.net</p>
<h3>id</h3>
<p>Outputs user id, group id, and groups of your account.</p>
<p>$ id</p>
<p>uid=1478(smallfoot) gid=100(users) groups=35(games),100(users)</p>
<h3>kill</h3>
<p>End a process.</p>
<p>$ kill -9 18298</p>
<p>-bash: kill: (18298) - Operation not permitted</p>
<h3>killall</h3>
<p>Kill processes by name.</p>
<p>$ killall irssi</p>
<p>irssi(18298): Operation not permitted</p>
<p>irssi(13372): Operation not permitted</p>
<p>irssi(22048): Operation not permitted</p>
<p>irssi: no process killed</p>
<h3>last</h3>
<p>Show listing of last logged in users.</p>
<p>$ last -n 3</p>
<p>alice pts/6 192.0.34.166 Fri May 18 16:17 still logged in</p>
<p>bob pts/2 64.233.183.103 Fri May 18 16:17 still logged in</p>
<p>clare pts/6 72.5.124.61 Fri May 18 15:54 - 15:55 (00:01)</p>
<h3>ldd</h3>
<p>Print shared library dependencies.</p>
<p>$ ldd /bin/bash</p>
<p>libncurses.so.5 =&gt; /lib/libncurses.so.5 (0&#215;40023000)</p>
<p>libdl.so.2 =&gt; /lib/libdl.so.2 (0&#215;40065000)</p>
<p>libc.so.6 =&gt; /lib/libc.so.6 (0&#215;40069000)</p>
<p>/lib/ld-linux.so.2 (0&#215;40000000)</p>
<h3>ln</h3>
<p>Make links between files.</p>
<p>$ ln -s data.txt symlink.txt</p>
<h3>logname</h3>
<p>Print user&#8217;s login name.</p>
<p>$ logname</p>
<p>smallfoot</p>
<h3>ls</h3>
<p>List directory contents.</p>
<p>$ ls</p>
<p>copy_of_lorem.txt lorem.txt moo.txt www</p>
<h3>man</h3>
<p>Opens the manual page for a software or function.</p>
<p>$ man bash</p>
<h3>md5sum</h3>
<p>Outputs the MD5 hash sum of a file.</p>
<p>$ md5sum lorem.txt</p>
<p>56da9e37259af34345895883e6fd1a27 lorem.txt</p>
<h3>mkdir</h3>
<p>Makes a directory.</p>
<p>$ mkdir foobar</p>
<h3>mv</h3>
<p>Moves a file.</p>
<p>$ mv lorem.txt ipsum.txt</p>
<h3>nl</h3>
<p>Number lines of files.</p>
<p>$ nl lorem.txt</p>
<p>1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod</p>
<p>2 tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim</p>
<p>3 veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea</p>
<p>4 commodo consequat. Duis aute irure dolor in reprehenderit in voluptate</p>
<p>5 velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint</p>
<p>6 occaecat cupidatat non proident, sunt in culpa qui officia deserunt</p>
<p>7 mollit anim id est laborum.</p>
<h3>nm</h3>
<p>List symbols from object files.</p>
<p>$ nm hello_world</p>
<p>080494a0 D _DYNAMIC</p>
<p>0804956c D _GLOBAL_OFFSET_TABLE_</p>
<p>08048474 R _IO_stdin_used</p>
<p>w _Jv_RegisterClasses</p>
<p>08049490 d __CTOR_END__</p>
<p>0804948c d __CTOR_LIST__</p>
<p>08049498 d __DTOR_END__</p>
<p>&#8230;</p>
<h3>od</h3>
<p>Dump files in octal and other formats.</p>
<p>$ od -t x /bin/sh</p>
<p>2376640 00098020 000054d4 00000000 00000000</p>
<p>2376660 00000020 00000000 000000c7 00000008</p>
<p>2376700 00000003 080e6500 0009d4f4 00004ae8</p>
<p>&#8230;</p>
<h3>pidof</h3>
<p>Find the process ID of a running program.</p>
<p>$ pidof fetchmail</p>
<p>22392</p>
<h3>ping</h3>
<p>Pings a host.</p>
<p>$ ping -c 2 127.0.0.1</p>
<p>PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.</p>
<p>64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.048 ms</p>
<p>64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.052 ms</p>
<p>&#8212; 127.0.0.1 ping statistics &#8212;</p>
<p>2 packets transmitted, 2 received, 0% packet loss, time 999ms</p>
<p>rtt min/avg/max/mdev = 0.048/0.050/0.052/0.002 ms</p>
<h3>ps</h3>
<p>Outputs running processes.</p>
<p>$ ps</p>
<p>PID TTY TIME CMD</p>
<p>21542 pts/12 00:00:00 bash</p>
<p>27706 pts/12 00:00:00 ps</p>
<h3>pstree</h3>
<p>Display a tree of processes.</p>
<p>$ pstree</p>
<p>init-+-2*[BitchX]</p>
<p>|-3*[bash---sleep]</p>
<p>|-fetchmail</p>
<p>|-screen-+-bash&#8212;irssi</p>
<p>| `-bash&#8212;ctorrent</p>
<p>|-screen-+-bash&#8212;lisp.run</p>
<p>| |-bash&#8212;vi</p>
<p>| |-2*[bash]</p>
<p>| `-bash&#8212;lynx</p>
<p>|-2*[screen---bash---irssi]</p>
<p>|-screen&#8212;irssi</p>
<p>|-screen&#8212;bash</p>
<p>|-screen-+-bash</p>
<p>| `-irssi</p>
<p>|-skjerm&#8212;irssi</p>
<p>|-sshd-+-5*[sshd---sshd---bash---irssi]</p>
<p>| |-8*[sshd---sshd---bash]</p>
<p>| |-sshd&#8212;sshd&#8212;bash&#8212;screen</p>
<p>| |-sshd&#8212;sshd</p>
<p>| `-sshd&#8212;sshd&#8212;bash&#8212;pstree</p>
<p>`-syslog-ng</p>
<h3>pwd</h3>
<p>Outputs the name of current working directory.</p>
<p>$ pwd</p>
<p>/home/smallfoot</p>
<h3>rm</h3>
<p>Removes a file or directory.</p>
<p>$ rm lorem.txt</p>
<h3>rmdir</h3>
<p>Removes a directory.</p>
<p>$ rmdir foobar</p>
<h3>sed</h3>
<p>Stream editor for filtering and transforming text.</p>
<p>$ echo &#8220;My cat&#8217;s name is Bob&#8221; | sed -e &#8217;s/Bob/Mittens/g&#8217;</p>
<p>My cat&#8217;s name is Mittens</p>
<h3>sha1sum</h3>
<p>Outputs the SHA1 hash sum of a file.</p>
<p>$ sha1sum lorem.txt</p>
<p>c942ddebd142ec8bacac9213d48096e74bab4957 lorem.txt</p>
<h3>shutdown</h3>
<p>Bring the system down in a secure way. All logged-in users are notified that the system is going down.</p>
<p>$ shutdown now</p>
<h3>size</h3>
<p>List section sizes and total size.</p>
<p>$ size /bin/bash</p>
<p>text data bss dec hex filename</p>
<p>621233 22712 19176 663121 a1e51 /bin/bash</p>
<h3>stat</h3>
<p>Outputs file status.</p>
<p>$ stat lorem.txt</p>
<p>File: `lorem.txt&#8217;</p>
<p>Size: 453 Blocks: 8 IO Block: 4096 regular file</p>
<p>Device: 77h/119d Inode: 27312217 Links: 1</p>
<p>Access: (0644/-rw-r&#8211;r&#8211;) Uid: ( 1478/smallfoot) Gid: ( 100/ users)</p>
<p>Access: 2007-03-03 12:24:39.000000000 +0000</p>
<p>Modify: 2007-03-03 12:24:39.000000000 +0000</p>
<p>Change: 2007-03-03 12:24:39.000000000 +0000</p>
<h3>strings</h3>
<p>Print the strings of printable characters in files.</p>
<p>$ strings hello_world</p>
<p>/lib/ld-linux.so.2</p>
<p>_Jv_RegisterClasses</p>
<p>__gmon_start__</p>
<p>libc.so.6</p>
<p>puts</p>
<p>_IO_stdin_used</p>
<p>__libc_start_main</p>
<p>GLIBC_2.0</p>
<p>PTRh%</p>
<p>[^_]</p>
<p>Hello World!</p>
<h3>tail</h3>
<p>Output the last part of files.</p>
<p>$ tail -2 lorem.txt</p>
<p>occaecat cupidatat non proident, sunt in culpa qui officia deserunt</p>
<p>mollit anim id est laborum.</p>
<h3>talk</h3>
<p>Talk to another user.</p>
<p>$ talk bob Lookout for the dopefish!</p>
<h3>touch</h3>
<p>Change a file&#8217;s access and modification timestamps. If file does not exist, create it.</p>
<p>$ touch lorem.txt</p>
<h3>tty</h3>
<p>Outputs the name of the current terminal.</p>
<p>$ tty</p>
<p>/dev/pts/16</p>
<h3>uname</h3>
<p>Outputs operating system, hostname, kernel version, date and timp, and processor.</p>
<p>$ uname -a</p>
<p>Linux anapnea.net 2.6.9 #1 SMP Wed Jul 19 16:24:18 MSD 2006 i686 Intel(R) Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux</p>
<h3>uptime</h3>
<p>Outputs the system uptime.</p>
<p>$ uptime</p>
<p>14:50:26 up 7 days, 17:52, 18 users, load average: 0.08, 0.02, 0.01</p>
<h3>users</h3>
<p>Print the user names of users currently logged in to the current host.</p>
<p>$ users</p>
<p>alice bob charlie eve</p>
<h3>vdir</h3>
<p>List directory contents.</p>
<p>$ vdir</p>
<p>total 8</p>
<p>-rw-r&#8211;r&#8211; 1 smallfoot users 453 Mar 3 12:32 copy_of_lorem.txt</p>
<p>-rw-r&#8211;r&#8211; 1 smallfoot users 453 Mar 3 12:24 lorem.txt</p>
<p>-rw-r&#8211;r&#8211; 1 smallfoot users 0 Mar 3 12:32 moo.txt</p>
<p>lrwxr-xr-x 1 root root 18 Feb 27 19:33 www -&gt; /var/www/smallfoot</p>
<h3>w</h3>
<p>Show who is logged on and what they are doing.</p>
<p>$ w</p>
<p>12:14:30 up 5 days, 15:16, 19 users, load average: 0.00, 0.00, 0.00</p>
<p>USER TTY LOGIN@ IDLE JCPU PCPU WHAT</p>
<p>charlie pts/0 Fri21 3:26m 2.52s 2.52s irssi</p>
<p>alice pts/2 Wed17 30:21m 0.00s 0.00s -bash</p>
<p>emma pts/4 11:37 36:57 0.00s 0.00s -bash</p>
<p>frank pts/5 11:48 11:03 0.00s 0.00s -bash</p>
<p>smallfoo pts/12 12:01 0.00s 0.04s 0.01s w</p>
<h3>wall</h3>
<p>Send a message to everybody&#8217;s terminal.</p>
<p>$ wall next week we change the server for a new one</p>
<h3>wc</h3>
<p>Counts lines in a file.</p>
<p>$ wc -l lorem.txt</p>
<p>7 lorem.txt</p>
<h3>whatis</h3>
<p>Search the whatis database for complete words.</p>
<p>$ whatis bash</p>
<p>bash (1) - GNU Bourne-Again SHell</p>
<p>bash [builtins] (1) - bash built-in commands, see bash(1)</p>
<h3>who</h3>
<p>Outputs who is currently logged into the system.</p>
<p>$ who</p>
<p>charlie pts/0 Mar 2 21:37 (xtreme-11-65.acme.com)</p>
<p>alice pts/2 Feb 28 17:48 (147.21.16.3)</p>
<p>emma pts/4 Mar 3 11:37 (32.84-48-181.uac.com)</p>
<p>frank pts/5 Mar 3 11:48 (port-212-202-233-2.foobar.org)</p>
<p>smallfoot pts/12 Mar 3 12:01 (c-12776f4.cust.example.net)</p>
<h3>whereis</h3>
<p>Locate the binary, source, and manual page files for a command.</p>
<p>$ whereis bash</p>
<p>bash: /bin/bash /etc/bash /usr/share/man/man1/bash.1.gz</p>
<h3>whoami</h3>
<p>Outputs your username / the name of your account.</p>
<p>$ whoami</p>
<p>smallfoot</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/useful-commands-for-the-linux-command-line/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to search files for specific content</title>
		<link>http://www.zendzign.com/2008/05/how-to-search-files-for-specific-content/</link>
		<comments>http://www.zendzign.com/2008/05/how-to-search-files-for-specific-content/#comments</comments>
		<pubDate>Fri, 09 May 2008 18:06:58 +0000</pubDate>
		<dc:creator>peterz</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Sysadmin]]></category>

		<category><![CDATA[cli]]></category>

		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://zendzign.com/?p=5</guid>
		<description><![CDATA[Simple linux command to search all files in a given path and display the line in the file which matches defined content.
find &#60;PATH&#62; -print &#124; xargs grep &#34;&#60;CONTENT&#62;&#34;
or
find &#60;PATH&#62; -type f -exec grep -H &#34;&#60;CONTENT&#62;&#34; \;
]]></description>
			<content:encoded><![CDATA[<p>Simple linux command to search all files in a given path and display the line in the file which matches defined content.</p>
<p>find &lt;PATH&gt; -print | xargs grep &quot;&lt;CONTENT&gt;&quot;</p>
<p>or</p>
<p>find &lt;PATH&gt; -type f -exec grep -H &quot;&lt;CONTENT&gt;&quot; \;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zendzign.com/2008/05/how-to-search-files-for-specific-content/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
