📄 ex-11-06_for.sh
字号:
#!/bin/sh# Chapter 11 - Manipulating a set of files# This example demonstrates how to use the for loop to copy files## This example may fail on your system if you do not have some of# the files or directories that are referenced. This example has# been changed slightly from the version in the book for greater# compatibility.cd $HOME for FILE in .bash*do cp $FILE ${HOME}/public_html chmod a+r ${HOME}/public_html/${FILE}done
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -