售前咨询:400-0666-318
要使对.profile文件的更改生效,您可以执行以下步骤之一:
使用source命令执行.profile文件:
source ~/.profile
使用点操作符执行.profile文件:
. ~/.profile
这两种方法都会重新加载.profile文件中的环境变量和其他配置。
辰迅云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读: linux服务器安装的安全措施有哪些