08-10-2001
In Search of a Command
Hello,
There is a command out there that gives back info on your system; e.g. PentiumIII, etc.
I came across it a while back, but cannot find it now.
Does anyone know what that command is?
Thanks,
Radimus
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to run the 'locate' command and then remove what the command finds.
My guess was, locate blahblah |rm -f
but this does not work.
Thanks! (3 Replies)
Discussion started by: jasonr
3 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
Here is an example, I would wan to search for all string consists of IMP but not IMP-00015. Values other than 00015 is fine, is there anyone knows how to do that?
Thanks. (2 Replies)
Discussion started by: *Jess*
2 Replies
3. Solaris
Hi.
When i execute
which passwdit is showing /usr/bin/passwd, eventhough i set my path as
PATH=/etc:$PATH
i just checked the permission for the passwd under /usr/bin
-r-sr-sr-x
what exactly happening? and what is that s signifies
Thanks. (5 Replies)
Discussion started by: shahnazurs
5 Replies
4. Shell Programming and Scripting
Hi,
I am new to unix.Can you please tell me whether there is any command to search for a file in all the directories... and also i want to search for an expression in all the directories.
Thanks in advance.
Regards,
Harika Mamidala (3 Replies)
Discussion started by: harikamamidala
3 Replies
5. UNIX for Dummies Questions & Answers
Hi Guys,
This one is, seemingly, a very simple question.
I am on HPUX1572. The shell used is ksh.
I used to locate a command using esc-K '/' followed by a few letters of the command.
I tried to search my command history using ESC-K, it works fine. But the old trick of esp+K '/' doesnt... (0 Replies)
Discussion started by: n_rajitr
0 Replies
6. UNIX for Dummies Questions & Answers
Hi
I want to search in file such that
suppose file A which has keyword # Query_time: 12.080983
Query_time: 5.233292
Query_time: 5.298892
Any command to search top 10 Query_time (5 Replies)
Discussion started by: kaushik02018
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I wanted to replace the character '~' with \n (carraige retrurn or new line character)
I am tried the commands like
s/~/\n/g
s/~//\n/g
but the commands says that no "No match exists for the substitute pattern". (7 Replies)
Discussion started by: atlantis_yy
7 Replies
8. Shell Programming and Scripting
how can i search each line for ROCT and ROCT1.ROCT1 will be always 1 line after ROCT.
Both the patterns will be found at the end of the line (in alternate lines)
<pattern file>
(rising edge-triggered flip-flop clocked by ROCT)
Endpoint:... (2 Replies)
Discussion started by: dll_fpga
2 Replies
9. Shell Programming and Scripting
I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios.
Cat test
Nov 10, 2012 5:17:53 AM
INFO: Request Type
Line 1.... (5 Replies)
Discussion started by: laknar
5 Replies
10. Shell Programming and Scripting
I have a multiple csv files which have different network time. The files are in sequance,
The Files Look like..
csv 1
network time
1348177401922972
1348177401949917
1348177401959150
1348177401964104
1348177401964258
1348177401964289
1348177401969053
1348177401970286
1348177401971174... (1 Reply)
Discussion started by: rakesh_arxmind
1 Replies
LEARN ABOUT CENTOS
rollback_to_savepoint
ROLLBACK TO
SAVEPOINT(7) PostgreSQL 9.2.7 Documentation ROLLBACK TO SAVEPOINT(7)
NAME
ROLLBACK_TO_SAVEPOINT - roll back to a savepoint
SYNOPSIS
ROLLBACK [ WORK | TRANSACTION ] TO [ SAVEPOINT ] savepoint_name
DESCRIPTION
Roll back all commands that were executed after the savepoint was established. The savepoint remains valid and can be rolled back to again
later, if needed.
ROLLBACK TO SAVEPOINT implicitly destroys all savepoints that were established after the named savepoint.
PARAMETERS
savepoint_name
The savepoint to roll back to.
NOTES
Use RELEASE SAVEPOINT (RELEASE_SAVEPOINT(7)) to destroy a savepoint without discarding the effects of commands executed after it was
established.
Specifying a savepoint name that has not been established is an error.
Cursors have somewhat non-transactional behavior with respect to savepoints. Any cursor that is opened inside a savepoint will be closed
when the savepoint is rolled back. If a previously opened cursor is affected by a FETCH or MOVE command inside a savepoint that is later
rolled back, the cursor remains at the position that FETCH left it pointing to (that is, the cursor motion caused by FETCH is not rolled
back). Closing a cursor is not undone by rolling back, either. However, other side-effects caused by the cursor's query (such as
side-effects of volatile functions called by the query) are rolled back if they occur during a savepoint that is later rolled back. A
cursor whose execution causes a transaction to abort is put in a cannot-execute state, so while the transaction can be restored using
ROLLBACK TO SAVEPOINT, the cursor can no longer be used.
EXAMPLES
To undo the effects of the commands executed after my_savepoint was established:
ROLLBACK TO SAVEPOINT my_savepoint;
Cursor positions are not affected by savepoint rollback:
BEGIN;
DECLARE foo CURSOR FOR SELECT 1 UNION SELECT 2;
SAVEPOINT foo;
FETCH 1 FROM foo;
?column?
----------
1
ROLLBACK TO SAVEPOINT foo;
FETCH 1 FROM foo;
?column?
----------
2
COMMIT;
COMPATIBILITY
The SQL standard specifies that the key word SAVEPOINT is mandatory, but PostgreSQL and Oracle allow it to be omitted. SQL allows only
WORK, not TRANSACTION, as a noise word after ROLLBACK. Also, SQL has an optional clause AND [ NO ] CHAIN which is not currently supported
by PostgreSQL. Otherwise, this command conforms to the SQL standard.
SEE ALSO
BEGIN(7), COMMIT(7), RELEASE SAVEPOINT (RELEASE_SAVEPOINT(7)), ROLLBACK(7), SAVEPOINT(7)
PostgreSQL 9.2.7 2014-02-17 ROLLBACK TO SAVEPOINT(7)