linux:如何执行配置文件

标签 linux user-profile

<分区>

我的同事给了我一个包含很多配置的文件,比如

alias  ll="ls -l"
alias  lr="ls -lrt"
alias  gv="vim -g"

我如何使用(执行)这个配置文件?

最佳答案

您可以使用source 命令加载配置文件:

source <profile-filename>

例如:

source ~/.bash_profile

关于linux:如何执行配置文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37723563/

相关文章:

从Windows cmd提示符远程访问MySQL

message - Leverice 中的头像图像

c - Vala:使用库不起作用:找不到 taglib、tag_c.h

Linux shell脚本,两个目录之间的差异

php - 用户可以在他们的个人资料描述中使用 html、css、javascript、php 等

php - 个人资料页面不显示用户个人资料信息或更新

sharepoint - 在 SharePoint 2010 中获取随机用户配置文件

php - 显示来自 MySQL 数据库的用户信息的配置文件页面

linux - 从 sigtimedwait 函数接收 SIGABRT

linux - sort 如何计算出有多少 RAM?