Terminal open (possibly hidden) file using TextEdit

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have been trying to run the following command:
sudo open -a textEdit ~/.bashrc. I get an error stating that the file does not exist. But then sudo nano ~/.bashrc opens up fine. I am not familiar with the nano interface nor command line so I wish to open the file in textEdit.
Is the file truely not there or is it a hidden file?
linux bash terminal osx sudo
add a comment |Â
up vote
0
down vote
favorite
I have been trying to run the following command:
sudo open -a textEdit ~/.bashrc. I get an error stating that the file does not exist. But then sudo nano ~/.bashrc opens up fine. I am not familiar with the nano interface nor command line so I wish to open the file in textEdit.
Is the file truely not there or is it a hidden file?
linux bash terminal osx sudo
i just tried your command: open -a textEdit ~/.bashrc and it worked fine on my machine. Are you in your home directory when you issue the command?
â jmh
Jul 18 at 20:29
you can unhide all files by typing CMD + SHIFT + .
â jmh
Jul 18 at 20:33
Why do you want to edit.bashrcwithsudo?
â RoVo
Jul 24 at 8:33
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have been trying to run the following command:
sudo open -a textEdit ~/.bashrc. I get an error stating that the file does not exist. But then sudo nano ~/.bashrc opens up fine. I am not familiar with the nano interface nor command line so I wish to open the file in textEdit.
Is the file truely not there or is it a hidden file?
linux bash terminal osx sudo
I have been trying to run the following command:
sudo open -a textEdit ~/.bashrc. I get an error stating that the file does not exist. But then sudo nano ~/.bashrc opens up fine. I am not familiar with the nano interface nor command line so I wish to open the file in textEdit.
Is the file truely not there or is it a hidden file?
linux bash terminal osx sudo
asked Jul 12 at 23:49
pnizzle
1011
1011
i just tried your command: open -a textEdit ~/.bashrc and it worked fine on my machine. Are you in your home directory when you issue the command?
â jmh
Jul 18 at 20:29
you can unhide all files by typing CMD + SHIFT + .
â jmh
Jul 18 at 20:33
Why do you want to edit.bashrcwithsudo?
â RoVo
Jul 24 at 8:33
add a comment |Â
i just tried your command: open -a textEdit ~/.bashrc and it worked fine on my machine. Are you in your home directory when you issue the command?
â jmh
Jul 18 at 20:29
you can unhide all files by typing CMD + SHIFT + .
â jmh
Jul 18 at 20:33
Why do you want to edit.bashrcwithsudo?
â RoVo
Jul 24 at 8:33
i just tried your command: open -a textEdit ~/.bashrc and it worked fine on my machine. Are you in your home directory when you issue the command?
â jmh
Jul 18 at 20:29
i just tried your command: open -a textEdit ~/.bashrc and it worked fine on my machine. Are you in your home directory when you issue the command?
â jmh
Jul 18 at 20:29
you can unhide all files by typing CMD + SHIFT + .
â jmh
Jul 18 at 20:33
you can unhide all files by typing CMD + SHIFT + .
â jmh
Jul 18 at 20:33
Why do you want to edit
.bashrc with sudo ?â RoVo
Jul 24 at 8:33
Why do you want to edit
.bashrc with sudo ?â RoVo
Jul 24 at 8:33
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
You should first unhide all files by typing CMD + Shift + . Then try opening the file with textEdit,
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
You should first unhide all files by typing CMD + Shift + . Then try opening the file with textEdit,
add a comment |Â
up vote
1
down vote
You should first unhide all files by typing CMD + Shift + . Then try opening the file with textEdit,
add a comment |Â
up vote
1
down vote
up vote
1
down vote
You should first unhide all files by typing CMD + Shift + . Then try opening the file with textEdit,
You should first unhide all files by typing CMD + Shift + . Then try opening the file with textEdit,
edited Jul 24 at 2:01
slmâ¦
233k65479650
233k65479650
answered Jul 24 at 1:07
jmh
1135
1135
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f455006%2fterminal-open-possibly-hidden-file-using-textedit%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
i just tried your command: open -a textEdit ~/.bashrc and it worked fine on my machine. Are you in your home directory when you issue the command?
â jmh
Jul 18 at 20:29
you can unhide all files by typing CMD + SHIFT + .
â jmh
Jul 18 at 20:33
Why do you want to edit
.bashrcwithsudo?â RoVo
Jul 24 at 8:33