Closed alexandre-mbm closed 7 years ago
git grep -n TODO -- hman
$ shopt -s cdable_vars
$ export HUGO_PROJECT=$(pwd)
$ export md=$HUGO_PROJECT
$ export html=$HUGO_PROJECT/public
$ cd html
$ cd md
Ref.: command line - Why doesn't "cd" work in a shell script? - Ask Ubuntu
Nossas verificações serão feitas a partir do seguinte:
$ ssh-add -L
Error connecting to agent: No such file or directory
$ echo $?
2
$ eval $(ssh-agent -s)
Agent pid 27251
$ ssh-add -L
The agent has no identities.
$ echo $?
1
$ ssh-add
Enter passphrase for /home/USER/.ssh/id_rsa:
Identity added: /home/USER/.ssh/id_rsa (/home/USER/.ssh/id_rsa)
$ echo $?
0
Estudos sugeridos:
Aprofundamentos em código:
Depende de #30