The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers > Homework & Coursework Questions
.
google unix.com



Homework & Coursework Questions Students must use and complete the template provided. If you don't, your post may be deleted! Special homework rules apply here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
save streaming video data for later viewing? euclid3628800 Shell Programming and Scripting 5 08-05-2009 03:00 AM
Data fetched from text file and save in a csv file rohitkalia Shell Programming and Scripting 1 06-10-2009 04:22 AM
Data displayed in two lines Ninjaa Shell Programming and Scripting 2 02-06-2009 04:44 AM
Can ZFS Save my Data stringman Filesystems, Disks and Memory 1 07-08-2008 04:08 PM
SCO Unix : how to read and save data from cd sak900354 UNIX for Dummies Questions & Answers 0 01-02-2007 10:25 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 3 Weeks Ago
eddieq20 eddieq20 is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 2
Exclamation Option to save data thats displayed?

Im trying to come up with a simple shell script to display info about the current user.`pwd`; `date` ; `who am i`
I want to give the option to save all the data thats display by the commands to a log file. With a timestamp as the name of the file

This is where im stuck
echo "Would you like to save? (Y)es or (N)o

I believe you use a while loop?
If you have anymore ideas please let me know?
  #2 (permalink)  
Old 3 Weeks Ago
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,568
What about the rules you agreed with:
Rules for Homework & Coursework Questions Forum
  #3 (permalink)  
Old 3 Weeks Ago
eddieq20 eddieq20 is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 2
What about the rules? Who cares? This form is here to help people with a issue.END OF STORY
  #4 (permalink)  
Old 3 Weeks Ago
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,833
WE care. Because this is a forum to help professionals get together, and help each other. You, by the way, agreed to the rules when you created an account, so you should care too if you want help.

END OF STORY
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:50 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0