Search Results

Search: Posts Made By: protos27
1,719
Posted By Neo
Not to disparage your masters degree ideas, but a...
Not to disparage your masters degree ideas, but a "two node cluster" seems more like a high school level computer science project in the year 2017, or at best an undergraduate degree project.

My...
1,719
Posted By Neo
The reply to your "How many days" question...
The reply to your "How many days" question depends, primarily, on the number of nodes in the cluster, does it not?
1,570
Posted By Corona688
#!/bin/sh while read LINE do ...
#!/bin/sh

while read LINE
do
echo useradd "$LINE" -d /home/$LINE
done < data.txt

If that doesn't work please tell me in what way it didn't work, not just that it didn't.
1,570
Posted By greet_sed
May i ? #!/bin/bash while read LINE do ...
May i ?
#!/bin/bash

while read LINE
do
echo useradd "$LINE" -d /home/$LINE
done < $1

Execute it as
./script.sh data.txt
1,570
Posted By Corona688
Code tags for code please. while read LINE ...
Code tags for code please.

while read LINE
do
echo useradd "$LINE" -d /home/$LINE
done < data.txt

Remove the echo once you've tested and are sure it does what you want.
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy