Chinaunix首页 | 论坛 | 博客
  • 博客访问: 106880
  • 博文数量: 45
  • 博客积分: 2530
  • 博客等级: 少校
  • 技术积分: 560
  • 用 户 组: 普通用户
  • 注册时间: 2008-01-06 00:55
个人简介

得道

文章分类

全部博文(45)

文章存档

2014年(1)

2013年(1)

2011年(7)

2010年(2)

2008年(34)

我的朋友

分类: LINUX

2008-06-12 02:11:16

echo
echo - display a line of text

SYNOPSIS
echo [OPTION]... [STRING]...

DESCRIPTION
NOTE: your shell may have its own version of echo which will supercede
the version described here. Please refer to your shell's documentation
for details about the options it supports
Echo the STRING(s) to standard output.

-n do not output the trailing newline
禁止自动换行
-e enable interpretation of the backslash-escaped characters listed below
启用转义字符的解释
-E disable interpretation of those sequences in STRINGs
将字符串当作一个整体
--help display this help and exit
显示帮助信息
Without -E, the following sequences are recognized and interpolated:
\\ backslash

\a alert (BEL)

\b backspace(退格)

\c suppress trailing newline(禁止自动换行)

\f form feed(原始格式)

\n new line(换行)

\r carriage return(将\r后面的内容输出,并覆盖\r前面的内容)

\t horizontal tab(水平tab)

\v vertical tab
阅读(575) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~