shell 新学命令整理

  • shift 用户将参数左移
#!/bin/bash

while (($#))
do
    echo $1;
    shift
done

posted @ 2015-08-25 19:13  cbffr  阅读(119)  评论(0编辑  收藏  举报