通过 程序,得到linux的帮助文档,方便日后查询
mkdir /u01/man
cd /bin
for i in `ls`
do fname="/u01/man/man_"$i".txt"
echo $fname
man $i | col -b > $fname done cd /u01/man/$fname
done
通过 程序,得到linux的帮助文档,方便日后查询
mkdir /u01/man
cd /bin
for i in `ls`
do fname="/u01/man/man_"$i".txt"
echo $fname
man $i | col -b > $fname done cd /u01/man/$fname
done