ChinaUnix.net
相关文章推荐:

cd curdir pwd

其它命令都打不了,好象是库文件被破坏了,报: # pwd /var/ld # ls ld.so.1: ls: fatal: libc.so.1: open failed: No such file or directory Killed 有方法恢复吗? 各位老大!

by liontiger - Solaris - 2003-09-04 11:42:38 阅读(664) 回复(1)

相关讨论

我想找关于cd,dir,rename,pwd,more,time,exit的源码, 请问应该在gnu ftp上下载哪一个文件啊,又或者有别的网站能下载吗 在线等

by allenmif - 程序开发 - 2006-03-30 19:17:21 阅读(1217) 回复(8)

@; pwd pwd: cannot determine current directory! 这个WHO 知道什么问题。。 nfs 我都起过了。。最后都REBOOT 过了还是不成。。

by diag - Solaris - 2004-02-16 17:41:24 阅读(3529) 回复(55)

我在我的redhat7.0 上用cd,可以直接会到home的(当然没有没有用shell别名),不必再用cd~.大家试试看.

by lazycat1982 - Linux论坛 - 2003-05-05 16:59:44 阅读(671) 回复(5)

网上找不到pwd命令的源码.. 有谁知道吗?谢谢

by honggaoyan - C/C++ - 2009-08-19 19:29:23 阅读(3929) 回复(14)

帮忙看看哪里错了,总是会多显示目录: [code] #include #include #include #include #include #define BUFSIZE 1000 ino_t getnode(char *filename); /*return ino_t st_ino. st_ino is the I-Node Serial number*/ void printpath(ino_t this_node); void getname(ino_t my_node,char *dir,char str[]); /*return directory name */ int main(int argc,char **argv) {...

by lvscluster - C/C++ - 2009-05-23 12:32:57 阅读(1309) 回复(2)

#!/bin/sh a=pwd if [ "$a" = "/" ] then echo "you are in the root directory" else echo "you are in the "$a" directory" fi 请教一下,实现pwd的功能,但是怎么显示you are in the pwd directory呢? echo "you are in the $a directory" 这样也不行哦? 不是说 " " 在这里面的变量会运行一次吗?我得不到当前的目录啊,新手学习中,别鄙视我哦!

by xiaobaibbb - Shell - 2009-01-12 22:01:42 阅读(1595) 回复(7)

What I did to trigger this issue: $ pwd /home/nhw $ cd test $ pwd /home/nhw/test $ mv ../nhw ../nhw1 $ pwd ksh: pwd: permission denied Can any one explain the error? Btw, I am using ksh ... [ 本帖最后由 nhw_cs 于 2009-3-30 15:07 编辑 ]

by nhw_cs - Shell - 2009-03-30 18:26:29 阅读(2237) 回复(10)

pwd显示的是当前目录在目录树中的位置,实际上是一些字节的集合,而这个集合是存储在磁盘上的某个位置,该位置能以柱面、磁头、扇区和字节的方式定位! 问题来了:有什么办法将当前的工作目录转换城这些硬件的位置吗? 向各位大侠请教请教!

by melonmelon - C/C++ - 2007-01-05 11:43:32 阅读(1009) 回复(2)

我是一个新手,有个问题还不是很明白 环境变量pwd保存的是当前的路径,每改变一下当前的路径,环境变量pwd的值就会改变,是不是系统自动来维护这个环境变量的值啊??如果是的话,那么还有没有其他的哪些环境变量是系统自动来维护的呢??? 多谢高手指点

by fxhnkf - Shell - 2005-07-07 20:20:08 阅读(2938) 回复(1)

看书上的例子: $alias dir='echo ${pwd##*/}' $pwd /usrs/steve $dir steve $cd letters $dir letters 这个echo ${pwd##*/}怎么得到的最后那个/后面的内容?想不通啊,哪位指点一下? www# alias dir='echo ${pwd##*/}' www# alias h (history 25) j (jobs -l) la (ls -a) lf (ls -FA) ll (ls -lA) 我的怎么连dir这个alias都没有啊?

by 剑心通明 - Shell - 2005-02-17 09:33:02 阅读(1348) 回复(2)