Search Results

Search: Posts Made By: springs2
Forum: Cybersecurity 04-26-2013
1,823
Posted By springs2
Best, secure way to ssh without needed password?
Hi,

Wondering if anyone could suggest the best way to complete this.

I have a remote server that hosts a forum what i want to finish configuring my monitoring via Nagios. now because my home...
1,105
Posted By springs2
Thanks, I put a tripple \ in the command and...
Thanks,

I put a tripple \ in the command and it worked.

any idea if its possible as well with the 2nd part of the question? if $SHOW contains a space in the name if its possible to put the...
1,105
Posted By springs2
Sed: removes \ from text which causes issues
Hi all,

Hoping someone hoping someone might be able to help. i've got the following sed command which i'm using in a bash script that i'm trying to use to insert a new line into an already...
1,800
Posted By springs2
well i've managed to get it working now. I...
well i've managed to get it working now.

I took out the "" which was wrapped around $SHOW within sed

The only thing i have now is that when trying to run the test3.sh it fails due to the spaces...
1,800
Posted By springs2
This is basically a copy of the script ...
This is basically a copy of the script
SHOW="$2"

create-new(){
mkdir "$bar/$SHOW"
sed "36a\mv -v $foo/"$SHOW"\ $bar/$SHOW/" test2.sh > test3.sh
}

case "$1" in
create)
...
1,800
Posted By springs2
So my initial script has a case command in which...
So my initial script has a case command in which calls up functions according to which option i select. Within one of those functions i have the sed code which is to take the input of $SHOW and apply...
1,800
Posted By springs2
sed not outputing variable into new file
Hi all,

I have a script that creates folders depending on what variables i enter when calling the script. This all works as expected but what i want to do is add some additional data into another...
1,461
Posted By springs2
Move parent folder if contents match a parameter
Hi all,

Hoping someone can help.

I'm looking to be able to search a particular folder path for folders that contain certain files / formats and then move the parent folder.

eg.
...
Showing results 1 to 8 of 8

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