-bash: gt: command not found [closed]Get the source directory of a Bash script from within the script itselfHow do I parse command line arguments in Bash?How to check if a string contains a substring in BashHow to check if a program exists from a Bash script?How do I tell if a regular file does not exist in Bash?How do I split a string on a delimiter in Bash?Extract filename and extension in BashHow to concatenate string variables in BashHow do I set a variable to the output of a command in Bash?Echo newline in Bash prints literal n

Why do we need a voltage divider when we get the same voltage at the output as the input?

Gold Battle KoTH

Why does the U.S (and other Republics) not have separate capital cities for each branch of government?

A conjectural trigonometric identity

How do discovery writers hibernate?

How do I solve such questions on paramagnetism and ferromagnetism?

Return last number in sub-sequences in a list of integers

Meaning of 誰かの代わりに

Can living where (rare) earth magnetic ore is abundant provide a mini-magnetoshere?

Should I put my name first or last in the team members list?

Why are sugars in whole fruits not digested the same way sugars in juice are?

Applying for mortgage when living together but only one will be on the mortgage

Password management for kids - what's a good way to start?

What's the term for a group of people who enjoy literary works?

Plotting Chebyshev polynomials using PolarPlot and FilledCurve

Python π = 1 + (1/2) + (1/3) + (1/4) - (1/5) + (1/6) + (1/7) + (1/8) + (1/9) - (1/10) ...1748 Euler

Does the problem of P vs NP come under the category of Operational Research?

How do I respond appropriately to an overseas company that obtained a visa for me without hiring me?

Why have both: BJT and FET transistors on IC output?

Is there a general term for the items in a directory?

Word to describe someone doing something even though told not to

Does the use of a new concept require a prior definition?

PI 4 screen rotation from the terminal

Can I say "Gesundheit" if someone is coughing?



-bash: gt: command not found [closed]


Get the source directory of a Bash script from within the script itselfHow do I parse command line arguments in Bash?How to check if a string contains a substring in BashHow to check if a program exists from a Bash script?How do I tell if a regular file does not exist in Bash?How do I split a string on a delimiter in Bash?Extract filename and extension in BashHow to concatenate string variables in BashHow do I set a variable to the output of a command in Bash?Echo newline in Bash prints literal n






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








-2















I downloaded some GitHub file a long time ago that I honestly don't even need anymore. Anyways, now whenever I open/start or even do anything, it gives me this error that says



-bash: gt: command not found
-bash: /dev/null: Permission denied
fatal: Not a valid object name: 'master'.


Also, instead of saying



user@ubuntu; ~ $


It says



->> ~ $


I'm also on Mac running a Terminal clone










share|improve this question
















closed as off-topic by ruakh, John Kugelman, Shawn, tripleee, double-beep Apr 5 at 11:32


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Reproducible Example." – Shawn, tripleee
If this question can be reworded to fit the rules in the help center, please edit the question.












  • 1





    Can you post your .bashrc? (minus any secret stuff, of course)

    – jwir3
    Mar 27 at 0:34












  • "The file /Users/gizmopena/.bashrc does not exist". Also sry im a noob

    – Gizmo
    Mar 27 at 0:41







  • 1





    Hm, interesting. So, when you say "I downloaded some GitHub file a long time ago", presumably you mean you added something from GitHub to your startup. Is this correct? Could you run this command for me: echo $SHELL

    – jwir3
    Mar 27 at 0:45











  • In github you need to click the "Raw" button before downloading a file. Otherwise, you're probably downloading the HTML rendering of the file. If you open/edit the file you downloaded, it should be evident. Does /Users exist? That doesn't sound like a normal Ubuntu home folder for user accounts. Usually it's /home/.... If you login, what do you get when you enter pwd?

    – lurker
    Mar 27 at 0:45












  • Do any of ~/.bash_profile, ~/.bash_login, or ~/.profile exist? If so, what do they contain?

    – Gordon Davisson
    Mar 27 at 1:38

















-2















I downloaded some GitHub file a long time ago that I honestly don't even need anymore. Anyways, now whenever I open/start or even do anything, it gives me this error that says



-bash: gt: command not found
-bash: /dev/null: Permission denied
fatal: Not a valid object name: 'master'.


