Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-25-2003, 11:07 AM   #1
Senior Member
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
using variables from a file

I want to add some users that I have in a text file and write a script that will go through the list and add each user using the adduser command. I something like it once when I did daily backups. It would search all the directories and print the files that where changed in the last 24 hours. Then make a tarball with all the files listed in the file. Anyone here know how to do it? thanks


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
declare and initialize variables in a header file alaios Programming 3 09-04-2005 05:25 AM
Variables in Make file do not expand in shell? realos Programming 5 08-07-2005 06:16 AM
Setting Bash Variables from outside data file llewis Programming 10 01-12-2005 05:30 AM
May I use variables inside /etc/sysconfig/iptables file? leo Linux - Security 2 09-24-2004 10:26 PM
how to define variables in the c file of kernel riquelme Programming 2 05-16-2004 08:42 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:32 AM.

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