Thursday, May 23, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 7523  / 3 Years ago, sat, july 17, 2021, 7:44:17

I was trying to make my Ubuntu connect to nexus tab and used the following command lines:



echo "alias android-connect="mtpfs -o allow_other /media/GalaxyNexus"" >> ~/.bashrc
echo "alias android-disconnect="fusermount -u /media/GalaxyNexus"" >> ~/.bashrc
source ~/.bashrc


I got the following errors and every time I open my command line it's writt



bash: alias: -o: not found
bash: alias: allow_other: not found
bash: alias: /media/Nexus: not found
bash: alias: -u: not found
bash: alias: /media/Nexus: not found
bash: alias: source: not found
bash: alias: /home/user/.bashrc: not found


How can I handle that?


More From » command-line

 Answers
1

It seems your .bashrc file contains the lines without the double quotes:



alias android-connect=mtpfs -o allow_other /media/GalaxyNexus
alias android-disconnect=fusermount -u /media/GalaxyNexus


Open the file in an editor and remove the offending lines.


[#31071] Monday, July 19, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fishutt

Total Points: 391
Total Questions: 137
Total Answers: 106

Location: Mexico
Member since Tue, Aug 11, 2020
4 Years ago
fishutt questions
Thu, Nov 17, 22, 07:36, 2 Years ago
Mon, Mar 28, 22, 15:09, 2 Years ago
Wed, Feb 8, 23, 06:50, 1 Year ago
Thu, Aug 25, 22, 13:26, 2 Years ago
Fri, Apr 22, 22, 00:08, 2 Years ago
;