Skip to main content

Questions tagged [bash]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

Installation error when installing parrot os, I get the following screen

Tipos de traducción Traducción de texto Texto original 764 / 5.000 Resultados de traducción Resultado de traducción When I go to install parrot os from a bootable pen, when it starts up it shows me ...
alex garcia's user avatar
0 votes
0 answers
18 views

Fallo de instalacion de parrot os , me sale esta pantalla

cuando voy a instalar parrot os desde un pen booteable al arrancar me muestra el siguiente mensaje , alguien sabe que es lo que esta fallando? GNU GRUB version 2.06-13+parrot5 Minimal BASH-like line ...
alex garcia's user avatar
1 vote
1 answer
52 views

Is there a way to make Terminal tab titles display the currently running command?

Using Terminal 6.1.2, everything up-to-date. I currently have the following in my .bashrc, as suggested in this answer: case "$TERM" in xterm*|rxvt*) PROMPT_COMMAND='echo -ne "\033]...
nevillepark's user avatar
1 vote
0 answers
235 views

How do I display an icon with `notify-send`?

If I run notify-send --icon=address-book-new "My notification" the notification that comes up has an "info" icon: And if I look at the notification in the notification popover, ...
Lukas's user avatar
  • 38
1 vote
1 answer
14 views

How to write an alias to accept variables

I want to set an alias so that I can swiftly log in to one of my workstations. For example, I must enter ssh [email protected] to log in to one of my machines. Sometimes, the hostname ...
Saurabh Lambe's user avatar
2 votes
1 answer
203 views

How do I launch a new application in a new workspace from terminal?

I am trying to automate launching a few programs I use every time I do a particular activity. I generally launch these and then arrange them manually into different workspace. I was wondering how to ...
computronium's user avatar
1 vote
2 answers
176 views

Dumb Noob question: Terminal is stuck in bash edit mode

I entered sudo bash and I can't get back to the normal command prompt mode. Exit just closes the terminal. A restart didn't help either. I would like to exit the bash mode so I don't mess anything ...
Andrew Fox's user avatar
1 vote
1 answer
64 views

Custom keyboard shortcut now activating after second press

I'm using ctrl + space as a custom shortcut to activate a TTS (text to speech) script that I wrote. I've been using this shortcut for about a week now with no problems, but recently the shortcut won'...
CWW's user avatar
  • 31
0 votes
1 answer
384 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 ...
John D's user avatar
  • 101
1 vote
3 answers
1k 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, ...
citykid's user avatar
  • 113
0 votes
2 answers
286 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!
Alexandru Hiru's user avatar
2 votes
1 answer
2k 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
user avatar
0 votes
2 answers
344 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 ...
bigfatbird's user avatar
3 votes
1 answer
1k 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 ...
Christopher Davies's user avatar
3 votes
1 answer
323 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 ...
Andrew's user avatar
  • 181
1 vote
2 answers
766 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?
Alessandro Giuliano's user avatar
2 votes
2 answers
958 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/...
Ajith's user avatar
  • 81
1 vote
1 answer
757 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: ...
serge1peshcoff's user avatar
0 votes
3 answers
933 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 ...
vlsim's user avatar
  • 11
0 votes
1 answer
89 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. ...
user3491's user avatar
1 vote
1 answer
1k 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 ...
piteco's user avatar
  • 11
8 votes
1 answer
460 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 ...
Cass's user avatar
  • 85
0 votes
0 answers
173 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 ...
Trent's user avatar
  • 1
10 votes
2 answers
5k 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 ...
Aditya ultra's user avatar
  • 1,338
9 votes
3 answers
2k 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 ...
dagrha's user avatar
  • 675
11 votes
2 answers
2k 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?...
user avatar