小编Geo*_*Geo的帖子

创建所需目录的别名以在终端中使用

我经常需要输入:

cd /home/geo/Geant4/geant4.10.00.p02-install/lib/Geant4-10.0.2
Run Code Online (Sandbox Code Playgroud)

如何为该目录创建别名,以便我可以输入:

cd $geant (or any other word I decide to create as the alias name)
Run Code Online (Sandbox Code Playgroud)

它也会在我需要使用时帮助我,cmake因为我也可以$geantcmake选项中间使用。

谢谢。

shortcuts alias directory

7
推荐指数
1
解决办法
9118
查看次数

标签 统计

alias ×1

directory ×1

shortcuts ×1