Sponsored Content
Operating Systems SCO Some questions about UNIXware Post 302879300 by DGPickett on Wednesday 11th of December 2013 05:00:23 PM
Old 12-11-2013
History is shell-dependent, but usually goes into $HISTFILE = ~/.shell_hist or the like; see your shell's man page. You can zap the fille and start a new shell. Just removing one command or line is a bit more difficult. It sounds hacker-esque. History is great! Don't ever put passwords on the command line, generally. Put them in env vars, in piped streams, but not where ps can report them and $HISTFILE records them.

All keys are serial, UNIX does not need activation, so I am getting confused.
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

SCO Unixware 2.1

I am using SCO Unixware 2.1 & some PC clients are connected, suddenly one message appearslike : UX:strintercept error: dropping message this message starts coming repeatedly & agtre some time system hangs.I had to reset the system & now the problem is not there.Please suggest, why this is... (0 Replies)
Discussion started by: paprch
0 Replies

2. IP Networking

Change ip on UnixWare 2.1.2

I changed the IP whit Ifconfig and I used ping to test the conetions the conection is rigth on my LAN (NetA) But, I have two networks for example: NetA route to NetB and vicevers On NetB ping to any machine on NetA, it is respons successfully. but I ping to UNIX server no respons. I... (1 Reply)
Discussion started by: lmena
1 Replies

3. UNIX for Advanced & Expert Users

UnixWare printing

I have a Unixware OS and a HP Business Inkjet printer. I am unable to print from Unixware in landscape mode. I have tried filters and have failed every time. Any advice would be greatly appreciated. (6 Replies)
Discussion started by: sb4best
6 Replies

4. SCO

Performance issue from Unixware 2.1 to Unixware 7

Hello, I am having performance problem when , i ported a c code from Unixware 2.1 to Unixware 7.0.0. My program establishes a synchornous connection with the client in a windows OS and then sends and receives messsages using the recv and send calls. What i hyave noticed is that after a... (0 Replies)
Discussion started by: Amith
0 Replies

5. UNIX for Dummies Questions & Answers

please help me about unixware 7.1.3

msg: vfs_mountroot:cannot mount root %%%%%% system don't start (0 Replies)
Discussion started by: hushboy
0 Replies

6. SCO

Unixware problem

Dear All, I have a HP Netserver LH3 server which has unixware 7 os with oracle. Suddenly it shows a error message that " Raw Stack Dump beigns at 0xFFFDABIC... Generating Selective dump Storing system memory image for crash analysis.... #scanning memory....dumping to disk (Press any key to... (0 Replies)
Discussion started by: mr.chiranjib
0 Replies

7. SCO

unixware 2.0

High, I have a simulator application running on unixware 2.1, there are no original installation CDs for the application. is it possible to copy directories and configuration files, related to the installed application, from unixware 2.1 to other system running Unixware 7.1.1 (replacing Unixware... (0 Replies)
Discussion started by: fareedah
0 Replies

8. SCO

Problem in Unixware 7

Hi, I need help for SCO UNIXWARE 7.1.0. During booting it is detecting the network card (Intel PRO 100B /100+) but it is giving error : "UX:S69inet:error". Hence network is not getting up. I have tried with another network card (D-Link DFE 538TX) but unable to get the proper driver for the... (1 Reply)
Discussion started by: hcl.rajat
1 Replies

9. News, Links, Events and Announcements

Are the UnixWare 7.1.1 sources available?

So, I was browsing groklaw.net, and I was surprised to read that Pamela Jones was reading the copyright notices in the UnixWare 7.1.1 source code files... Groklaw - Santa Cruz Listed Novell as Owning the Copyrights in 1999 How can that be? Are the UnixWare 7.1.1 sources available to the... (1 Reply)
Discussion started by: pepinox
1 Replies

10. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies
history(n)						       Tcl Built-In Commands							history(n)

__________________________________________________________________________________________________________________________________________________

NAME
history - Manipulate the history list SYNOPSIS
history ?option? ?arg arg ...? _________________________________________________________________ DESCRIPTION
The history command performs one of several operations related to recently-executed commands recorded in a history list. Each of these recorded commands is referred to as an "event". When specifying an event to the history command, the following forms may be used: [1] A number: if positive, it refers to the event with that number (all events are numbered starting at 1). If the number is negative, it selects an event relative to the current event (-1 refers to the previous event, -2 to the one before that, and so on). Event 0 refers to the current event. [2] A string: selects the most recent event that matches the string. An event is considered to match the string either if the string is the same as the first characters of the event, or if the string matches the event in the sense of the string match command. The history command can take any of the following forms: history Same as history info, described below. history add command ?exec? Adds the command argument to the history list as a new event. If exec is specified (or abbreviated) then the command is also exe- cuted and its result is returned. If exec is not specified then an empty string is returned as result. history change newValue ?event? Replaces the value recorded for an event with newValue. Event specifies the event to replace, and defaults to the current event (not event -1). This command is intended for use in commands that implement new forms of history substitution and wish to replace the current event (which invokes the substitution) with the command created through substitution. The return value is an empty string. history clear Erase the history list. The current keep limit is retained. The history event numbers are reset. history event ?event? Returns the value of the event given by event. Event defaults to -1. history info ?count? Returns a formatted string (intended for humans to read) giving the event number and contents for each of the events in the history list except the current event. If count is specified then only the most recent count events are returned. history keep ?count? This command may be used to change the size of the history list to count events. Initially, 20 events are retained in the history list. If count is not specified, the current keep limit is returned. history nextid Returns the number of the next event to be recorded in the history list. It is useful for things like printing the event number in command-line prompts. history redo ?event? Re-executes the command indicated by event and returns its result. Event defaults to -1. This command results in history revision: see below for details. HISTORY REVISION
Pre-8.0 Tcl had a complex history revision mechanism. The current mechanism is more limited, and the old history operations substitute and words have been removed. (As a consolation, the clear operation was added.) The history option redo results in much simpler "history revision". When this option is invoked then the most recent event is modified to eliminate the history command and replace it with the result of the history command. If you want to redo an event without modifying his- tory, then use the event operation to retrieve some event, and the add operation to add it to history and execute it. KEYWORDS
event, history, record Tcl history(n)
All times are GMT -4. The time now is 01:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy