Skip to content

every time i open up terminal i face this issue

is something wrong , it hasn't caused any issue yet , but i just want to make sure is something wrong or not

​

here it is :-

bash: #: command not found
[kartikay@arch ~]$

1 points8 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
1bcntlr

Author

11
posts
29
comments
1
media
View profile

9 comments

Likely something in your .bashrc file is trying to run. Can you paste the output of:

cat ~/.bashrc

5 points

\#

~/.bashrc

If not running interactively, don't do anything

[[ $- != *i* ]] && return

alias ls='ls --color=auto'

alias grep='grep --color=auto'

1 points

If I'm reading this correctly, that first line with the backslash pound is probably the issue. Try removing that

8 points
P3rilousDeleted · saved before deletion

you can use this single change of your file and some very minor research to make your terminal something other than user@machine, as a minimalist mine displays current folder and number of paused jobs...

1 points

get rid of the first part and let it start with [[ $- !=..... the /# ~/.bashrc If not running... shouldn't be there

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.