Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

printf @ bash

printf "My brother %s is %d years old.
" Prakash 21
Comment

printf in bash

printf "$your_var1 $your_var2 $(tail -n -1 your.log | grep Word_to_grep ) 
" >> ../opt_done.txt 

# several things, 
# printf with 
 new line
# $(tail -n -1 your.log | grep Word_to_grep )  --> is a command, will output whats comes in terminal
			(if final line of the document has "Normal" to grep it will grep, oherwise nothing 
# $your_var1 $your_var2 variables
# >> this is an appending,
Comment

PREVIOUS NEXT
Code Example
Shell :: git undo all changes 
Shell :: api to access gitlab varaible 
Shell :: locate file in KALI Linux 
Shell :: chakraUI 
Shell :: minikube insecure registry 
Shell :: postgresql.conf position 
Shell :: where do i keep ssl cert for ubuntu 
Shell :: cert manager version 
Shell :: install with pip in jupyter 
Shell :: bash log function 
Shell :: bash argument parsing 
Shell :: basename linux command 
Shell :: wpa_supplicant connect to wifi 
Shell :: create new branch 
Shell :: how to make ngrok not expired 
Shell :: archive file 
Shell :: cp with folder structure 
Shell :: linux check current umask 
Shell :: git discard changes 
Shell :: error: insufficient permission for adding an object to repository database 
Shell :: docker stop swarm 
Shell :: Check path file exist 
Shell :: nvm command 
Shell :: clear git bash window 
Shell :: selinux 
Shell :: ? For which GitHub repository would you like to set up a GitHub workflow? (format: user/repository) 
Shell :: chmod 777 meaning 
Shell :: git interactive rebase 
Shell :: heroku docker 
Shell :: git pull in forked repo 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =