Search Results

Search: Posts Made By: biopulse
3,014
Posted By biopulse
Just got it! :) Am setting up something to...
Just got it! :)

Am setting up something to download some stuff with wget, move it around, fix perms etc...
I was using
echo "Enter Host User Pass : "
read host user pass

I needed:
...
3,014
Posted By biopulse
Basically, I'm writing a script where I want some...
Basically, I'm writing a script where I want some user input. However rather than when running the script it outputs:
Hi, what's variable 1 2 3?

then you type.
abc xyz 123

To get the...
3,014
Posted By biopulse
Keyboard input question
How would I change up a script that currently has something like:
bash script
echo what's 1 2 3 4?
then using read 1 2 3 4
I type 1 2 3 4.
so in the script i can do stuff like
echo $1 $2...
1,473
Posted By biopulse
Variables? mysqlshow user_%|sed '1,4d'|sed...
Variables?

mysqlshow user_%|sed '1,4d'|sed '$d'|awk '{ print $2 }'
prints out for example:

user_jmla1
user_wp1
user_zen1

going through a for loop to run mysqlcheck -rf.

for i in `that...
1,473
Posted By biopulse
My apologies on not being familiar with security...
My apologies on not being familiar with security practices as far as sanitizing the input, this would just be run as root and something I'd run on a server with multiple users.

When working it...
1,473
Posted By biopulse
Repair DB's for a user one liner / cpanel server.
Hello,

I could use a little help with the command line part of this. I've got it to sorta work if I use this `gawk -F"/"'{ print $3 }'`

I've also tried `pwd|cut -d/ -f3` with no luck. Is...
Showing results 1 to 6 of 6

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