Search Results

Search: Posts Made By: capnpepper
Forum: Solaris 11-12-2013
9,586
Posted By capnpepper
Try this ls -lrt | grep -E...
Try this

ls -lrt | grep -E amey_in[0-9]{8}.csv
5,366
Posted By capnpepper
Beautiful! Thank you... that worked perfectly on...
Beautiful! Thank you... that worked perfectly on every host that failed earlier.
And thanks again for the useful tips. Much appreciated!
5,366
Posted By capnpepper
Same error as before... -ksh: line 1: syntax...
Same error as before...

-ksh: line 1: syntax error: `;' unexpected
$(echo -n "`logname`@`hostname`:";if [[ "${PWD#$HOME}" 1002 "$PWD" ]] then; echo -n "~${PWD#$HOME}"; else; echo -n...
5,366
Posted By capnpepper
No luck ksh93: syntax error: `end of file'...
No luck

ksh93: syntax error: `end of file' unexpected
$(echo -n "`logname`@`hostname`:";if [[ "${PWD#$HOME}" 669= "$PWD" ]] then; echo -n "~${PWD#$HOME}"; else; echo -n "$PWD";fi;echo;echo "$ "
5,366
Posted By capnpepper
echo $KSH_VERSION throws a blank line, I use...
echo $KSH_VERSION throws a blank line,
I use the vi mode, so an ESC and a CTRL +V gives me the version.
For simplicity, I'll narrow it down to the 93 versions and skip the 88 as host with the older...
5,366
Posted By capnpepper
Two-line prompt using Korn
I'm attempting to set up a two-line prompt using Korn.

This is what I've set up in .kshrc

PS1='$(print -n "`logname`@`hostname`:";if [[ "${PWD#$HOME}" != "$PWD" ]] then; print -n...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 04:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy