oguratac@ika-itpass:~$ ls -l /home/oguratac/report/ #転送元のファイル情報↓ 合計 20 -rwx------ 1 oguratac oguratac 1643 2010-05-20 16:42 quiz1.sh -rwx------ 1 oguratac oguratac 376 2010-05-20 13:10 quiz2.sh drwx------ 2 oguratac oguratac 4096 2010-05-20 10:16 test -rwx------ 1 oguratac oguratac 5 2010-05-19 22:38 test.html -rwx------ 1 oguratac oguratac 0 2010-05-19 22:38 test.sh -rwx------ 1 oguratac oguratac 6 2010-05-19 16:40 test.txt oguratac@ika-itpass:~$ cd /home/oguratac/public_html/report01/scripts/quiz1.sh.txt #スクリプトのあるディレクトリに移動 oguratac@ika-itpass:~/public_html/report01/scriptsa$ ./quiz.sh.txt #スクリプトを実行 oguratac@ika-itpass:~$ ls -l /home/oguratac/public_html/report01/       #転送後、転送先のファイル情報↓ 合計 32 -rw-rw-r-- 1 oguratac oguratac 2103 2010-05-21 00:41 index.html -rwxrwxr-x 1 oguratac oguratac 1643 2010-05-21 00:55 quiz1.sh -rwxrwxr-x 1 oguratac oguratac 376 2010-05-21 00:55 quiz2.sh drwxrwxr-x 2 oguratac oguratac 4096 2010-05-21 00:51 results drwxrwxr-x 2 oguratac oguratac 4096 2010-05-20 23:28 scripts drwxrwxr-x 2 oguratac oguratac 4096 2010-05-21 00:55 test -rw-rw-r-- 1 oguratac oguratac 5 2010-05-21 00:55 test.html -rwxrwxr-x 1 oguratac oguratac 0 2010-05-21 00:55 test.sh -rw-rw-r-- 1 oguratac oguratac 6 2010-05-21 00:55 test.txt #パーミッションが適切な権限になっています