I have a file name, for example: xxdatafile_20110120123030_12342.dat. I want to extract \"XXdatafile_\" from the file name.
I have to work with a NFS user id between two hosts: A running Ksh 93 and开发者_如何学JAVA B running pdksh 88.
To store the output of a command as a vari开发者_Go百科able in sh/ksh/bash, you can do either var=$(command)
i\'m running a script from ASP.NET/C# usin开发者_Python百科g SharpSsh. I realize when the script runs and i do a ps -ef grep from unix, i see the same script running twice, one in csh -c, and the othe
Here\'s the script: #!/bin/ksh (for k in $(seq 6); do echo $RANDOM; done) > a.txt (for k in $(seq 6); do echo $RANDOM; done) > b.txt
In my .vimrc file I have the line inoremap jj << Esc>> (I can\'t live without this :)) I wish to ha开发者_开发知识库ve the same remap while using ksh in set -o vi mode, any advice on
Is there a KornShell (ksh) simulator for practi开发者_如何转开发cing commands?You don\'t want a simulator, run the real thing (it\'s tiny!).
I have a KornShell (ksh) script which writes out FTP script and executes to get some files from windows server to UNIX.
I\'ll get to the meat and bones: MY_VAR=6 until [$MY_VAR = 0] do dir/dir_$MY_VAR.log ps | grep \"NAME_$MY_VAR.ksh\"
Please co开发者_运维百科nsider the following /root/.profile: export PS1=value1 export x=value2 How come the login shell shows the expected prompt (and $x as value2), while the subshells keep showin