Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

command completion in .sh or .ksh in AIX environment 1

Status
Not open for further replies.

pdtak

Technical User
Feb 25, 2008
63
US
How do you user command completion in .sh or .ksh in AIX environment?
I know you can do it by hitting <esc><esc> in bash, but how do you do it in bourne or korn shell in AIX 5.3 environment?
Thanks in advance.
 
The bourne shell doesn't have that feature I believe.
In ksh, with [tt]set -o vi[/tt] or [tt]set -o emacs[/tt] active, it is [tt]ESC-*[/tt]. (Hit ESC and then hit *).


HTH,

p5wizard
 
Thanks for your input, I tried it, and I typed the following:

cat clean ESC-*

this command gives me all of the files that starts with

cat clean_up_2 clean_up_3 clean_up_4 cleanup_5

what I wanted was:

cat clean ESC-* clean_up_

which will give me a choice to show up like <esc><esc> key

 
I am trying to compile bacula-fd (a back up open software) which requires openssl. gcc would not compile it at all, xlc does but i do not know how to make it include openssl. here is the relevant log entry form configure

configure:16085: xlc -o conftest -g -I/opt/pware/include/openssl/

include -+ conftest.c -L/opt/pware/include/openssl/lib -lssl -
lcrypto >&5

"conftest.c", line 34.11: 1540-0836 (S) The #include file <openssl/
ssl.h> is not found.

The find command finds it here:

/opt/pware/include/openssl/ssl.h

What am I doing wrong?


 
Your program includes openssl/ssl.h - so:

-I/opt/pware/include/ instead of -I/opt/pware/include/openssl/

but you should have started a new thread for this.

HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top