Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
ste prompt in sh
Name: yls177 Date: December 18, 2002 at 21:42:43 Pacific OS: solaris CPU/Ram: sparc
Comment:
hi, my login shell is sh. but i cant set my prompt to my current working directory. i have set this in my .profile. it is as follows : PS1="yls / "`hostname`:`whoami`'$PWD'">";export PS1
Summary: Hi, I want to use substr function, but it is not working in sh. As per help following command works with bash. stringZ=123456 echo `expr substr $stringZ 1 2` Any idea what is the problem. If it won't...
Summary: Why not just build a while loop and add sleep 15 in it, prompting the user for input every 15 seconds. If you get input, jump out of the loop and continue; if not just exit. ...
Summary: Hello! i hope somebody can help me. I would like to have help with an shell script(sh) assignment. I have a file and it contains something like the following text: 02gozal:godam:godhar:TGFGK:halllo ...