Sponsored Content
Full Discussion: Saving stuff to a text file
Top Forums UNIX for Dummies Questions & Answers Saving stuff to a text file Post 302238746 by vidyadhar85 on Sunday 21st of September 2008 09:10:43 PM
Old 09-21-2008
Quote:
Have you tried just doing a history > somefile?
dear Annihilannic
history won't give all history details it gives by default some 20 or 30 history commands so i suggested him to copy .sh_history file to text file..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Saving a redirected file

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

Saving a vector to a file

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

Retain file permissions when saving .sh file from internet [OS X]

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

saving running text to a text file

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

Editing a file and saving it

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

Modifying the contents of a file and saving it

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

[Solved] Removing duplicates from the file and saving as new file

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

Snoop - saving the file

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

Saving files with file name as output

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

Check file creation Time minutes and if file older then 5 minutes execute some stuff

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
Gnome2::Entry(3pm)					User Contributed Perl Documentation					Gnome2::Entry(3pm)

NAME
Gnome2::Entry - wrapper for GnomeEntry HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Box +----Gtk2::HBox +----Gtk2::Combo +----Gnome2::Entry INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Gtk2::Orientable Gtk2::Editable METHODS
widget = Gnome2::Entry->new ($history_id=undef) o $history_id (string) $gentry->append_history ($save, $text) o $save (boolean) o $text (string) $gentry->clear_history widget = $gentry->gtk_entry string = $gentry->get_history_id $gentry->set_history_id ($history_id) o $history_id (string) integer = $gentry->get_max_saved $gentry->set_max_saved ($max_saved) o $max_saved (integer) $gentry->prepend_history ($save, $text) o $save (boolean) o $text (string) PROPERTIES
'gtk-entry' (Gtk2::Entry : default undef : readable) The GTK entry 'history-id' (string : default undef : readable / writable) History ID SIGNALS
activate (Gnome2::Entry) SEE ALSO
Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box, Gtk2::HBox, Gtk2::Combo COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team. This software is licensed under the LGPL. See Gnome2 for a full notice. perl v5.14.2 2011-11-16 Gnome2::Entry(3pm)
All times are GMT -4. The time now is 02:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy