Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

shell save variable

$ b=$(pwd)
$ echo $b
/home/user1

or

$ a=`pwd`
$ echo $a
/home/user1
Comment

PREVIOUS NEXT
Code Example
Shell :: force ssh to use password 
Shell :: github as database 
Shell :: api to access gitlab varaible 
Shell :: ubuntu delete all virtual hosts 
Shell :: xargs 
Shell :: ansible playbook to set passwordless sudo 
Shell :: open current directory in terminal 
Shell :: command to hit url in linux 
Shell :: bash read options from file 
Shell :: github claims I have a large file that 
Shell :: create gz in ubuntu 
Shell :: how to kill process in linux 
Shell :: How to createe git remote branch 
Shell :: insert bash command to docker-compose file 
Shell :: how to make .gitignore 
Shell :: regex last word in lin 
Shell :: bash help 
Shell :: find the index of a substring 
Shell :: install deno 
Shell :: linux grep regex return match 
Shell :: generate table of content in readme.md 
Shell :: create a directory 
Shell :: rebase github 
Shell :: debian list packages automatic install 
Shell :: sed insert multiple lines after match 
Shell :: how to shutdown system immediately with shutdown command 
Shell :: linux clear command 
Shell :: how to use curl command in ubuntu 
Shell :: add environment variable linux 
Shell :: kubernetes copy files to persistent volume 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =