DOS配合FastCopy实现远程增量备份
2015-06-19 09:23
375 查看
1.
Interactive Ruby—is the tool of choice
for executing Ruby interactively. irb is a Ruby shell, complete with
command-line history, line-editing capabilities, and job control. Exit an irb
session by typing exit or by using the end-of-file character on your operating
system (normally Ctrl+D or Ctrl+Z).
2.
On Unix systems, you can use the
“shebang” notation as the first line of the program file: #!/usr/bin/ruby
3.
A shebang (also called a hashbang) is
the character sequence consisting of the characters number sign and exclamation
point (#!), when it occurs as the first two characters on the first line of a
text file. In this case, the program loader in Unix-like operating systems
parses the rest of the first line as an interpreter directive and invokes the
program specified after the character sequence with any command line options
specified as parameters. The name of the file being executed is passed as the
final argument.
4.
If a source file is documented using
RDoc, its documentation can be extracted and converted into HTML and ri
formats.
5.
To find the documentation for a class,
type ri
ClassName
. To get a list of classes with ri documentation, type ri
with no arguments.
6.
Once you find a set of options you
like, you can set them into the RI environment variable. Using our shell, this
would be done using the following:
$ export RI="--format ansi --width 70"
Interactive Ruby—is the tool of choice
for executing Ruby interactively. irb is a Ruby shell, complete with
command-line history, line-editing capabilities, and job control. Exit an irb
session by typing exit or by using the end-of-file character on your operating
system (normally Ctrl+D or Ctrl+Z).
2.
On Unix systems, you can use the
“shebang” notation as the first line of the program file: #!/usr/bin/ruby
3.
A shebang (also called a hashbang) is
the character sequence consisting of the characters number sign and exclamation
point (#!), when it occurs as the first two characters on the first line of a
text file. In this case, the program loader in Unix-like operating systems
parses the rest of the first line as an interpreter directive and invokes the
program specified after the character sequence with any command line options
specified as parameters. The name of the file being executed is passed as the
final argument.
4.
If a source file is documented using
RDoc, its documentation can be extracted and converted into HTML and ri
formats.
5.
To find the documentation for a class,
type ri
ClassName
. To get a list of classes with ri documentation, type ri
with no arguments.
6.
Once you find a set of options you
like, you can set them into the RI environment variable. Using our shell, this
would be done using the following:
$ export RI="--format ansi --width 70"
相关文章推荐
- [转载] linux cgroup
- Heat项目动态
- layerDrawingOptions改变透明度
- Linux的计划任务(crontab)
- -bash: zip: command not found提示解决办法
- Tutorial 4: Shaders
- Busybox移植到ARM Linux教程
- 感叹号:bash 的历史扩展功能
- Handler Looper Message(二)
- Mathematica中的PopularCurve手绘卡通图片的可视化
- linux用户拥有root权限
- linux安装软件包
- 「深入 Exchange 2013」01 客户端访问角色架构
- 轻松修改网站名---轻开电子商务系统(企业入门级B2C网站)
- bash字符串处理
- Haproxy+keepalived实现双主负载均衡高可用集群 推荐
- lvs+keepalived高可用负载均衡集群双主实现
- PopupWindow的简单用法
- Linux Pthread 深入解析
- Tomcat反向代理+负载均衡的四种方法配置