basename
Jump to navigation
Jump to search
↑ https://man7.org/linux/man-pages/man1/basename.1.html
wikipedia:basename [1] strip directory and suffix from filenames
basename . .
locals { name = "example-${replace(basename(path.cwd), "_", "-")}" region = "eu-west-1" tags = { Owner = "user" Environment = "dev" } }
Related[edit]
See also[edit]
Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
Advertising: