Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bash]

Bash is the shell used in elementary OS command-line interface.

0
votes
1answer
40 views

Terminal starts with bash command

I am super new to linux environment and I am currently using Elementary OS. While trying to install Anaconda, it seems that I did something wrong. Now every time I open my terminal I am getting the ...
1
vote
2answers
49 views

What is the most simplest way to change (fix) the colors in the terminal (bash)

Just installed elementary os. in the terminal, ll gives a list of files and directories showing directories with lightblue color with green background - which is unlucky with respect to contrast, ...
0
votes
2answers
148 views

Problem when I try to boot Elementary OS

After I installed Elementary OS with dual boot (also have Win 10), whenever I try to boot Elementary a message appears saying NTFS5 : no eosldr and then this: I need some help!
1
vote
1answer
515 views

How to Share the environment Paths between Bash, fish and zsh shells

fish Shell doesn't recognize the node command as well as zsh too. But the bash does, So How Can I Share Environment Path between all of the Shells
0
votes
2answers
230 views

I need to run exec bash to accsess Jekyll or Ruby for example

I installed chruby, ruby-install from this tutorial and changed .bashrc acording to it. I can use Jekyll to build websites now, but only after I run exec $SHELL. Otherwise bash tells me the command ...
1
vote
1answer
551 views

No bash_profile and when I define it, it doesn't load

Elementary didn't come with a ~/.profile or ~/.bash_profile. I created the latter. I can manually enter source ~/.bash_profile, and it works. But when I start terminal cleanly, it doesn't ...
4
votes
1answer
200 views

Case sensitive tab completion

I'm new to Elementary (though not to Linux) and really enjoying it so far. One thing I find annoying though is the case insensitive tab completion in the terminal/shell - I can see how it might be ...
1
vote
1answer
378 views

.bashrc doesn't exist and doesn't work

There was no .bashrc or .bash_profile in my home folder. I created a new file and put inside my aliases. They don't work, terminal ignores everything. Why?
2
votes
2answers
602 views

bashrc error message on terminal

I get the following error message whenever I open my terminal: bash: /home/ajith/.bashrc: line 168: syntax error near unexpected token `-r' bash: /home/ajith/.bashrc: line 168: `esac[ -r /home/...
1
vote
1answer
349 views

Syntax error after running every command in tmux

I am getting the same error after executing every command in tmux and after running it, and this is annoying: -bash: PROMPT_COMMAND: line 0: syntax error near unexpected token `;;' -bash: ...
0
votes
2answers
432 views

How can I shorten my command line (bash/oh-my-zsh) prompt?

I have installed oh-my-zsh this morning and now command line is too long, it looks something like this: my-username@my-pc-name ~/Desktop/ I would like to change "my-username@my-pcname ~" part just ...
0
votes
1answer
81 views

Trying to run a simple shell script to install VirtualBox Guest Additions [closed]

Elementary is sorely lacking in ease of use beyond opening applications. Something as simple as running a shell script ought to work like it does in any other distro, but elementary fails at it. ...
1
vote
1answer
602 views

Can't execute shell scripts

I'm running elementary OS Freya on a HP Notebook. I downloaded the game "Faster than Light" and the launcher is a shellscript. Even with the +x permssion I get "permission denied" messages. I don't ...
7
votes
1answer
396 views

How can I make Ctrl+D not close the tab in Pantheon Terminal?

I've encountered something when using Pantheon Terminal. Normally, I expect Ctrl+D to delete the character at point if there is one, else if there aren't any characters on the line, send EOF (standard ...
0
votes
0answers
128 views

Odd characters added to redirect command

When I run a simple bash statement I get extra characters in the redirect of that statement. Example, if I run for i in 12345 abcd 7890; do echo $i ; done > test.txt and then do a cat -A test.txt ...
7
votes
2answers
3k views

How to switch to zsh?

I have liked the bash shell that ships default with elementary OS very much. But I would like to change to zsh that is a superset of bash. But I have not found a great guide to switch to zsh or how to ...
6
votes
3answers
1k views

Remove or ignore duplicate entries in terminal history

Is it possible to ignore or remove duplicate entries from the terminal history? Right now, when I click the up-arrow to go through my previous commands, there are lots of duplicates, or when I use ...
8
votes
2answers
1k views

How can I set up an alias for a command?

I want to set up a shorter name as an alias of this command: sudo -i pantheon-files $(pwd) For example I want to type sfoh (for sudo file open here) and it should run this command. How do I do this?...