Вы находитесь на странице: 1из 10

3 2/3

Bash
This work is licensed under the Creative Commons Attribution-Noncommercial-No Derivative Works 3.0
License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/3.0/ or send a
letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.


$ VAR=value

$ echo $VAR

$ export VAR=value

$ echo $VAR
unset VAR

set

env
(c) 2007,

HISTFILESIZE

COLUMNS

LINES

PS1

(c) 2007,

LANG

MAIL

HOME

IFS

PWD

SHELL

EDITOR

TZ

TERM

PATH

(c) 2007,

alias

alias dir='ls -la'

unalias dir

(c) 2007,

$?

0
1-255

1 && 2 -

1 || 2

(c) 2007,

( 1; 2)

(ls /dir1; ls /dir2) | mail

(c) 2007,

noclobber

set -o noclobber

>| -

set +o noclobber -

(c) 2007,

bash

(c) 2007,

10

Вам также может понравиться