![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
thomas-23
分享改变自己,改变世界
展开
-
shell 简单oo编程
昨天突然有个疑问,linux shell能不能像power shell面向对象编程了。然后上班的时候就搜了下,还真有:下面是拷贝过来的代码:#!/bin/bash# ---------------------------------------------------------------------------# OO support functions# Kludged by Pim va转载 2015-04-14 18:11:56 · 969 阅读 · 0 评论 -
shell 13问
shell 十三问:1) 为何叫做 shell ? 2) shell prompt(PS1) 与 Carriage Return(CR) 的关系? 3) 别人 echo、你也 echo ,是问 echo 知多少? 4) " "(双引号) 与 ' '(单引号)差在哪? 5) var=value?export 前后差在哪?6) exec 跟 sourc转载 2015-05-11 10:06:51 · 491 阅读 · 0 评论