Also, instead of saying



user@ubuntu; ~ $


It says



->> ~ $


I'm also on Mac running a Terminal clone










share|improve this question
















closed as off-topic by ruakh, John Kugelman, Shawn, tripleee, double-beep Apr 5 at 11:32


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Reproducible Example." – Shawn, tripleee
If this question can be reworded to fit the rules in the help center, please edit the question.












  • 1





    Can you post your .bashrc? (minus any secret stuff, of course)

    – jwir3
    Mar 27 at 0:34












  • "The file /Users/gizmopena/.bashrc does not exist". Also sry im a noob

    – Gizmo
    Mar 27 at 0:41







  • 1





    Hm, interesting. So, when you say "I downloaded some GitHub file a long time ago", presumably you mean you added something from GitHub to your startup. Is this correct? Could you run this command for me: echo $SHELL

    – jwir3
    Mar 27 at 0:45











  • In github you need to click the "Raw" button before downloading a file. Otherwise, you're probably downloading the HTML rendering of the file. If you open/edit the file you downloaded, it should be evident. Does /Users exist? That doesn't sound like a normal Ubuntu home folder for user accounts. Usually it's /home/.... If you login, what do you get when you enter pwd?

    – lurker
    Mar 27 at 0:45












  • Do any of ~/.bash_profile, ~/.bash_login, or ~/.profile exist? If so, what do they contain?

    – Gordon Davisson
    Mar 27 at 1:38













-2












-2








-2








I downloaded some GitHub file a long time ago that I honestly don't even need anymore. Anyways, now whenever I open/start or even do anything, it gives me this error that says



-bash: gt: command not found
-bash: /dev/null: Permission denied
fatal: Not a valid object name: 'master'.


Also, instead of saying



user@ubuntu; ~ $


It says



->> ~ $


I'm also on Mac running a Terminal clone










share|improve this question
















I downloaded some GitHub file a long time ago that I honestly don't even need anymore. Anyways, now whenever I open/start or even do anything, it gives me this error that says



-bash: gt: command not found
-bash: /dev/null: Permission denied
fatal: Not a valid object name: 'master'.


Also, instead of saying



user@ubuntu; ~ $


It says



->> ~ $


I'm also on Mac running a Terminal clone







bash ubuntu terminal






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 27 at 14:54







Gizmo

















asked Mar 27 at 0:22









GizmoGizmo

12 bronze badges




12 bronze badges





closed as off-topic by ruakh, John Kugelman, Shawn, tripleee, double-beep Apr 5 at 11:32


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Reproducible Example." – Shawn, tripleee
If this question can be reworded to fit the rules in the help center, please edit the question.









closed as off-topic by ruakh, John Kugelman, Shawn, tripleee, double-beep Apr 5 at 11:32


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Reproducible Example." – Shawn, tripleee
If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by ruakh, John Kugelman, Shawn, tripleee, double-beep Apr 5 at 11:32


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Reproducible Example." – Shawn, tripleee
If this question can be reworded to fit the rules in the help center, please edit the question.







  • 1





    Can you post your .bashrc? (minus any secret stuff, of course)

    – jwir3
    Mar 27 at 0:34












  • "The file /Users/gizmopena/.bashrc does not exist". Also sry im a noob

    – Gizmo
    Mar 27 at 0:41







  • 1





    Hm, interesting. So, when you say "I downloaded some GitHub file a long time ago", presumably you mean you added something from GitHub to your startup. Is this correct? Could you run this command for me: echo $SHELL

    – jwir3
    Mar 27 at 0:45











  • In github you need to click the "Raw" button before downloading a file. Otherwise, you're probably downloading the HTML rendering of the file. If you open/edit the file you downloaded, it should be evident. Does /Users exist? That doesn't sound like a normal Ubuntu home folder for user accounts. Usually it's /home/.... If you login, what do you get when you enter pwd?

    – lurker
    Mar 27 at 0:45












  • Do any of ~/.bash_profile, ~/.bash_login, or ~/.profile exist? If so, what do they contain?

    – Gordon Davisson
    Mar 27 at 1:38












  • 1





    Can you post your .bashrc? (minus any secret stuff, of course)

    – jwir3
    Mar 27 at 0:34












  • "The file /Users/gizmopena/.bashrc does not exist". Also sry im a noob

    – Gizmo
    Mar 27 at 0:41







  • 1





    Hm, interesting. So, when you say "I downloaded some GitHub file a long time ago", presumably you mean you added something from GitHub to your startup. Is this correct? Could you run this command for me: echo $SHELL

    – jwir3
    Mar 27 at 0:45











  • In github you need to click the "Raw" button before downloading a file. Otherwise, you're probably downloading the HTML rendering of the file. If you open/edit the file you downloaded, it should be evident. Does /Users exist? That doesn't sound like a normal Ubuntu home folder for user accounts. Usually it's /home/.... If you login, what do you get when you enter pwd?

    – lurker
    Mar 27 at 0:45












  • Do any of ~/.bash_profile, ~/.bash_login, or ~/.profile exist? If so, what do they contain?

    – Gordon Davisson
    Mar 27 at 1:38







