09-22-2008
Annihilannic: I was referring to a file called ".snapshot". I was confusing it with the ".sh_history" file. I still don't know what a snapshot file is, but I doubt it has anything to do with history.
Anyway, "history > somefile" works just file. Thanks everyone.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
What command do I use in order to save a file in directory A/B/C
to directory A/D/E. (1 Reply)
Discussion started by: JSP
1 Replies
2. Programming
Another C++ question, please do notify me if this forum is C-only!
:)
I'm having a vector...
vector<Person> x;
... with a class I've defined (Person).
I have several elements in this vector and I would like to save it to a file (binary (?)). And later on open up this file to retrieve... (1 Reply)
Discussion started by: J.P
1 Replies
3. Shell Programming and Scripting
Hello.
I have written a bash script that I am sharing with an OS X community I am a member of. The purpose of the script is to execute a series of commands for members without them having to get involved with Terminal, as it can be daunting for those with no experience of it at all. I have renamed... (4 Replies)
Discussion started by: baza210
4 Replies
4. Shell Programming and Scripting
I tried the
tail -f my-slow.log | grep 'someWord' > /root/myfile.txt
This does not work.
I tried --tee as well and that too does not work. Any help? (1 Reply)
Discussion started by: shantanuo
1 Replies
5. Shell Programming and Scripting
HI
I have a file samp1.xml which has the following content
<ErrorMessage><ExceptionNumber>5117</ExceptionNumber><OriginalMessage><!<?xml version="1.0" encoding="UTF-8"?> <EMAILS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNameSpaceSchemaLocation=".\SMTPSchema.xsd"> <EMAIL... (7 Replies)
Discussion started by: harimhkr
7 Replies
6. Solaris
I have a file with the following content:
--------------------
SQL> @DBmonitor_WMHA_SQL_script.sql;
Tablespace Size (GB) Free (GB) % Free % Used
------------------------------ ---------- ---------- ---------- ----------
WMHAIT_IS ... (8 Replies)
Discussion started by: Avik Datta
8 Replies
7. Programming
Dear All
I have 200 data files and each files has many duplicates.
I am looking for the automated awk script such that it checks and removes the duplicates from the each file and saving them as new files for all 200 files in the respective folder.
For example my data looks like this..
... (12 Replies)
Discussion started by: bala06
12 Replies
8. UNIX for Dummies Questions & Answers
Hi Guy's,
I want to run a snoop on an interface and then save it to the local jumpbox that I am connected to the end device via. Can anyone help with the syntax please.
Cheers (3 Replies)
Discussion started by: mutley2202
3 Replies
9. Shell Programming and Scripting
Hi,
i need help with a file creation of an output program. I've got a program that with #find creates an output for each files in a directory.
If i give this command :
-o spec$(date -u +%Y%m%dt%H%M)
it creates just one file, overwriting all the others since it is the creation date .... (2 Replies)
Discussion started by: Board27
2 Replies
10. Shell Programming and Scripting
Hello all,
Info:
System RedHat 7.5
I need to create a script that based on the creation time,
if the file is older then 5 minutes then execute some stuff, if not exit.
I thought to get the creation time and minutes like this.
CreationTime=$(stat -c %y /tmp/test.log | awk -F" " '{ print... (3 Replies)
Discussion started by: charli1
3 Replies
LEARN ABOUT CENTOS
snapconv
snapconv(1) Emulators snapconv(1)
NAME
snapconv - Sinclair ZX Spectrum snapshot converter
SYNOPSIS
snapconv [ -c ] [ -n ] infile outfile
DESCRIPTION
snapconv converts between ZX Spectrum snapshot files.
OPTIONS
-c specifies that all data in the output snapshot should be compressed, even if that compression will result in a bigger file than if
some data is left uncompressed. This helps compatibility with some buggy programs that can only read entirely compressed .z80 files.
-n specifies that the output snapshot should be uncompressed.
-f specifies that the A and F and A' and F' registers should be swapped. Version 0.5.0 and older of libspectrum(3) had a bug that
resulted in these registers being swapped in SZX snapshots only. Version 0.5.1 and newer of libspectrum(3) automatically recognise
these snapshots and correct the problem, but this flag is necessary to fix some snapshots created by development versions only of
libspectrum(3) which had the bug fixed, but cannot be distinguished from snapshots containing the bug.
infile specifies the snapshot to be converted. This file can be in any of the snapshot formats supported by libspectrum(3).
outfile
specifies the output snapshot. The format will be determined by the file extension and can be in any of the formats libspectrum(3)
supports for output.
BUGS
None known.
SEE ALSO
fuse(1), fuse-utils(1), libspectrum(3), listbasic(1), snap2tzx(1)
The comp.sys.sinclair Spectrum FAQ, at
http://www.worldofspectrum.org/faq/index.html.
AUTHOR
Philip Kendall (philip-fuse@shadowmagic.org.uk).
Version 1.0.0 16th December, 2010 snapconv(1)