分页: 1 / 1

shell脚本问题

发表于 : 2008-07-20 2:41
k52h
我在脚本写入:
cd /tmp/test
可是当运行了刚脚本,路径确没有改变,为什么?

发表于 : 2008-07-20 2:46
yjcong
#!/bin/bash

cd /tmp/test

ls