8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am trying to log on to server as a normal user and then sudo to root.
I am using below expect script.
$ cat SC.orig
expect <<EOF # | tee -a $LOGFILE
spawn sshpass -p "mypassword" ssh -l myid nim
expect "$"
send "sudo su - root\n"
expect "Password:"
send "mypassword\n";
sleep 4... (3 Replies)
Discussion started by: sri243
3 Replies
2. Shell Programming and Scripting
Hi Guys,
Further to my post yesterday I have got round the issue of not being able to use expect by using one of our unix machines to have the script running instead of the jumpbox itself. However my issue is I now have an extra bit it the script which is shh to the jumpbox which requires a ras... (1 Reply)
Discussion started by: mutley2202
1 Replies
3. UNIX for Dummies Questions & Answers
I've been wondering how I can reduce latency in downloading webpages. I've been pointed to network sockets (This guide in specific, beej's guide to network programming ) as some method to do so, but I can't figure out how to apply it in the way I need it.
I am iterating through webpages like... (0 Replies)
Discussion started by: seagaia
0 Replies
4. Hardware
I have seen research articles and forum postings that demonstrate that SSDs are poor at reading large files: the larger the file, the slower the SSD compared to traditional hard disk drives. The difference with hard disk drives becomes apparent at medium size files, say 20KB. Does this mean that... (2 Replies)
Discussion started by: figaro
2 Replies
5. UNIX for Dummies Questions & Answers
Hi guys,
I have developed a small website using jspx pages.
Now i want to host the website to a server which is a linux machine.
The linux machine which i m referring to is already hosting some web pages(jspx) through a web server Which is running at port 8888.
My first question would be... (0 Replies)
Discussion started by: pinga123
0 Replies
6. Shell Programming and Scripting
Hi guys I'm very new to unix and I have to create an awk script that detects webpage addresses from a file/webpage and outputs how many times each webpage was detected.e.g. if my file was:
www.google.com
www.facebook.com
www.google.com
the output should be:
www.google.com x2... (2 Replies)
Discussion started by: ROFL
2 Replies
7. Shell Programming and Scripting
Hi guys I'm very new to unix and I have to create an awk script that detects webpage addresses from a file/webpage and outputs how many times each webpage was detected.e.g. if my file was:
(Note: The symbol " was added to stop them being created into links)
"www.google.com"... (1 Reply)
Discussion started by: ROFL
1 Replies
8. UNIX for Dummies Questions & Answers
Dear All,
I run a website for a non-profit. Does anyone know where I can get free or cheap software to run threaded discussions for our website?
Our website is obviously running off a unix platform.
Thanks (4 Replies)
Discussion started by: evertk
4 Replies