Difference between revisions of "Eval"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
Agent pid 22010 | Agent pid 22010 | ||
− | eval $([[op]] | + | eval $([[op signin]] my) |
<code>eval</code> is used when you want to dynamically create variables, or to read outputs from programs specifically designed to be read like this. | <code>eval</code> is used when you want to dynamically create variables, or to read outputs from programs specifically designed to be read like this. |
Revision as of 20:39, 20 April 2022
- Man page: https://ss64.com/bash/eval.html
- https://docs.oracle.com/cd/E19683-01/816-0210/6m6nb7m8q/index.html
eval `ssh-agent -s` Agent pid 22010
eval $(op signin my)
eval
is used when you want to dynamically create variables, or to read outputs from programs specifically designed to be read like this.
Related
See also
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, $@
- Shell: Fish shell,
sh
,Bash
,ksh
,zsh
,ash
, PowerShell (Windows),/usr/bin/env
,.hushlogin
,dash
,tcsh
, Shell redirection,dquote, $SHELL
, Google Cloud Shell, AWS CloudShell, explainshell.com, vmware_vm_shell, Nushell, Fig.io, direnv
Advertising: