LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 12-23-2009, 05:42 PM   #1
imhanse
LQ Newbie
 
Registered: Feb 2005
Location: Eastern Missouri (USA)
Distribution: Xubuntu 9.04 Slackware 13.0
Posts: 3

Rep: Reputation: 0
Question lfs usergroup presentation and logging aid


I was fortunate to present an overview and commentary on lfs to the St
Louis Linux User Group last week.

The presentation in PDF format is found on the Saint Louis UNIX Users
Group web site. > http://sluug.org/ > resources > presentations >
St. Louis Linux Users Group ( December 17 2009 )

While building my system ( lfs 6.3 using livecd for level/host
compatibility) and using the cmd 2>&1 | tee logfile tip I decided
to 'beef' up the suggestion.

I developed two execs logdir and rch to enable me to collect my
command output in a /mnt/fls/logfile directory These are also
posted on SLUUG side with the presentation.

logdir - used to set the directory for log output ( invoke by . )
rch - a wrapper prefix to command in the lfs build

notes on logdir
1. DO NOT make logdir executable ( invoke by . or source )
2. I used logdir to put packageX output in /mnt/lfs/logfile/pacakgeX

notes on rch:
1. this does not work in all cases ( e.g. stacked cmds)
2. rch prompts for outfile and comment also generates info to a
history file overall_command_history overall_package_history .
3. rch are my initial so use your own if you like.
4. I 'hid' them in /usr/bin but you could put them in / directory
and invoke /logir /rch
.

Enjoy(?) and regards Robert C. Hansen
Bob

P.S. This post has also been submitted to lfs-support@linuxfromscratc.org and is awaiting moderator approval
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot find adduser, usergroup command wisdom Fedora 11 08-15-2009 06:08 PM
Logging init start up messages in LFS 6.3 gazza1z Linux From Scratch 2 10-16-2008 08:47 AM
How do I view html documents from the lfs terminal after logging in as root? owa Linux From Scratch 1 03-24-2007 04:16 PM
Need aid with static IP Zmyrgel Linux - Networking 9 06-25-2006 07:59 AM
strict usergroup ?? how to ?? help plz Mr.Bingles Linux - Networking 0 06-07-2004 02:03 AM


All times are GMT -5. The time now is 10:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration