RED HAT ENTERPRISE LINUX 5, 6, and 7 Common Administrative Commands

Total Page:16

File Type:pdf, Size:1020Kb

RED HAT ENTERPRISE LINUX 5, 6, and 7 Common Administrative Commands RED HAT ENTERPRISE LINUX 5, 6, AND 7 Common administrative commands 1 Be aware of potential issues when using subscription-manager SYSTEM BASICS on Red Hat Enterprise Linux 5: https://access.redhat.com/ solutions/129003. TASK RHEL 2 Subscription-manager is used for Satellite 6, Satellite 5.6 with SAM and newer, and Red Hat’s CDN. /etc/sysconfig/rhn/systemid 5 3 RHN tools are deprecated on Red Hat Enterprise Linux 7. rhn_register should be used for Satellite server 5.6 and newer /etc/sysconfig/rhn/systemid View subscription information 6 only. For details, see: Satellite 5.6 unable to register RHEL 7 subscription-manager identity client system due to rhn-setup package not included in Minimal installation (https://access.redhat.com/ subscription-manager identity 7 solutions/737373) rhn_register 5 subscription-manager 1 rhn_register Configure subscription rhnreg_ks 6 subscription-manager 2 subscription-manager 7 rhn_register 3 sosreport dmidecode 5 hwbrowser View system profile sosreport RESOURCE MANAGEMENT dmidecode 6 7 lstopo TASK RHEL lscpu top View RHEL version information /etc/redhat-release 5 6 7 ps sar iostat 5 netstat vmstat mpstat BASIC CONFIGURATION numastat TASK RHEL top ps system-config-* 5 6 sar Graphical configuration tools iostat gnome-control-center 7 netstat 6 ss system-config-network 5 6 View system usage vmstat nmcli mpstat Configure network numastat nmtui 7 tuna nm-connection-editor top system-config-language 5 6 ps Configure system language sar localectl 7 iostat ss 7 system-config-date 5 6 vmstat date mpstat Configure time and date numastat timedatectl 7 tuna date df 5 ntpdate 5 6 View disk usage /etc/ntp.conf df 6 7 iostat Synchronize time and date timedatectl /etc/chrony.conf 7 Trace system calls strace 5 6 7 ntpdate Trace library calls ltrace 5 6 7 system-config-keyboard 5 6 Configure keyboard Change process nice localectl 7 5 6 7 priority renice Text-based configuration tools system-config-*-tui 5 6 7 Change process taskset 5 6 7 Configure printer system-config-printer 5 6 7 run location /etc/ssh/ssh_config kill Configure SSH /etc/ssh/sshd_config 5 6 7 Kill a process pkill 5 6 7 ~/.ssh/config ssh-keygen killall SOFTWARE MANAGEMENT NETWORKING TASK RHEL TASK RHEL yum install iptables and ip6tables 5 6 5 yum groupinstall /etc/sysconfig/ip*tables Install software iptables and ip6tables yum install Configure 7 /etc/sysconfig/ip*tables 6 yum group install firewall system-config-firewall yum info firewall-cmd 5 6 7 View software yum groupinfo firewall-config info /etc/hosts yum info 5 6 7 /etc/resolv.conf yum group info Configure name /etc/hosts Update software yum update 5 6 7 resolution /etc/resolv.conf 7 nmcli con mod Upgrade software yum upgrade 5 6 7 /etc/sysconfig/network 5 6 Configure Configure hostnamectl subscription-manager repos hostname software 5 6 7 /etc/hostname 7 /etc/yum.repos.d/*.repo repository nmtui ip addr Find file in rpm -qf filename 5 6 7 ifconfig 5 6 package yum provides filename-glob brctl View network View software ip addr rpm -q packagename 5 6 7 interface info nmcli dev show version teamdctl 7 brctl rpm -qa View installed 5 6 7 bridge software yum list installed /etc/sysconfig/network-scripts/ifcfg-* 5 6 Configure /etc/sysconfig/network-scripts/ifcfg-* network nmcli con [add|mod|edit] interface 7 USER MANAGEMENT nmtui nm-connection-editor TASK RHEL ss lsof 5 6 Graphical user View ports/ system-config-users 5 6 7 netstat management sockets ss 7 Create user lsof useradd 5 6 7 account ip route add system-config-network 5 6 Delete user /etc/sysconfig/route-iface userdel 5 6 7 account Configure ip route add routes usermod nmcli nmtui 7 View/change user /etc/passwd 5 6 7 nm-connection-editor account details vipw /etc/sysconfig/route-iface id View routes ip route 5 6 7 Create user group groupadd 5 6 7 Delete user group groupdel 5 6 7 SECURITY AND IDENTITY Change group groupmod 5 6 7 details /etc/group TASK RHEL Change user /etc/selinux/config passwd 5 6 7 password chcon Configure system restorecon 5 6 7 Change user usermod security semanage 5 6 7 permissions visudo setsebool system-config-selinux Change group groupmod 5 6 7 Report on system permissions visudo sealert 5 6 7 security Change password authconfig chage 5 6 7 LDAP, SSSD, policy authconfig-tui 5 6 7 Kerberos authconfig-gtk View user w 5 6 7 sessions Network users getent 5 6 7 JOBS AND SERVICES TASK RHEL /etc/syslog.conf 5 /etc/rsyslog.conf 6 Configure logging /etc/rsyslog.conf /etc/rsyslog.d/*.conf 7 /var/log/journal systemd-journald.service chkconfig --list 5 6 ls /etc/init.d/ List all services systemctl -at service ls /etc/systemd/system/*.service 7 ls /usr/lib/systemd/system/*.service service --status-all 5 6 List running services systemctl -t service --state=active 7 service name start 5 6 service name stop Start/stop service systemctl start name.service 7 systemctl stop name.service chkconfig name on 5 6 chkconfig name off Enable/disable service systemctl enable name.service 7 systemctl disable name.service service name status 5 6 View service status systemctl status name.service 7 chkconfig name --list 5 6 Check if service is enabled systemctl is-enabled name 7 chkconfig --add 5 6 Create new service file or modify systemctl daemon-reload configuration 7 /etc/systemd/system/*.service runlevel 5 6 who -r View run level/target systemctl get-default 7 who -r /etc/inittab 5 6 init run_level Change run level/target systemctl isolate name.target 7 systemctl set-default /var/log 5 6 View logs /var/log 7 journalctl add audit=1 to kernel cmdline auditctl /etc/audit/auditd.conf Configure system audit /etc/audit/audit.rules 5 6 7 authconfig /etc/pam.d/system-auth pam_tty_audit kernel module View audit output aureport /var/log/faillog 5 6 7 cron Schedule/batch tasks at 5 6 7 batch Find file by name locate 5 6 7 Find file by characteristic find 5 6 7 tar Create archive cpio 5 6 7 zip FILE SYSTEMS, VOLUMES, AND DISKS TASK RHEL ext3 5 Default file system ext4 6 xfs 7 copy data to new file system 5 fsck (look for ‘non-contiguous inodes’) Defragment disk space copy data to new file system fsck (look for ‘non-contiguous inodes’) 6 7 xfs_fsr fdisk 5 6 parted Create/modify disk partitions fdisk gdisk 7 parted ssm create mkfs.filesystem_type (ext4, xfs) 5 6 mkswap Format disk partition mkfs.filesystem_type (ext4, xfs) mkswap 7 ssm create mount 5 6 /etc/fstab Mount storage mount /etc/fstab 7 ssm mount pvcreate 5 6 Create physical volume pvcreate 7 ssm create (if backend is lvm) vgcreate 5 6 Create volume group vgcreate 7 ssm create (if backend is lvm) lvcreate 5 6 Create logical volume lvcreate 7 ssm create (if backend is lvm) vgextend lvextend 5 6 resize2fs Enlarge volumes formatted with default file system vgextend lvextend 7 xfs_growfs ssm resize resize2fs lvreduce 5 6 Shrink volumes formatted with vgreduce default file system XFS cannot currently be shrunk; copy desired data to 7 a smaller file system. fsck 5 6 Check/repair file system fsck 7 ssm check /etc/exports 5 6 service nfs reload Configure NFS share /etc/exports 7 systemctl reload nfs.service /etc/fstab Mount and activate swap 5 6 7 swapon -a Configure static mounts /etc/fstab 5 6 7 View free disk space df 5 6 7 FILE SYSTEMS, VOLUMES, AND DISKS (CONT.) TASK RHEL lvdisplay lvs vgdisplay View logical volume info 5 6 7 vgs pvdisplay pvs showmount -e View NFS share 5 6 7 mount /etc/auto.master.d/*.autofs Configure on-demand auto-mounts 5 6 7 /etc/auto.* chmod chown Change file permissions 5 6 7 chgrp umask (future file creation) Change file attributes chattr 5 6 7 Change access control list setfacl 5 6 7 KERNEL, BOOT, AND HARDWARE TASK RHEL append 1 or s or init=/bin/bash to kernel cmdline 5 6 Single user/rescue mode append rd.break or init=/bin/bash to kernel cmdline 7 shutdown 5 6 Shut down system shutdown 7 systemctl shutdown poweroff 5 6 Power off system poweroff 7 systemctl poweroff halt 5 6 Halt system halt 7 systemctl halt reboot 5 6 Reboot system reboot 7 systemctl reboot /etc/inittab 5 6 Configure default run level/target systemctl set-default 7 /boot/grub/grub.conf 5 6 Configure GRUB bootloader /etc/default/grub grub2-mkconfig 7 grub-set-default hwbrowser 5 View hardware configured lshw (in EPEL) 6 7 Configure kernel module modprobe 5 6 7 Configure hardware device udev 5 6 7 sysctl -a View kernel parameters 5 6 7 cat /proc/cmdline Load kernel module modprobe 5 6 7 Remove kernel module modprobe -r 5 6 7 rpm -q kernel View kernel version 5 6 7 uname -r 11/14 Copyright © 2014 Red Hat, Inc. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, and JBoss are trademarks of Red Hat, Inc., registered in the U.S. and other countries. Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries..
Recommended publications
  • RACF Tips Volume 3, Issue 1, January 2009
    Volume 3 Issue 1 IPS RSH RACF T January For Administrators, Auditors, and Analysts 2009 Specifying a Replacement ID used to change a file's attributes for Program Control, APF Authorized, and Shared Library. with IRRRID00 . To generate commands to delete an ID and all references to it, use RACF's IRRRID00 utility. You simply enter the ID in the SYSIN DD Temporary Access with statement of the IRRRID00 job like so: CONNECT REVOKE(date) //SYSIN DD * USERX You may occasionally need to permit a user temporary access to a resource. One way to do If USERX is the owner of a profile or connect, so is to grant a group access to the resource IRRRID00 generates commands like: and connect the user to that group with a revoke date. The command to set the connect revoke CONNECT RDSADM GROUP(RACFSTC) OWNER(?USERX) date would look something like this: In these cases, you need to change ?USERX to CONNECT USERA GROUP(TEMPACC) REVOKE(1/20/09) a valid replacement ID. This can be done manually or with ISPF EDIT CHANGE. On the date specified with the revoke, RACF will no longer allow the user to have the access Alternatively, you can tell IRRRID00 which permitted to the group. If you want to remove the replacement ID to use when it builds the revoke date but leave the connect intact, enter: commands. If, for instance, you want to replace every occurrence of USERX with USERJ, enter CONNECT USERA GROUP(TEMPACC) NOREVOKE the following in the SYSIN DD: A banking client of ours used this capability to //SYSIN DD * govern access to APF-authorized libraries.
    [Show full text]
  • LS-09EN. OS Permissions. SUID/SGID/Sticky. Extended Attributes
    Operating Systems LS-09. OS Permissions. SUID/SGID/Sticky. Extended Attributes. Operating System Concepts 1.1 ys©2019 Linux/UNIX Security Basics Agenda ! UID ! GID ! Superuser ! File Permissions ! Umask ! RUID/EUID, RGID/EGID ! SUID, SGID, Sticky bits ! File Extended Attributes ! Mount/umount ! Windows Permissions ! File Systems Restriction Operating System Concepts 1.2 ys©2019 Domain Implementation in Linux/UNIX ! Two types domain (subjects) groups ! User Domains = User ID (UID>0) or User Group ID (GID>0) ! Superuser Domains = Root ID (UID=0) or Root Group ID (root can do everything, GID=0) ! Domain switch accomplished via file system. ! Each file has associated with it a domain bit (SetUID bit = SUID bit). ! When file is executed and SUID=on, then Effective UID is set to Owner of the file being executed. When execution completes Efective UID is reset to Real UID. ! Each subject (process) and object (file, socket,etc) has a 16-bit UID. ! Each object also has a 16-bit GID and each subject has one or more GIDs. ! Objects have access control lists that specify read, write, and execute permissions for user, group, and world. Operating System Concepts 1.3 ys©2019 Subjects and Objects Subjects = processes Objects = files (regular, directory, (Effective UID, EGID) devices /dev, ram /proc) RUID (EUID) Owner permissions (UID) RGID-main (EGID) Group Owner permissions (GID) +RGID-list Others RUID, RGID Others ID permissions Operating System Concepts 1.4 ys©2019 The Superuser (root) • Almost every Unix system comes with a special user in the /etc/passwd file with a UID=0. This user is known as the superuser and is normally given the username root.
    [Show full text]
  • Version 7.8-Systemd
    Linux From Scratch Version 7.8-systemd Created by Gerard Beekmans Edited by Douglas R. Reno Linux From Scratch: Version 7.8-systemd by Created by Gerard Beekmans and Edited by Douglas R. Reno Copyright © 1999-2015 Gerard Beekmans Copyright © 1999-2015, Gerard Beekmans All rights reserved. This book is licensed under a Creative Commons License. Computer instructions may be extracted from the book under the MIT License. Linux® is a registered trademark of Linus Torvalds. Linux From Scratch - Version 7.8-systemd Table of Contents Preface .......................................................................................................................................................................... vii i. Foreword ............................................................................................................................................................. vii ii. Audience ............................................................................................................................................................ vii iii. LFS Target Architectures ................................................................................................................................ viii iv. LFS and Standards ............................................................................................................................................ ix v. Rationale for Packages in the Book .................................................................................................................... x vi. Prerequisites
    [Show full text]
  • Cygwin User's Guide
    Cygwin User’s Guide Cygwin User’s Guide ii Copyright © Cygwin authors Permission is granted to make and distribute verbatim copies of this documentation provided the copyright notice and this per- mission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this documentation under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this documentation into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Free Software Foundation. Cygwin User’s Guide iii Contents 1 Cygwin Overview 1 1.1 What is it? . .1 1.2 Quick Start Guide for those more experienced with Windows . .1 1.3 Quick Start Guide for those more experienced with UNIX . .1 1.4 Are the Cygwin tools free software? . .2 1.5 A brief history of the Cygwin project . .2 1.6 Highlights of Cygwin Functionality . .3 1.6.1 Introduction . .3 1.6.2 Permissions and Security . .3 1.6.3 File Access . .3 1.6.4 Text Mode vs. Binary Mode . .4 1.6.5 ANSI C Library . .4 1.6.6 Process Creation . .5 1.6.6.1 Problems with process creation . .5 1.6.7 Signals . .6 1.6.8 Sockets . .6 1.6.9 Select . .7 1.7 What’s new and what changed in Cygwin . .7 1.7.1 What’s new and what changed in 3.2 .
    [Show full text]
  • Chattr Linux Command
    Linux Commands PDF – https://arkit.co.in Chattr - Linux command Change file attributes on a Linux file system using, chattr command to protect files and directories. This is an amazing option to protect your files and directories. Chattr attribute is used to stop accidentally delete of files and folder. You cannot delete the files secured via chattr attribute even though you have full permission over files. This is very use full in system files like shadow and passwd files, which contains all user information and passwords. Chattr command syntax # chattr [operator] [switch] [file name] Protect file using chattr command apply attribute ‘+i’ In this practical example, we are going to create a file and directory and provide full permission to created file and directory and apply attributes using chattr command try to delete. # touch file1 # chmod 777 file1 # ls -l total 0 -rwxrwxrwx. 1 root root 0 Jan 17 17:11 file1 # chattr +i file1 # rm -rf file1 rm: cannot remove ‘file1’: Operation not permitted # cat >> file1 -bash: file1: Permission denied List applied attributes In order to list the applied attributes, we have to use ‘lsattr’ command # lsattr file1 ----i----------- file1 Follow Us on social media: Facebook | Twitter | Reddit | LinkedIn | Website | Blog | YouTube Linux Commands PDF – https://arkit.co.in Apply attributes and append the file As we see above example when we apply an attribute ‘+i’ we cannot append, modify and delete file. Apply attribute ‘+a’ then we can append the file but we cannot delete the file. Let us see the example
    [Show full text]
  • Basic Linux Security
    Basic Linux Security Roman Bohuk University of Virginia What is Linux? • An open source operating system • Project started by Linus Torvalds kernel • Kernel: core program that controls everything else (controls processes, i/o between applications) • Not to be confused with Unix – commercial OS • Unix-like / *nix – broad term encompassing both Unix and Linux “Flavors” • Timeline: https://tinyurl.com/LinuxDT VM Setup • Get the VM from a flashdrive or install your own version • Login with user:UV@cnsR0cks! • 2 ways to connect it to the internet and give SSH access. In the VM network settings, select • NAT • The machine “proxies” the traffic through your NIC • Add port 22 in the port forwarding settings, and SSH to localhost • Bridged Connection • The machine has its own IP on the LAN, and you can connect to it remotely • If you want to set up a bridged connection, type ifconfig to find the MAC address, and add it at https://netreg.itc.virginia.edu/ (Register a device for network access)i VM Setup What happens when Linux boots? • BIOS looks for and executes a Master Boot Record (MBR) • MBR loads GRUB, the Linux bootloader which loads and runs the kernel • Kernel mounts the filesystem, executes the programs in /sbin/init • The init file runs the Linux at a specific “runlevel” • The runlevel-specific programs are executed from /etc/rc.d/rc*.d/ • 0 – halt • 1 – single-user mode • 2 – multiuser mode (no networking) • 3 – full multiuser mode • 5 – GUI • 6 – reboot Runlevels • Practice: who -r # prints out the current runlevel init * # changes the runlevel to * who -Ha # lists the users who are logged in Breaking Into Things Why? So you can defend it.
    [Show full text]
  • Linux Pocket Guide.Pdf
    3rd Edition Linux Pocket Guide ESSENTIAL COMMANDS Daniel J. Barrett 3RD EDITION Linux Pocket Guide Daniel J. Barrett Linux Pocket Guide by Daniel J. Barrett Copyright © 2016 Daniel Barrett. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebasto‐ pol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promo‐ tional use. Online editions are also available for most titles (http://safaribook‐ sonline.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or [email protected]. Editor: Nan Barber Production Editor: Nicholas Adams Copyeditor: Jasmine Kwityn Proofreader: Susan Moritz Indexer: Daniel Barrett Interior Designer: David Futato Cover Designer: Karen Montgomery Illustrator: Rebecca Demarest June 2016: Third Edition Revision History for the Third Edition 2016-05-27: First Release See http://oreilly.com/catalog/errata.csp?isbn=9781491927571 for release details. The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. Linux Pocket Guide, the cover image, and related trade dress are trademarks of O’Reilly Media, Inc. While the publisher and the author have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellec‐ tual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.
    [Show full text]
  • Common Administrative Commands in Red Hat Enterprise Linux 5, 6, 7, and 8
    Common administrative commands in Red Hat Enterprise Linux 5, 6, 7, and 8 System basics Kernel, boot, and hardware Basic configuration File systems, volumes, and disks TASK RHEL TASK RHEL TASK RHEL TASK RHEL /etc/sysconfig/rhn/systemid 5 6 append 1 or s or init=/bin/bash Graphical system-config-* 5 6 ext3 5 View 5 6 subscription to kernel cmdline configuration Default file information subscription-manager identity 6 7 8 Single user/ tools gnome-control-center 7 8 ext4 6 system rescue mode append 1 or s or rd.break or rhnreg_ks 6 init=/bin/bash to kernel 7 8 Text-based xfs 7 8 cmdline configuration system-config-*-tui 5 6 Configure 1, 3 tools rhn_register 5 6 7 8 ssm create 7 subscription Shut down shutdown 5 6 7 8 2 system system-config-printer 5 6 7 subscription-manager 6 7 8 Configure gdisk 7 8 printer Create/modify systemctl poweroff 7 8 gnome-control-center 8 hwbrowser 5 Power off disk partitions ssm_create 8 system system-config-date 5 6 sosreport poweroff 5 6 7 8 fdisk 5 6 7 8 5 6 7 8 dmidecode parted timedatectl 7 8 View system systemctl halt 7 8 Configure time Halt system profile lstopo and date ssm create 7 8 6 7 8 date 5 6 7 8 lscpu halt 5 6 7 8 Format disk partition mkfs.filesystem_type (ext4, xfs) gnome-control-center 8 5 6 7 8 cat/proc/cpuinfo systemctl reboot 7 8 8 mkswap lshw Reboot system /etc/ntp.conf 5 6 reboot 5 6 7 8 xfs_fsr 6 7 8 View RHEL ntpdate 5 6 7 Defragment version /etc/redhat-release 5 6 7 8 Configure /etc/inittab 5 6 disk space copy data to new file system information default run Synchronize timedatectl fsck (look for ‘non-contiguous 5 6 7 8 level/target time and date 7 8 systemctl set-default 7 8 /etc/chrony.conf inodes’) 1 Be aware of potential issues when using subscription-manager on Red Hat Enterprise Linux 5: https://access.redhat.com/solutions/129003.
    [Show full text]
  • Access Control Topics
    CIT 480: Securing Computer Systems Access Control Topics 1. Access Control Matrix 2. ACLs and Capabilities 3. Role-Based Access Control (RBAC) 4. Discretionary Access Control (DAC) 5. Examples: UNIX, Windows, Android, SQL 6. Mandatory Access Control (MAC) 7. Hardware Protection Access Control Access control is the selective restriction of access to an information, computational, or physical resource. Access Control is Pervasive Application Middleware Operating System Hardware Access Control is Pervasive 1. Application • Complex, custom security policy. • Ex: Amazon account: wish list, reviews, CC 2. Middleware • Database, system libraries, 3rd party software • Ex: Credit card authorization center 3. Operating System • File ACLs, IPC, Android permissions system, SELinux 4. Hardware • Memory management, hardware device access. Access Control Matrices A table that defines permissions. – Each row of this table is associated with a subject, which is a user, group, or system that can perform actions. – Each column of the table is associated with an object, which is a file, directory, document, device, resource, or any other entity for which we want to define access rights. – Each cell of the table is then filled with the access rights for the associated combination of subject and object. – Access rights can include actions such as reading, writing, copying, executing, deleting, and annotating. – An empty cell means that no access rights are granted. Example Access Control Matrix Access Control Lists (ACLs) An ACL defines, for each object, o, a list, L, called o’s access control list, which enumerates all the subjects that have access rights for o and, for each such subject, s, gives the access rights that s has for object o.
    [Show full text]
  • Linux Shell Scripting Cookbook Second Edition
    Linux Shell Scripting Cookbook Second Edition Over 110 practical recipes to solve real-world shell problems, guaranteed to make you wonder how you ever lived without them Shantanu Tushar Sarath Lakshman BIRMINGHAM - MUMBAI Linux Shell Scripting Cookbook Second Edition Copyright © 2013 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: January 2011 Second edition: May 2013 Production Reference: 1140513 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78216-274-2 www.packtpub.com Cover Image by Parag Kadam ([email protected]) Credits Authors Project Coordinator Shantanu Tushar Shiksha Chaturvedi Sarath Lakshman Proofreader Reviewers Linda Morris Rajeshwari K. John C. Kennedy Indexer Hemangini Bari Anil Kumar Sudhendu Kumar Production Coordinator Aravind SV Shantanu Zagade Acquisition Editor Cover Work Kartikey Pandey Shantanu Zagade Lead Technical Editor Ankita Shashi Technical Editors Jalasha D'costa Amit Ramadas Lubna Shaikh About the Authors Shantanu Tushar is an advanced GNU/Linux user since his college days.
    [Show full text]
  • Bash Guide for Beginners
    Bash Guide for Beginners Machtelt Garrels Xalasys.com <tille wants no spam _at_ xalasys dot com> Version 1.8 Last updated 20060315 Edition Bash Guide for Beginners Table of Contents Introduction.........................................................................................................................................................1 1. Why this guide?...................................................................................................................................1 2. Who should read this book?.................................................................................................................1 3. New versions, translations and availability.........................................................................................2 4. Revision History..................................................................................................................................2 5. Contributions.......................................................................................................................................3 6. Feedback..............................................................................................................................................3 7. Copyright information.........................................................................................................................3 8. What do you need?...............................................................................................................................4 9. Conventions used in this
    [Show full text]
  • Advanced Administration of the Gnulinux Operating System, February 2010
    Configuration, tuning and optimisation Remo Suppi Boldrito PID_00148473 GNUFDL • PID_00148473 Configuration, tuning and optimisation Copyright © 2009, FUOC. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License" GNUFDL • PID_00148473 Configuration, tuning and optimisation Index Introduction............................................................................................... 5 1. Basic aspects........................................................................................ 7 1.1. Monitoring on a UNIX System V ............................................... 8 1.2. Optimising the system ................................................................ 15 1.3. General optimisations ................................................................. 19 1.4. Additional configurations ........................................................... 20 1.5. Monitoring .................................................................................. 24 Activities...................................................................................................... 33 Bibliography............................................................................................... 34 GNUFDL • PID_00148473 5 Configuration, tuning and optimisation
    [Show full text]