Sponsored Content
Full Discussion: View command was typed
Operating Systems HP-UX View command was typed Post 302245945 by DustBunny on Saturday 11th of October 2008 09:11:20 PM
Old 10-11-2008
Hoavn,

#1, use escape with "k" option to recollect the previous command typed in. Then you can use "n" and "j" to move up and down.

#2, to view the commands typed (As in your question), you can use history <number of commands you need from past>, then proceed copying and pasting it on your console.

-SH
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

view page command?

Hi All, When I run a command on any shell, many times the output is longer than the screen can hold, so I only can see parts of the output. Is there a command that will show me page by page the results of each command? Thanks, Jared (3 Replies)
Discussion started by: JaredsNew
3 Replies

2. UNIX for Dummies Questions & Answers

command to view ports being used

Is there a command that will show me all ports being used? I thought maybe the "lsof" command would show me, but I'm not seeing anything. Thanks, Jeff (2 Replies)
Discussion started by: lawadm1
2 Replies

3. UNIX for Dummies Questions & Answers

How to retrieve the typed command

For examples, I have typed 4 commands in the command prompt: ls -la rm -rf /home/user1 du -k /home find . -name "abc.out" -print And now I want to retrieve the command which begin with letter "r" (i.e. rm -rf /home/user1), what can I do? (5 Replies)
Discussion started by: laum
5 Replies

4. UNIX for Advanced & Expert Users

i am not able to recall the command typed earlier in unix

i am not able to recall the command typed earlier in unix whenever i press esc key ^[ comes on the unix prompt . so esc k isnt working for me whenever i press backspace key i get ^H on my unix cursor need help (1 Reply)
Discussion started by: murli1200
1 Replies

5. Shell Programming and Scripting

How to save all the command typed -urgent

hi I want to know how to save all the command used by all the used under a particular root with the time stamp in a file. Eg: User Name: UX10 Time: 10:56 Command: LS User Name: UX23 Time: 10:59 Command: MORE abc.txt Please do help. thanks and regards -Anand (1 Reply)
Discussion started by: anandtharani
1 Replies

6. Solaris

command to view the haware detail

I use command #lscfg -v in AIX system and it gives the detail of the hardware of the system. what is the similar command to view the detail of the hardware of the system in SUN-Solaris (3 Replies)
Discussion started by: pchangba1
3 Replies

7. Shell Programming and Scripting

Command to view files in Directory

Hi, Can you help me in providing me a command to view all files present in a directory. Thanks a lot. -Vamsi (1 Reply)
Discussion started by: VamsiVasili
1 Replies

8. AIX

"/" doesn't work on command prompt for searching commands last typed

When I use "/" to look for a particular command that I typed in the current session it says D02:-/home/user1/temp> /job ksh: /job: not found. D02:-/home/user1/temp> previously it used to fetch all the commands which had job in it.. for example subjob, endjob, joblist etc... may I... (7 Replies)
Discussion started by: meetzap
7 Replies

9. UNIX for Dummies Questions & Answers

Can I view an 'at' command?

Hi, One of our users has loads of jobs scheduled. When I do at -l I get a long list of tasks which end in .a Is there anyway I can view what these commands will do? Also, What's the relationship between the 'at' function and the crontab? I can't see any entries in crontab....Cheers (4 Replies)
Discussion started by: Grueben
4 Replies

10. SCO

Command to View Processor Usage

Hi everyone, i used to know the command to show current CPU usage but i cannot remember it. It was not "Top". Openserver 6. (4 Replies)
Discussion started by: Paulbas
4 Replies
Subject(3I)						    InterViews Reference Manual 					       Subject(3I)

NAME
Subject - object with views SYNOPSIS
#include <InterViews/subject.h> DESCRIPTION
A subject is an object that has one or more views that it wishes to notify when it changes. The SubjectIteractor class can be used if it is necessary to iterate through the views of a subject explicitly. Because subjects are shared, Subject is a subclass of Resource. To allow for the possibility of multiple inheritance, in which case only a single copy of resource information should be maintained, Resource is a virtual base class. PUBLIC OPERATIONS
enum UpdateHint { attaching, detaching, setting, changing } This type enumerates possible hints when a subject is notifying a view that it has changed. The attaching hint indicates that a view has attached to the subject. The detaching hint means that the subject is being deleted and the view should consider itself detached. The setting hint means that the subject's value has been set, though possibly to the same value as it already has. The changing hint means that the value is set to something different than it was previously. virtual void attach(View*) Add a view to the subject's list. virtual void detach(View*) Remove a view from the subject's list. virtual void notify(UpdateHint = changing) Notify all the views of a subject that it has been updated. virtual boolean viewed_by(View*) Return whether a given view is on the subject's list of views. virtual void Attach(Interactor*) This function is equivalent to attach and is provided solely for backward compatibility. It will be removed in a future version. virtual void Detach(Interactor*) This function is equivalent to detach and is provided solely for backward compatibility. It will be removed in a future version. virtual void Notify() This function is equivalent to notify(changing) and is provided solely for backward compatibility. It will be removed in a future version. boolean IsView(Interactor*) This function is equivalent to viewed_by and is provided solely for backward compatibility. It will be removed in a future version. SUBJECTITERATOR OPERATIONS
A subject iterator can be used to iterate through the views in a subject. SubjectIterator(Subject*) Create a subject iterator for the given subject. The iterator is only valid as long as the subject exists. virtual void init() Reset the iteration to start at the beginning of the list. This operation is called by the constructor. virtual boolean more() Return whether there are more views in the list. virtual View* cur() Return the current view. virtual void remove() Remove the current view from the list. virtual void next() Move the iteration to the next view in the list. SEE ALSO
View(3I) InterViews 29 June 1989 Subject(3I)
All times are GMT -4. The time now is 11:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy