我是 unix 的新手。我在 ubuntu 终端中输入了这个命令:
pwd | echo
我希望看到pwdin terminal( /home/fatemeh/Documents/Code/test) 的输出,但输出只是一个空行。
pwd
/home/fatemeh/Documents/Code/test
为什么会这样?
command-line echo gnome-terminal pwd
command-line ×1
echo ×1
gnome-terminal ×1
pwd ×1