Hi,
I might be stupid here to ask such question but I was just curious on ssh login to unix boxes (solaris).
When we login to unix box, it asks for password, but while typing the password, the password characters (like asterik or anything) seems hidden.
why it is so?
Thanks
Written by the author of Expect, this is the first book to explain how this part of the UNIX toolbox can be used to automate Telnet, FTP, passwd, rlogin, and hundreds of other interactive applications.
Following is the folder structure
- home/ABCD/test1/example1/sample1/textfile.txt
If I execute the find command like
find /home/ABCD/ -type f -print
I am getting the following output
/home/ABCD/test1/example1/sample1/textfile.txt
Note: I am executing the find command from the ABCD folder, In the results I want to exclude /home/ABCD/ folder I just want /test1/example1/sample1/testfile.txt a
Hi Folks,
I have opened a log file through Vi editor in putty itself and I was searching for a pattern in logs , let say 'ABCD'
Code:
/abcd
then I want to come out from vi editor, Please advise what is the command to come out from unix editor..!
All,
EDIT
I want to execute a unix statement in Expect script and get an output without having to include the interact statement.The unix statement outputs rsize value for a process.
please advice what's wrong with my exepct syntax ( I run expect in ksh script on Solaris 10 machine )
I want to verify if OS is linux
so if it true the expect check if prompt is "#" or ">"
and then run the "ls" command
but I get the error below
please advice what could be the problem
OS=solaris
expect_do_something=`cat << EOF
set timeout -1
spawn telnet 0 $IP_AD
Hello
Any Unix programm can help me to solve thsi issue:
I have 2 venn digrams please checke the attached file for pictures of venn diagram for eg red is A yellow is B and green is C..Please see attached file for Venn diagrams
In one .....
I have 3 data set
Code:
A , B and C
Venn diagram between A and B
shows:
Code:
A = 13+2098
B =2098+27079
now in venn diagram between A and B ther
I am unable to change my password even in root (recovery mode), or to unlock it. I can still access my account, but without password protection.
What am I missing? I change the root password on a unix machine, then try to log in with that password. PasswordAuthentication is set to yes in sshd_config and the sshd daemon has been restarted.