目前收集了三种方法,比如
1.ls|awk -v a=$(pwd) '{print a"/"}'
2.alias LS='find '
1.ls|awk -v a=$(pwd) '{print a"/"}'
2.alias LS='find '
3.
#!/bin/sh
while [$# -ne 0]
do cd
for file in 'ls'
do echo `pwd`/$file >>$HOME/lsout 2>/dev/null
done
shift
done