lspath

来自「Berkely的学生写的」· 代码 · 共 16 行

TXT
16
字号
#!/bin/sh# Chapter 14 - Functions# This script demonstrates a simple function called ls path# that lists the directories in $PATH. To use this functions# you need to "require" it into your environment as follows# (assuming you are in the same directory as this script):##   . ./lspathlspath() {    OLDIFS="$IFS"    IFS=:    for DIR in $PATH ; do echo $DIR ; done    IFS="$OLDIFS"}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?