Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Bash

echo "Hello, World!"
Comment

bash!

# GNU Bash or simply Bash is a Unix shell and command language written
# by Brian Fox for the GNU Project as a free software replacement for 
# the Bourne shell. 
Comment

Bash

git commit && git push
git commit || echo "Commit failed"
Comment

bash

grep " jane " ../data/list.txt | cut -d ' ' -f 1
content_copy
Comment

bash

echo # print something in the terminal
sudo # Run a command as an administator
set # Environment variables
export # Make an environment variable
login #login (arch linux)
rm # Remove a file
rmdir # Remove an empty directory
apt # apt package manager (Debian and Debian-based systems only)
Comment

bash

awk 'BEGIN{printf "%.3f
", (5+50*3/20 + (19*2)/7)}'
17.929
Comment

PREVIOUS NEXT
Code Example
Shell :: initialize git on windows 
Shell :: Git failed with a fatal error. could not read Password for 
Shell :: pull from github to local 
Shell :: bash files open instead of ecxecuting 
Shell :: install rmq cluster version 3.7.9 
Shell :: linux run command on ssh connected 
Shell :: git config fodler level 
Shell :: slurm job specify output directory 
Shell :: conda install passlib "windows" 
Shell :: extrapolate part of video linux 
Shell :: npm install smoothscroll-polyfill 
Shell :: linux find jpg sorted by date 
Shell :: complete command in zsh 
Shell :: view in linux 
Shell :: office 365 for ubuntu 
Shell :: disable dashboardmac 
Shell :: uninstall webpack globaly 
Shell :: one hyphen vs two hyphens command line 
Shell :: how to change colors in terminal linux outputs 
Shell :: git unable to track file rename 
Shell :: hadoop distcp diff snapshot 
Shell :: flasky fake 
Shell :: cordova admob 
Shell :: createing strong swan firewall centos 7 
Shell :: batch start file with default program but wait 
Shell :: check if internet is available shell script 
Shell :: rm bash 
Shell :: Oops… I committed all those changes to the master branch 
Shell :: virtiual Machine setup for QEMU in linux 
Shell :: set default permission to user for git use 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =