An A-Z Index of the Bash command line for Linux. Commands marked • are bash built-ins Many commands particularly the Core Utils are also available under alternate shells (C shell, Korn shell etc).
More bash commands: Linux Command Directory from O'Reilly, GNU CoreUtils.SS64 bash discussion forumLinks to other Sites, books etc. Integrate Linux with Active Directory using Samba, Winbind, and Kerberos. How To Integrate Samba (File Sharing) Using Active Directory For Authentication. This tutorial explains how to install a Gentoo samba server and how to share folders with ActiveDirectory permissions.
Preparation Active Directory should already be implemented and working. If you need help, there's plenty of help on the net. Your Windows system should be secured and patched. You have Gentoo Linux installed of course With the config files, you need to change example.com to match your domain. Install some utils You have to install some utils. openldap kerberos samba # emerge openldap # emerge mit-krb5 # USE="kerberos ldap winbind" # emerge samba Openldap doesn't need to be configured. Configure Kerberos Now configure the file /etc/krb5.conf as follows Add this line to /etc/hosts: xxx.xxx.xxx.xxx adserver.yourdomain adserver Test kerberos to ensure you can see the AD domain. Kinit Username@DOMAIN It will ask for the password, if you type in correctly then you will be returned to the promt which means it worked. Configure SAMBA Now run samba.
CentOS LVM Resize. Since the release of CentOS 5.5 we noticed that the default CentOS install assigns a considerable amount of its available storage space to Swap.
If you don’t catch this during the installation don’t worry, Logical Volume Manager or LVM will rectify this post install. LVM is a logical volume manager for the Linux kernel; it manages disk drives and similar mass-storage devices, in particular large ones. The term “volume” refers to a disk drive or partition thereof. Before we start just some general housekeeping. The XEN virtual CentOS 5.5 server (base install) in this tutorial was assigned 10GB of storage with the default partitioning layout. Let check the amount of disk space available on the file system. # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 4.9G 2.4G 2.3G 51% / /dev/xvda1 99M 23M 72M 25% /boot tmpfs 4.0G 0 4.0G 0% /dev/shm Let see the attributes of the logical volumes like size, read/write status, snapshot information Resize the File System.
58 Cool Hacks - LXF Wiki. From LXF Wiki (Originally written for Linux Format issue 58, October 2004) Increase your guru points and apply these cunning hacks to boost performance, secure your system and increase productivity - or fun!
One of the great things about Linux is that there's usually more than one way to do something. Chances are, the way you are doing a particular task right now isn't necessarily the best way either. This collection of hacks is the result of a lot of effort: some are functional, some are fun, but they are all cool! DISCLAIMER: Obviously, anything you do to your computer is your responsibility, and while we have made every effort to test these hacks, your mileage may vary.
Fix a wonky terminal Difficulty: Easy Application: bash We've all done it - accidentally used less or cat to list a file, and ended up viewing binary instead. Reset and all will be well again. Creating Mozilla keywords Difficulty: Easy Application: Firefox/Mozilla. Alsa. SS64. Www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html.
Contents OverviewPreface •People •Mailing Lists and Bug Reporting •Development Status •Copying •AcknowledgementsInstallation •Downloading Unison •Running Unison •Upgrading •Building Unison from Scratch Unix Mac OS X Windows Installation OptionsTutorial •Preliminaries •Local Usage •Remote Usage •Remote Shell Method •Socket Method •Using Unison for All Your Files •Using Unison to Synchronize More Than Two Machines •Going FurtherBasic Concepts •Roots •Paths •What is an Update?
•What is a Conflict? Overview Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other. Unison runs on both Windows (95, 98, NT, 2k, and XP) and Unix (OSX, Solaris, Linux, etc.) systems. Preface People Benjamin Pierce leads the Unison project. Mailing Lists and Bug Reporting Copying. Linux Directory Structure (File System Structure) Explained with Examples. By Ramesh Natarajan on September 8, 2010.
Mounting NTFS in CentOS 5.5 « Abu Syahid Codebook.