Skip to content

Shell #5

Description

@chengfengliu

登录时的Shell是父Shell,则在该Shell中运行的Shell是该Shell的子Shell。
在父Shell中创建变量时,这些变量并不会被其子Shell进程所知,也就是说变量默认情况下是“私有”的,或称“局部变量”。使用export命令可以将变量导出,使得该shell的子Shell都可以使用该变量,这个过程称为变量输出。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions