02-01-2007
set -o vi sets one of the ksh options. In this case it configures ksh to let you use vi like commands on the command line. So you can use the vi move commands to move around in your history. esc puts you into command mode. Then you can use the vi letters to move. k for up, j for down, h for left, l for right. You can also use several of the others. Search works too. Hit esc /for and you'll go back to the last command that began with 'for'.
If you're more familiar with emacs, you can use set -o emacs I believe and use emacs commands to move around.
Your make command shows you don't have a c compiler (which you noted). That's typical for most of the old school unixes (unices?). IBM may offer a freely downloadable c compiler. If not, you can go to the AIX tool site and probably retrieve the gcc compiler. I'm a Solaris admin mainly so I haven't had to use this site.
http://aixpdslib.seas.ucla.edu/index.html
Carl
10 More Discussions You Might Find Interesting
1. AIX
hi all,
Newbie to Unix and AIX. So my apologies if this is in the wrong place, etc.
Working on box -
uname# uname -a
AIX appt 3 5 00C08AAF4C00
when i type man (some valid command)
it just returns me to the # prompt.
Its running on the KSH shell.
man was working but i was trying... (6 Replies)
Discussion started by: djdavies
6 Replies
2. Solaris
I have two Dell x86 machines on which I am attempting to install Solaris 10 from CD. I am not doing a Jumpstart install. This is my first experience in installing Solaris (or any other OS). I am following the instructions at How to Quickly Install the Solaris 10 1/06 OS
The first machine... (3 Replies)
Discussion started by: sarahsi
3 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I have a virtual dedicated unix server somewhere (not sure we can put names, so ain't putting it yet :p)
anyway, I have problems using sendmail, but before I am asking for help, I don't get ANY manpages for sendmail on my machine.
I would like to try and solve this on my own (the... (2 Replies)
Discussion started by: saariko
2 Replies
4. UNIX for Dummies Questions & Answers
Hi folks,
Please advise which command/command line shall I run;
1) to display the command and its output on console
2) simultaneous to save the command and its output on a file
I tried tee command as follows;
$ ps aux | grep mysql | tee /path/to/output.txt
It displayed the... (7 Replies)
Discussion started by: satimis
7 Replies
5. Shell Programming and Scripting
Net::SSH::Perl ...... how to print the output in a proper format
my $cmd = "ls -l";
my $ssh = Net::SSH::Perl->new($host);
$ssh->login($user, $pass);
my($stdout, $stderr, $exit) = $ssh->cmd("$cmd");
print $stdout;
the script works fine, but i am unable to see the output... (2 Replies)
Discussion started by: gsprasanna
2 Replies
6. Shell Programming and Scripting
hello there,
there's a function, in my shell script, i'd like to run in the background.
here's an example:
log()
{
local SELF=${0##*/}
tty -s && echo ": $*"
}
some_func()
{
# do something
log "This text is not displayed in the terminal's output when running in the... (1 Reply)
Discussion started by: Shedon
1 Replies
7. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I am trying to outut the man command output into a text file which will help me for future reference.
2.... (8 Replies)
Discussion started by: hariniiyer300
8 Replies
8. UNIX for Dummies Questions & Answers
I have came across a few websites stating some custom actions for Thunar -
crunchbang
ubuntu
I tried inputting the stated commands to Thunar, but it doesn't display at all in mine.
I tried "gksu thunar %f" ( Opens current folder with root permissions.) , but when I right click in a... (0 Replies)
Discussion started by: Hijanoqu
0 Replies
9. Shell Programming and Scripting
Please find my below requirement and see if you can help me on this. I am looking for a shell script which can provide me the below output.
Manuall steps which i am doing now
1) First I source the File
$ . ./WC_env.sh
2) Execute the command
$ /app/oracle/product/mos/bin/mosotl -url... (2 Replies)
Discussion started by: sudheshpn@gmail
2 Replies
10. SuSE
Hi,
I am using below code snippet to echo/display the files found
(matching a pattern from searchstring.out file) and the corresponding owner.
while read j
do
echo "Pattern to search is:- $j"
find / -name "*$j*" |\
while read k
do
echo "File found is:- $k"
owner=$(ls... (9 Replies)
Discussion started by: Vipin Batra
9 Replies
INFO(1) User Commands INFO(1)
NAME
info - read Info documents
SYNOPSIS
info [OPTION]... [MENU-ITEM...]
DESCRIPTION
Read documentation in Info format.
Frequently-used options:
-a, --all
use all matching manuals
-k, --apropos=STRING
look up STRING in all indices of all manuals
-d, --directory=DIR
add DIR to INFOPATH
-f, --file=MANUAL
specify Info manual to visit
-h, --help
display this help and exit
--index-search=STRING
go to node pointed by index entry STRING
-n, --node=NODENAME
specify nodes in first visited Info file
-o, --output=FILE
output selected nodes to FILE
-O, --show-options, --usage
go to command-line options node
--subnodes
recursively output menu items
-v, --variable VAR=VALUE
assign VALUE to Info variable VAR
--version
display version information and exit
-w, --where, --location
print physical location of Info file
The first non-option argument, if present, is the menu entry to start from; it is searched for in all 'dir' files along INFOPATH. If it is
not present, info merges all 'dir' files and shows the result. Any remaining arguments are treated as the names of menu items relative to
the initial node visited.
For a summary of key bindings, type H within Info.
EXAMPLES
info show top-level dir menu
info info-stnd
show the manual for this Info program
info emacs
start at emacs node from top-level dir
info emacs buffers
select buffers menu entry in emacs manual
info emacs -n Files
start at Files node within emacs manual
info '(emacs)Files'
alternative way to start at Files node
info --show-options emacs
start at node with emacs' command line options
info --subnodes -o out.txt emacs
dump entire emacs manual to out.txt
info -f ./foo.info
show file ./foo.info, not searching dir
REPORTING BUGS
Email bug reports to bug-texinfo@gnu.org, general questions and discussion to help-texinfo@gnu.org.
Texinfo home page: http://www.gnu.org/software/texinfo/
COPYRIGHT
Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for info is provided by the texinfo-doc-nonfree package as a Texinfo manual. If this package is installed at your
site, the command
info info
should give you access to the complete manual. (Or, if you have Emacs, M-x info will lead to the manual.)
info 6.5 February 2018 INFO(1)