06-12-2007
Logging all console activity to a file - how?
Hi all,
Well I've had a bit more experience with Unix-like environments since my last post, now that I have started working on my website in earnest and am doing much of the file manipulation via the command line through SSH.
The thing is, I want to be able to log all console activity, basically everything that appears in the window, both my input and the returned output from the system.
How do I do this on a cygwin port? I couldn't find any commands to do it through Google, or maybe I'm not using the right terminology.
Thanks.
H.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to find a way to check the current status of a file. Such as some cron job processes are dependent on the completion of others. if a file is currently being accessed / modified or simply open state I will wait until it is done being processed before attempting the next process on that... (3 Replies)
Discussion started by: Gary Dunn
3 Replies
2. UNIX for Dummies Questions & Answers
Hello All!
Does anyone know of a nice way to log commands in solaris 8.
What I need is a program or script that saves any command that a user does in solaris command prompt. So when Steven logs in on a system, it should record everything he does, from an ls to exit with timestamps. I've been... (6 Replies)
Discussion started by: dozy
6 Replies
3. Linux
I have the need to record some step by step instructions to help with instruction in using Fedora Core 3. I was wondering if there are any ways to capture X or VNC activity to a video file. It can be any of the most common formats (MPEG, DiVX/ViDX, Ogg Theora, etc...) Does anyone know of any apps... (3 Replies)
Discussion started by: deckard
3 Replies
4. Shell Programming and Scripting
is there anyway to tell when an activity is happening on a file.
i'm talking about something deeper than what ls -l can give.
when i say activity, i want to know exactly when any commands was run on a specific file. i.e, did anyone run the mail command on this file. did anyone cat this... (2 Replies)
Discussion started by: Terrible
2 Replies
5. BSD
Hi,
The output of the cat ttys on a free BSD m/c
console none unknown off secure
#
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0 "/usr/libexec/getty std.9600" unknown on secure
ttyd1 "/usr/libexec/getty std.9600" dialup off
ttyd2... (0 Replies)
Discussion started by: mlalitha
0 Replies
6. UNIX for Dummies Questions & Answers
:confused:Hi
This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons.
I get a whole bunch of errors when starting the service too:
Tue Feb 23 14:29:45 2010
... (1 Reply)
Discussion started by: wbdevilliers
1 Replies
7. Shell Programming and Scripting
I am trying to figure a way to have a log file and still keep the output in the terminal in a script.
The example below logs to a file nicely but i still want the output in the terminal as well
#!/bin/bash
#Create a log
exec >> /path/to/my/logfile
echo "hello world"
Any help would be... (3 Replies)
Discussion started by: dave100
3 Replies
8. Shell Programming and Scripting
My intention is to log the output to a file as well as it should be displayed on the console > I have used tee ( tee -a ${filename} ) command for this purpose. This is working as expected for first few outputs, after some event loggin nothing is gettting logged in to the file but It is displaying... (3 Replies)
Discussion started by: sanoop
3 Replies
9. Solaris
Dear all,
i have two users user1 and user2 i want force user1 to login first by user2 and then su - user1
i want to prevent logging user1 from console directly (5 Replies)
Discussion started by: maxim42
5 Replies
10. Linux
When unlocking a Linux server's console there's no event indicating successful logging
Is there a way I can fix this ?
I have the following in my rsyslog.conf
auth.info /var/log/secure
authpriv.info /var/log/secure (1 Reply)
Discussion started by: walterthered
1 Replies
LEARN ABOUT DEBIAN
monboob
MONBOOB(1) General Commands Manual MONBOOB(1)
NAME
monboob - Daemon allowing to regularly check for new messages on various websites
SYNOPSIS
monboob [-dqv] [-b backends] [-cnfs] [command [arguments..]]
monboob [--help] [--version]
DESCRIPTION
Daemon allowing to regularly check for new messages on various websites, and send an email for each message, and post a reply to a message
on a website.
Supported websites:
* aum ("Adopte un Mec" French dating website)
* bnporc (BNP Paribas French bank website)
* bouygues (Bouygues Telecom French mobile phone provider)
* dlfp (Da Linux French Page news website)
* ecrans (Ecrans French news website)
* fourchan (4chan image board)
* hds (Histoires de Sexe French erotic novels)
* inrocks (Les Inrocks French news website)
* lefigaro (Le Figaro French newspaper website)
* minutes20 (2 Minutes French newspaper website)
* newsfeed (Loads RSS and Atom feeds from any website)
* okc (OkCupid dating website)
* orange (Orange French mobile phone provider)
* phpbb (phpBB forum)
* presseurop (Presseurop website)
* sfr (SFR French mobile phone provider)
* taz (Taz newspaper website)
MONBOOB COMMANDS
once
Send mails only once, then exit.
post
Pipe with a mail to post message.
run
Run the fetching daemon.
OPTIONS
--version
show program's version number and exit
-h, --help
show this help message and exit
-b BACKENDS, --backends=BACKENDS
what backend(s) to enable (comma separated)
MONBOOB OPTIONS
-S SMTPD, --smtpd=SMTPD
run a fake smtpd server and set the port
LOGGING OPTIONS
-d, --debug
display debug messages
-q, --quiet
display only error messages
-v, --verbose
display info messages
--logging-file=LOGGING_FILE
file to save logs
-a, --save-responses
save every response
RESULTS OPTIONS
-c CONDITION, --condition=CONDITION
filter result items to display given a boolean expression
-n COUNT, --count=COUNT
get a maximum number of results (all backends merged)
-s SELECT, --select=SELECT
select result item keys to display (comma separated)
FORMATTING OPTIONS
-f FORMATTER, --formatter=FORMATTER
select output formatter (csv, htmltable, multiline, simple, table, webkit)
--no-header
do not display header
--no-keys
do not display item keys
-O OUTFILE, --outfile=OUTFILE
file to export result
COPYRIGHT
Copyright(C) 2010-2011 Romain Bignon
For full COPYRIGHT see COPYING file with weboob package.
FILES
"~/.config/weboob/backends"
"~/.config/weboob/monboob"
SEE ALSO
Home page: http://weboob.org/applications/monboob
monboob 0.c 04 May 2012 MONBOOB(1)