Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

2
LINES

< > BotCompany Repo | #1033730 // BASH: cd to directory of script

Document

1  
#!/bin/bash
2  
cd "$(dirname "$0")"

download  show line numbers   

Travelled to 2 computer(s): bhatertpkbcr, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033730
Snippet name: BASH: cd to directory of script
Eternal ID of this version: #1033730/1
Text MD5: d2eccd627cefc0ca0ecab916c1680e1a
Author: stefan
Category: linux
Type: Document
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-12-31 01:29:06
Source code size: 33 bytes / 2 lines
Pitched / IR pitched: No / No
Views / Downloads: 121 / 52
Referenced in: [show references]