You are not logged in.

#1 2004-11-18 10:32:06

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,750

Lost in a Terminal

script

This will send all output to file typescript ...

when you have finished your session exit

exit

(or Ctl+d)

all your commands and output are saved in tyepscript

man script

for more info  :!:


Mr Green

Offline

#2 2004-11-18 10:49:17

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,615
Website

Re: Lost in a Terminal

oooh. I had learned that in an into Unix course in computer science some time back, but had completely forgotten about it.
now..if only I could put it to use...
:idea:


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2004-11-18 17:34:34

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Lost in a Terminal

cactus wrote:

now..if only I could put it to use...
:idea:

It's useful for example when you are working on a complicated pkgbuild and you first try to do some things "manually" (like patching, compiling with different options, etc, etc.). Later you can extract what you need and use in your pkgbuild. Together with screen's copy/paste mode it's really powerful (no need to worry about scrollback history, no need for mouse,...)

Hey, how about this
http://www.google.com/search?num=100&hl … tnG=Search
or this
http://linux-newbie.sunsite.dk/
big_smile

Offline

Board footer

Powered by FluxBB