1




1





Can you post your .bashrc? (minus any secret stuff, of course)

– jwir3
Mar 27 at 0:34






Can you post your .bashrc? (minus any secret stuff, of course)

– jwir3
Mar 27 at 0:34














"The file /Users/gizmopena/.bashrc does not exist". Also sry im a noob

– Gizmo
Mar 27 at 0:41






"The file /Users/gizmopena/.bashrc does not exist". Also sry im a noob

– Gizmo
Mar 27 at 0:41





1




1





Hm, interesting. So, when you say "I downloaded some GitHub file a long time ago", presumably you mean you added something from GitHub to your startup. Is this correct? Could you run this command for me: echo $SHELL

– jwir3
Mar 27 at 0:45





Hm, interesting. So, when you say "I downloaded some GitHub file a long time ago", presumably you mean you added something from GitHub to your startup. Is this correct? Could you run this command for me: echo $SHELL

– jwir3
Mar 27 at 0:45













In github you need to click the "Raw" button before downloading a file. Otherwise, you're probably downloading the HTML rendering of the file. If you open/edit the file you downloaded, it should be evident. Does /Users exist? That doesn't sound like a normal Ubuntu home folder for user accounts. Usually it's /home/.... If you login, what do you get when you enter pwd?

– lurker
Mar 27 at 0:45






In github you need to click the "Raw" button before downloading a file. Otherwise, you're probably downloading the HTML rendering of the file. If you open/edit the file you downloaded, it should be evident. Does /Users exist? That doesn't sound like a normal Ubuntu home folder for user accounts. Usually it's /home/.... If you login, what do you get when you enter pwd?

– lurker
Mar 27 at 0:45














Do any of ~/.bash_profile, ~/.bash_login, or ~/.profile exist? If so, what do they contain?

– Gordon Davisson
Mar 27 at 1:38





Do any of ~/.bash_profile, ~/.bash_login, or ~/.profile exist? If so, what do they contain?

– Gordon Davisson
Mar 27 at 1:38












1 Answer
1






active

oldest

votes


















1














It appears that your shell prompt (stuff that your shell shows when waiting for you to enter some command) contains wrong characters. Looking at .bash_profile you've provided in the comments, it appears that PS1 variable definition contains weird characters, plus it calls parse_git_branch function that itself has a number of issues (most likely the result of HTML copy/paste).



You have 2 options:



  1. Remove the function and redefine PS1 to something more useful. Your .bash_profile would look something like this:

export CLICOLOR=1
export LSCOLORS=GxBxCxDxexegedabagaced

export PS1="[u@h W] $ "


  1. Just fix copy/paste issues to bring your prompt to its intended form, which is "show me the current working directory and, when available, current git branch":

export CLICOLOR=1
export LSCOLORS=GxBxCxDxexegedabagaced
parse_git_branch() sed -e '/^[^*]/d' -e 's/* (.*)/ (1)/'


export PS1="[e[0;35m]->> [e[1;34m]W[e[0;32m]$(parse_git_branch)[e[0;37m] $ "





