Linked Questions

0 votes
1 answer
3k views

How to add the current dir to Bash's path and why is it considered a bad idea by some people? [duplicate]

I'd like to add the current dir to the path so i don't have to keep typing stuff like ./a.out over and over. I also recall someone saying it was a bad idea, but don't remember why. I Windows and DOS ...
cfischer's user avatar
  • 9,063
0 votes
1 answer
169 views

Why do I have to type ./ when executing scripts in my current directory? [duplicate]

Possible Duplicate: Why is . not in the path by default? This question might be trivial but I'm wondering why I have to type the dot and the slash before the name of my script in order to execute ...
beta's user avatar
  • 123
1 vote
0 answers
21 views

Why/how does including . in PATH pose a security risk? [duplicate]

I was reading this answer to understand the inner workings of bash when I saw this: You should never have . in your PATH as it poses a security risk, among other problems. and couldn't figure out ...
heretoinfinity's user avatar
18 votes
1 answer
46k views

How to permanently add current directory to PATH in Linux? [duplicate]

Possible Duplicate: Add folder to PATH I want to a add a directory to my bash to search in, and I am using the $PATH=.... it works however when I open a new command window it is not there. How ...
user avatar
7 votes
1 answer
462 views

Why do I need to explicitly specify the current directory with "./" when running "./configure"?

I'm new to Linux so sorry if this is a very basic question. I know you type the following to install something, you type these three commands: ./configure make sudo make install I know . means the ...
User314159's user avatar
1 vote
2 answers
1k views

Can not execute a file from terminal located in the same directory

I want to execute graldew. It is definitely in the same directory and it has all the permission. But when I try to execute it I get command not found. Also I can not even autocomplete it using TAB ...
Kosh's user avatar
  • 228
0 votes
1 answer
2k views

SHELL="/bin/bash" vs SHELL="bash"

What's the difference between exporting SHELL="/bin/bash" and SHELL="bash"? I previously had export SHELL="bash" in my .bashrc. It seemed to work. $($SHELL) spawned a ...
user2453676's user avatar
0 votes
1 answer
1k views

Trying to run app in another directory

We have a app that is run out of a specific directory, it uses flask (never worked with it before) and it is called from /home/automation_admin/rest-auto/production/TestLauncherApp Once in that ...
Steve Grosz's user avatar
0 votes
1 answer
157 views

What is l type of directory with `->` and how to navigate these file

I was listing directory , it display few file/directory with l on just ahead of permission columns and these have two names separated with -> with asterisk *(that means executable) . What means of ...
xkeshav's user avatar
  • 375
0 votes
1 answer
130 views

Kali Linux Requires Full Directory Path For All Command [closed]

I'm having a problem on Kali Linux Lite 5.7.0 64-bit related to directory paths. Not just the CD command, every command requires the full path. For example, if I'm in a directory named "user/...
1zuku_Austin's user avatar
0 votes
1 answer
119 views

Overriding calls of application/command in specific folder

I would like to run specific application in specific folders only. For example for vint application $ cd /workspace/vim-plugin $ vint ftplugin/terraform.vim Should run docker exec -i vim-plugin sh -...
Marek Maksimczyk's user avatar
0 votes
0 answers
102 views

PowerShell command makes windows loop

I've installed today, the Screenfetcher module for Windows - as follows: PS D:\INSTALKI\ScreenFetch> Find-Module -Repository Local Version Name Repository ...
Marcin's user avatar
  • 1