Create target directory if required

Remove hardcoded target directory
This commit is contained in:
Pratik Tripathy
2023-02-06 00:32:52 +05:30
parent 6c061f3a10
commit 2f5dbc7f10
4 changed files with 8 additions and 6 deletions

View File

@@ -15,6 +15,10 @@ alias fgrep='fgrep --color=auto'
alias usersearch="awk -F: '{print \"UserName: \" \$1 \", UserID: \" \$3 \", Home Dir: \" \$6 \", Shell Used: \" \$7}' /etc/passwd | grep"
# alias code="codium"
url_encode(){
python3 -c "import urllib.parse, sys; print(urllib.parse.quote(sys.stdin.read()))" <<< "$1"
}
# History
alias histsearch="history | grep"