Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash provide path to same dir as executable

#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
Comment

PREVIOUS NEXT
Code Example
Shell :: rubocop command to run auto correct 
Shell :: ssh set owner recursive 
Shell :: ssh disconnecting timeout 
Shell :: install imutils ubuntu 
Shell :: install lc ubuntu 
Shell :: bash numbering even filename 
Shell :: bash script get value from piped input 
Shell :: install docker ce on centos 
Shell :: cp all files except .git 
Shell :: install shutter for ubuntu screenshot 
Shell :: extract tar.zst zst linux ubnutu 
Shell :: install glade pacman 
Shell :: what is linux 
Shell :: how to get mcp23017 input in binary shell 
Shell :: github.com local branch equal to remote 
Shell :: commit history 
Shell :: linux user expiration 
Shell :: install Helm v3.x 
Shell :: linux install with package manager snap snapd 
Shell :: conEMU alias / 
Shell :: git create new repository 
Shell :: install scrcpy in ubuntu 
Shell :: remove remote origin git 
Shell :: bash date 
Shell :: turn off wiregurad linux 
Shell :: git remove all changes 
Shell :: display used shell 
Shell :: start with git and github 
Shell :: how to download files from linux server 
Shell :: install go on mac brew 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =