Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
31
rated 0 times [  31] [ 0]  / answers: 1 / hits: 19866  / 3 Years ago, mon, november 15, 2021, 12:24:00

I've been told to run this:



./yiic message ./app/messages/config.php


But I don't understand the ./ meaning, can anyone clarify please.



Note:
Believe me, we can't google that. I've tried:



./ meaning
./ ubuntu



It was the same as nothing. :(


More From » bash

 Answers
1

./ or just . is unix shorthand for the current directory.



You need to specify it when the current directory is not in your PATH. The PATH is the list of folders searched when you run a program. (You can determine it by writing echo $PATH.) If an executable file is not in your PATH, to run it you need to specify the folder it's in. You could do this by giving the full path to the file, but if the file is in the current directory, you can use ./ as shorthand.



Similarly, ../ or just .. is shorthand for the directory above the current one.


[#43585] Tuesday, November 16, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ligenvirt

Total Points: 238
Total Questions: 98
Total Answers: 100

Location: Senegal
Member since Fri, Aug 21, 2020
4 Years ago
;