[英]Installing wget on mac - unable to find .bashrc file
I am trying to install WGET on my macbook. 我正在尝试在Macbook上安装WGET。 I am using this tutorial to do so.
我正在使用本教程来这样做。
I came to the final step but it says: 我来到了最后一步,但它说:
If you do not see output, edit
$HOME/.bash_profile
or$HOME/.bashrc
and add/edit/append PATH as follows:export PATH=${PATH}:/usr/local/bin
如果看不到输出,请编辑
$HOME/.bash_profile
或$HOME/.bashrc
并按如下所示添加/编辑/附加PATH:export PATH=${PATH}:/usr/local/bin
Where can I find $HOME/.bash_profile
? 在哪里可以找到
$HOME/.bash_profile
? Can someone give me the exact path to $HOME/.bash_profile
? 有人可以给我
$HOME/.bash_profile
的确切路径吗?
When I type $HOME/.bashrc
I get the following output. 当我输入
$HOME/.bashrc
,得到以下输出。
-bash: /Users/Clara/.bashrc: No such file or directory
$HOME
refers to your home directory, which seems to be /Users/Clara
in your case. $HOME
指向您的主目录,在您的情况下,该目录似乎是/Users/Clara
。 If the files .bashrc
or .bash_profile
do not yet exist, you can just create them with a simple text editor. 如果文件
.bashrc
或.bash_profile
不存在,则可以使用简单的文本编辑器创建它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.