linux execute binary file by full path [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I have an executable file ffmpeg in /home/juping/. If I change my working directory to /home/juping/ with the command cd /home/juping/, I can run the executable file ffmpeg by running ./ffmpeg. If I do not change the working directory, can I then still run the executable file by its full path like .//home/juping/ffmpeg? I tried but it doesn't work.

You can execute it by typing
/home/juping/ffmpeg

The ./ point to current directory.

Related

How to copy all the fine with a specific format like .txt and .png from a folder to another one in Linux Terminal? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Hi all I have a folder full of different format like the one that I am interested in are .png and .txt and I want to copy them in another folder from the terminal in Linux. Someone know how to that?
Simple Use cp command in Linux
=> Example:
cp *.txt /destination/folder/location/

How to change text file extension type in Linux? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Using gedit, I want to create a config.env file, how do I change the extension as simply naming it config.env doesn't work.
THanks in advance
It really doesn't matter what the file extension is, as long as it is in a linux machine.
Just execute file <filename> to know the file type.
However you could try this:
Save the file as it is like config.txt or other and execute the below command
mv config.txt config.env

bash: ./checksetup.pl: No such file or directory [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
While installation of bugzilla I was running this commmand, /.checksetup.pl , but I am getting the error,
bash: ./checksetup.pl: No such file or directory
I am using centos v6.5.
check if you in the right place (u can use 'ls' command and see if it's showing 'checksetup.pl' )
it might be not executable ,then try this :
sudo chmod +x checksetup.pl

Standard contents of /etc/environment file in linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm running Linux Mint 14 and accidentally replaced the contents of /etc/environment file. It was originally something like:
PATH=/usr/bin
but with some extra stuff. At the moment, most commands don't work in the terminal. If I do "ls", I get "command not found". Does anyone know the standard contents of this file is?
On ubuntu 12.04 it is:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"

How to solve "bash: ls: command not found" [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I did something wrong with PATH, so currently if I type ls command I get:
bash: ls: command not found
How can I solve it?
Restore $PATH. The easiest way to do this is to close the current shell and open a new one (assuming you didn't futz with the shell startup files and this is why it's broken).

Resources