Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Create file if not exist bash

#! /bin/bash 
if [[ ! -e file.txt ]]; then
    touch file.txt
fi
Comment

PREVIOUS NEXT
Code Example
Shell :: zsh: no such file or directory: /usr/local/bin/composer.phar 
Shell :: install pprint python 
Shell :: download play list youtube-dl 
Shell :: git show tree graph 
Shell :: remove app ubuntu terminal 
Shell :: bat current directory 
Shell :: install neovim 0.5 ubuntu 
Shell :: update vs code in ubuntu 
Shell :: check logged in user git shell 
Shell :: install cmake ubuntu 
Shell :: uninstall tensorflow 
Shell :: start mongodb service ubuntu 
Shell :: how to change a user email for a project in git 
Shell :: wsl ubuntu reboot 
Shell :: how to install pip in ubuntu 
Shell :: snap store ubuntu update 
Shell :: install Hardhat locally using npm or Yarn 
Shell :: choco upgrade all 
Shell :: mac install gpg 
Shell :: make docker sudo less 
Shell :: how to install kite in ubuntu 
Shell :: ubuntu install jre 
Shell :: git pull all branches at once 
Shell :: ubuntu root login ssh 
Shell :: gitigore rm cache 
Shell :: how to remove the last character terminal 
Shell :: update npm with nvm 
Shell :: windows powershell symlink 
Shell :: git clone fatal: unable to access SSL certificate problem: self signed certificate in certificate chain 
Shell :: visual studio code fedora 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =