Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Completing Command Entry without Typing Post 302302158 by pludi on Monday 30th of March 2009 08:40:16 AM
Old 03-30-2009
ksh has 2 input modes: vi or Emacs. In vi mode you've got 2 "submodes": input and command (just like vi). In command mode you can move around the lines and within lines using hjkl. Autocomplete in ksh should work with <ESC><ESC> (tap ESC twice).
To change to Emacs mode, enter
Code:
$ set +o vi
$ set +o viraw
$ set -o emacs

For more details check the ksh man page.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Different in typing command and using shell script

Wondering why belows code works fine if i type in the command prompt but it seems not executed when i code them in a file with additional if-then-else statement. #!/bin/sh . $HOME/.profile pid=`ps -ef | grep -w XELstnr | grep -v grep | awk {'print $2'}` if then echo "Stopping... (2 Replies)
Discussion started by: Draculla
2 Replies

2. UNIX for Dummies Questions & Answers

Using the Esc key to complete command line typing

Dear Techs, In the past on a different box (HP) I use to be able to complete something I was typing by entering a portion of the filename in the pwd and I would hit the Esc key and it would match the rest of the filename. I did this without understanding how it was setup. Now I am on a new... (1 Reply)
Discussion started by: jxh461
1 Replies

3. Shell Programming and Scripting

tcsh + completing a sub-directory entry

As part of a script Im designing, I am required to allow the command line to finish off part of a series of sub-directory entries. Basically what I want to do is cp /root/parent/part of subs name + other part of subs name/file /other_root/other_parent/other_sub/file without facing... (0 Replies)
Discussion started by: JamesGoh
0 Replies

4. Solaris

How to select last 7 days entry from SULOG or LAST command

Hi All, I need to get last 7 days log entries from sulog. The same has to be done for the last command. for ex: when i search for a user "abc" in sulog, i only want to check his entries for the last 1 week. The same has to be done for last command. Can anyone suggest some tips. ... (0 Replies)
Discussion started by: navdeepan
0 Replies

5. Homework & Coursework Questions

Help completing lab.

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: ''you are missing the /home/smichaels/Labs/lab2b/group file, please create it as per step 12 of the lab. once... (4 Replies)
Discussion started by: ink
4 Replies

6. Shell Programming and Scripting

Repeat a command on linux without typing

Hi, I would like to run the clear command, for every 10 times I hit the enter button. Is there a way to track the number of times the enter button is hit and run the clear command? Thanks (2 Replies)
Discussion started by: jacobs.smith
2 Replies

7. UNIX for Dummies Questions & Answers

List 2nd column entry from a command

How can i retrieve 2nd column only from output of "ls - l " as my output. pls help (5 Replies)
Discussion started by: upvan111
5 Replies

8. Shell Programming and Scripting

Process to read a new file entry and execute a command

I need to develop a process/daemon which will constantly monitor a file for new entry and execute a command. for eg, there is a file /var/log/inotify.log When a new entry like below gets appeneded to this file, execute the command as follows. /home/user/public_html/bad.php|CREATE ... (2 Replies)
Discussion started by: anil510
2 Replies

9. How to Post in the The UNIX and Linux Forums

Help me, write a bash script to delete parent entry with all their child entry in LDAP UNIX server

Hi All, Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries. example: Parent is : ---------- dn: email=yogesh.kumar@wipro.com, o=wipro, o=in child is: ---------- dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Discussion started by: Chand
1 Replies

10. Shell Programming and Scripting

sed command to add a new column entry

My input file looks like this 12 3 5.122.281.413 172.31.15.220 3421 4133 2 2 1454 3421 4133 2 2 0 12 44036 214.215.52.146 90.123.245.211 2312 3911 4 4 521 2312 3911 4 4 1 14 504 6.254.324.219 192.61.27.120 4444 5611 7 5 1415 4444 5611 7 5 1 ... (2 Replies)
Discussion started by: sampitosh
2 Replies
Biber::Entry::Names(3pm)				User Contributed Perl Documentation				  Biber::Entry::Names(3pm)

NAME
Biber::Entry::Names - Biber::Entry::Names objects new Initialize a Biber::Entry::Names object TO_JSON Serialiser for JSON::XS::encode notnull Test for an empty object names Return ref to array of all Biber::Entry::Name objects in object reset_uniquelist Reset uniquelist to undef for a Biber::Entry::Name object set_uniquelist Add a uniquelist count to the Biber::Entry::Names object Sets global flag to say that some uniquelist value has changed get_uniquelist Get the uniquelist count from the Biber::Entry::Names object count_uniquelist Count the names in a string used to determine uniquelist. set_visible_cite Set the number of cite visible names as per the different uniquelist, max/mincitenames etc set_visible_bib Set the number of bib visible names as per the different uniquelist, max/minbibnames etc set_visible_alpha Set the number of alpha visible names as per the different uniquelist, max/minalphanames etc get_visible_cite Get the number of visible names as per the different uniquelist, max/mincitenames etc get_visible_bib Get the number of bib visible names as per the different uniquelist, max/minbibnames etc get_visible_alpha Get the number of alpha visible names as per the different uniquelist, max/minalphanames etc add_name Add a Biber::Entry::Name object to the Biber::Entry::Names object set_morenames Sets a flag to say that we had a "and others" in the data get_morenames Gets the morenames flag count_names Returns the number of Biber::Entry::Name objects in the object nth_name Returns the nth Biber::Entry::Name object in the object or the last one if n > total names first_n_names Returns an array ref of Biber::Entry::Name objects containing only the first n Biber::Entry::Name objects or all names if n > total names del_last_name Deletes the last Biber::Entry::Name object in the object last_name Returns the last Biber::Entry::Name object in the object dump Dump a Biber::Entry::Names object for debugging purposes AUTHORS
Francois Charette, "<firmicus at ankabut.net>" Philip Kime "<philip at kime.org.uk>" BUGS
Please report any bugs or feature requests on our sourceforge tracker at <https://sourceforge.net/tracker2/?func=browse&group_id=228270>. COPYRIGHT &; LICENSE Copyright 2009-2012 Francois Charette and Philip Kime, all rights reserved. This module is free software. You can redistribute it and/or modify it under the terms of the Artistic License 2.0. This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. perl v5.14.2 2012-06-17 Biber::Entry::Names(3pm)
All times are GMT -4. The time now is 04:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy