Home
Random
Log in
Settings
About David's Wiki
Disclaimers
David's Wiki
Search
Bash (Unix shell): Difference between revisions
Page
Discussion
← Older edit
Newer edit →
Bash (Unix shell)
(view source)
Revision as of 03:31, 26 January 2022
20 bytes added
,
26 January 2022
→dirname
Revision as of 04:16, 18 January 2022
(
view source
)
David
(
talk
|
contribs
)
(
→Basic If Statements
)
← Older edit
Revision as of 03:31, 26 January 2022
(
view source
)
David
(
talk
|
contribs
)
(
→dirname
)
Newer edit →
Line 150:
Line 150:
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
cd "${DIR}" || exit
</syntaxhighlight>
</syntaxhighlight>
David
Bureaucrats
,
Interface administrators
,
Administrators
5,336
edits