#!/bin/bash
# 2011-2014 john meister copyright - builds clean text files
# from man page. commands show up on the LPI Linux certification test
##########################################################
## simple script with for loop
###########################################################
TOOL="dmesg bootloader ldd ldconfig dpkg dpkg-reconfigure apt-get
apt-cache aptitude rpm rpm2cpio yum yumdownloader bash echo env
exec export pwd set unset man uname history cat cut expand fmt
head od join nl paste pr sed sort split tail tr unexpand uniq
wc cp find mkdir mv ls rm rmdir touch tar cpio dd file gzip
gunzip bzip2 tee xargs bg fg jobs kill nohup ps top free uptime
killall nice ps renice top grep egrep fgrep sed regex vi fdisk
mkfs mkswap du df fsck e2fsck mke2fs debugfs dumpe2fs tune2fs
mount umount quota edquota repquota quotaon chmod umask chown
chgrp find locate updatedb whereis which type" ; export TOOL
#
for x in $TOOL
do
man $x | col -b > man.$x.txt
done
ls -al
############################################## end of script ####
|
The Art of Linux System Administration published by O'Reilly Media Study Guide for the LPIC-2 Certification Exams |
![]() Wagoneers FULL SIZE JEEPS JeepMeister "Jeep is America's -Enzo Ferrari MeisterTech Diesels + |
One Page Overview of Linux Commands click for an image of the 5 essential Linux commands An Intro to Linux |
at Midway Auto on SR9 in Snohomish, or at Northland Diesel in Bellingham, WA |