Chinaunix首页 | 论坛 | 博客
  • 博客访问: 10518
  • 博文数量: 3
  • 博客积分: 317
  • 博客等级: 二等列兵
  • 技术积分: 40
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-21 21:17
文章分类
文章存档

2010年(3)

最近访客

分类:

2010-03-26 10:10:33

#!/bin/bash
# Program:
#     Let user keyln their first and last name,then show their full name.
#History:
# 2010/03/26          Angus
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH

read -p "Please input your first name: " firstname
read -p "Please input your last name: " lastname
echo -e "\nYour full name is: $firstname $lastname"
阅读(2211) | 评论(6) | 转发(0) |
给主人留下些什么吧!~~

OpenBSD52010-04-06 21:07:06

haha! persist persist..

安何2010-04-02 15:57:44

太幽默了

UbuntuLHE2010-03-27 10:33:19

kuaile_wubi: 挺有意思啊  慢慢练习吧
謝謝!

UbuntuLHE2010-03-27 10:32:59

flb_2001: 呵呵,一个简单的shell
呵呵,还请前辈多多指教喔!

kuaile_wubi2010-03-26 23:27:50

挺有意思啊  慢慢练习吧