share|improve this answer




























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    It appears that your shell prompt (stuff that your shell shows when waiting for you to enter some command) contains wrong characters. Looking at .bash_profile you've provided in the comments, it appears that PS1 variable definition contains weird characters, plus it calls parse_git_branch function that itself has a number of issues (most likely the result of HTML copy/paste).



    You have 2 options:



    1. Remove the function and redefine PS1 to something more useful. Your .bash_profile would look something like this:

    export CLICOLOR=1
    export LSCOLORS=GxBxCxDxexegedabagaced

    export PS1="[u@h W] $ "


    1. Just fix copy/paste issues to bring your prompt to its intended form, which is "show me the current working directory and, when available, current git branch":

    export CLICOLOR=1
    export LSCOLORS=GxBxCxDxexegedabagaced
    parse_git_branch() sed -e '/^[^*]/d' -e 's/* (.*)/ (1)/'


    export PS1="[e[0;35m]->> [e[1;34m]W[e[0;32m]$(parse_git_branch)[e[0;37m] $ "





    share|improve this answer





























      1














      It appears that your shell prompt (stuff that your shell shows when waiting for you to enter some command) contains wrong characters. Looking at .bash_profile you've provided in the comments, it appears that PS1 variable definition contains weird characters, plus it calls parse_git_branch function that itself has a number of issues (most likely the result of HTML copy/paste).



      You have 2 options:



      1. Remove the function and redefine PS1 to something more useful. Your .bash_profile would look something like this:

      export CLICOLOR=1
      export LSCOLORS=GxBxCxDxexegedabagaced

      export PS1="[u@h W] $ "


      1. Just fix copy/paste issues to bring your prompt to its intended form, which is "show me the current working directory and, when available, current git branch":

      export CLICOLOR=1
      export LSCOLORS=GxBxCxDxexegedabagaced
      parse_git_branch() sed -e '/^[^*]/d' -e 's/* (.*)/ (1)/'


      export PS1="[e[0;35m]->> [e[1;34m]W[e[0;32m]$(parse_git_branch)[e[0;37m] $ "





      share|improve this answer



























        1












        1








        1







        It appears that your shell prompt (stuff that your shell shows when waiting for you to enter some command) contains wrong characters. Looking at .bash_profile you've provided in the comments, it appears that PS1 variable definition contains weird characters, plus it calls parse_git_branch function that itself has a number of issues (most likely the result of HTML copy/paste).



        You have 2 options:



        1. Remove the function and redefine PS1 to something more useful. Your .bash_profile would look something like this:

        export CLICOLOR=1
        export LSCOLORS=GxBxCxDxexegedabagaced

        export PS1="[u@h W] $ "


        1. Just fix copy/paste issues to bring your prompt to its intended form, which is "show me the current working directory and, when available, current git branch":

        export CLICOLOR=1
        export LSCOLORS=GxBxCxDxexegedabagaced
        parse_git_branch() sed -e '/^[^*]/d' -e 's/* (.*)/ (1)/'


        export PS1="[e[0;35m]->> [e[1;34m]W[e[0;32m]$(parse_git_branch)[e[0;37m] $ "





        share|improve this answer













        It appears that your shell prompt (stuff that your shell shows when waiting for you to enter some command) contains wrong characters. Looking at .bash_profile you've provided in the comments, it appears that PS1 variable definition contains weird characters, plus it calls parse_git_branch function that itself has a number of issues (most likely the result of HTML copy/paste).



        You have 2 options:



        1. Remove the function and redefine PS1 to something more useful. Your .bash_profile would look something like this:

        export CLICOLOR=1
        export LSCOLORS=GxBxCxDxexegedabagaced

        export PS1="[u@h W] $ "


        1. Just fix copy/paste issues to bring your prompt to its intended form, which is "show me the current working directory and, when available, current git branch":

        export CLICOLOR=1
        export LSCOLORS=GxBxCxDxexegedabagaced
        parse_git_branch() sed -e '/^[^*]/d' -e 's/* (.*)/ (1)/'


        export PS1="[e[0;35m]->> [e[1;34m]W[e[0;32m]$(parse_git_branch)[e[0;37m] $ "






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 27 at 9:27









        KMZKMZ

        3032 silver badges8 bronze badges




        3032 silver badges8 bronze badges



















            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.





            Popular posts from this blog

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

            155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해