unknown option -/.bashrc
I can open ".bashrc" file by searching on "Files", but when I want to open ".bashrc" file by terminator, I write "gedit -/.bashrc" and terminator says "Unknown option -/.bashrc".
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I write
gedit -/.bashrc
and terminator saysUnknown option -/.bashrc
.
.bashrc
exists in your $HOME
directory.
Bash recognises a shorthand which refers to that directory: the ~
character (or: tilde).
So the correct command would be:
gedit ~/.bashrc
So it's not a -
(ie: dash), but a ~
.
Asked: 2022-02-09 08:20:53 -0500
Seen: 340 times
Last updated: Feb 09 '22