Questions tagged «pwd»


4
单击选项卡时出现shell初始化问题,getcwd怎么了?
单击bash上的Tab后,将出现错误消息,这是怎么回事? symlink-hook: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory symlink-hook: error retrieving current directory: getcwd: cannot access parent directories: Success symlink-hook: error retrieving current directory: getcwd: cannot access parent directories: Success symlink-hook: error retrieving current directory: getcwd: cannot access parent directories: Success symlink-hook: …
153 linux  bash  shell  pwd  getcwd 

3
如何将我的密码更改为符号链接目录的真实路径?
这是一个非常基本的* nix问题: 给定以下符号链接的创建: ln -s /usr/local/projects/myproject/ myproject ...从我的主目录/ home / jvf /中,输入myproject符号链接会给我一个pwd / home / jfv / myproject /。现在,我想输入符号链接到的目录的父目录,但是cd ..命令只会将我带回到我的主目录/ home / jfv /。无论如何,是否有逃脱我输入的符号链接跟踪的方法,而是具有等于myproject目录的实际路径的pwd 。也就是说,将我的密码从/ home / jfv / myproject /更改为/ usr / local / projects / myproject /吗? 谢谢 :)
83 linux  symlink  pwd 

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.