Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: Ikaro0
Forum: Red Hat 08-19-2014
3,408
Posted By Ikaro0
Device-mapper behaviour booting on init=bin/bash
Good morning

Recently we needed to change the password from a redhat 6.5 system that no one knew the root password.

Starting the system with the init=/bin/bash method took us to the following...
1,016
Posted By Ikaro0
Hi Nolo41, the null file has not been created by...
Hi Nolo41, the null file has not been created by you, it exist in UX systems.
2,605
Posted By Ikaro0
Hi, JcDole Why using expect that as far as I...
Hi, JcDole

Why using expect that as far as I used it, can automate interactive sessions and then try to made an interactive session with it?

I use expect like the following:

...
8,038
Posted By Ikaro0
Hi Krk To do a sudo you should have an entry...
Hi Krk

To do a sudo you should have an entry on the sudoers file that allows you to do the task needed to be done as other user or root.

Better than trying to go deeper into your specific...
1,016
Posted By Ikaro0
Hi Nolo41 /dev/null is a null device, a...
Hi Nolo41

/dev/null is a null device, a special file that discard any data written to it.
From Wikipedia:

/dev/null - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki//dev/null)...
1,016
Posted By Ikaro0
Hi Like sending the output to nowhere?...
Hi

Like sending the output to nowhere? >>/dev/null
or like creating and empty file? touch somenamefile

If you add the first after any command line in your script, the output of that command...
3,980
Posted By Ikaro0
Have you tried with expect? like...
Have you tried with expect?

like http://www2.lib.uchicago.edu/keith/tcl-course/topics/expect.html

Regards
3,680
Posted By Ikaro0
I guess that bipinajith is trying to tell you is...
I guess that bipinajith is trying to tell you is that by typing:
"setup a scheduled task using a batch file"
on Google, the first link will be like....:...
2,024
Posted By Ikaro0
Hi Don Cragun As I corrected my self I did...
Hi Don Cragun

As I corrected my self I did not see the vxfs type of message. I thought he wanted to redirect the error message that was already correct with "2>"
The "&>" does something that is...
2,024
Posted By Ikaro0
You may be using the & redirection sort -k...
You may be using the & redirection

sort -k 1.10,1.20n -o $inputfile $outputfile &>> error_log
if [ $? -ge 0 ];then echo "SORT ERROR";exit;fi

Regards

Sorry, did not see vxfs type of...
5,734
Posted By Ikaro0
The script goal is to ? As far as I get, your...
The script goal is to ?
As far as I get, your script stores into a variable "script" the result of the curl execution "curl -s "$url" "and then executes that result.+

So, what error do you get?...
7,787
Posted By Ikaro0
Hi Andrewkl. Just to make sure that this...
Hi Andrewkl.

Just to make sure that this question wasn't answer before on the forum I did a search with google with this statement:

use of "cp -p"

The second search result is a post on...
23,517
Posted By Ikaro0
Hi, Thanks a log for the quick replay but I...
Hi,
Thanks a log for the quick replay but I think it is not good cause it sems that no matter what if founds it continues.

I'll explain better the situation:

Environment: Production, servers...
23,517
Posted By Ikaro0
Expect Script square bracket dollar prompt
Hi

Thanks for this amazing forum first, I've been searching answers in it for problems that I've encountered at work.

The only problem I haven't been able to find a fix for, is a ever waiting...
Showing results 1 to 14 of 14

 

Featured Tech Videos

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