9 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
Morning all,
I am attempting to complete the below script which will do the following (skip the ping part) using Bash.
Prompts the user to type in a URL to download, or to type exit to exit the script.
If a URL is typed, wget to download the webpage and then loop back to prompting for a... (2 Replies)
Discussion started by: Jgerds1990
2 Replies
2. Shell Programming and Scripting
Hello,
I am working on an Urdu to Hindi dictionary which has the following structure:
a=b
a=c
n=d
n=q
and so on.
i.e. Headword separated from gloss by a =
I am giving below a live sample
بتا=बता
بتا=बित्ता
بتا=बुत्ता
بتان=बतान
بتان=बितान
بتانا=बिताना
I need the following... (3 Replies)
Discussion started by: gimley
3 Replies
3. Shell Programming and Scripting
Hey :3
I am moving some stuff between different servers.
I do it like this:
scp -r -P 22 -i ~/new.ppk /var/www/bigfile.tar.gz user@123.123.123.123:/var/www/bigfile.tar.gz
Lets say, this file is 50 GiB. I would like to know, if its possible to split the file in different parts,... (2 Replies)
Discussion started by: Keenora
2 Replies
4. UNIX for Advanced & Expert Users
Hi all,
I have root directory on server 1 say A and having sub directory B now my application generates output files and put in sub directory B.
now i need to transfer these files from server1 to server2 by scp which is having same directory structure A and sub directory B
I have tried... (2 Replies)
Discussion started by: tushar_spatil
2 Replies
5. Shell Programming and Scripting
I googled this and couldn't find an answer, so I rolled my own. Here it is, hope it helps. Feel free to improve on it.
#!/bin/bash
PWORD=
ANYKEY=0
echo -n "Password: "
until
do
read -N 1 -s ANYKEY
echo -n "*"
PWORD="$PWORD$ANYKEY"
done
echo
echo $PWORD
exit (3 Replies)
Discussion started by: krisdames
3 Replies
6. Shell Programming and Scripting
Hey everyone. First, let me preface this post by stating that there are some bad things I'm doing. I'm using python to work around SCP's refusal to take standard input for a password. The reason for doing this as opposed to using keys is because the servers are on lock down due to them being in our... (1 Reply)
Discussion started by: msarro
1 Replies
7. Shell Programming and Scripting
Hi Scripting experts,
I am new to the unix scripting. Please help me out for solving the condition given below
I am trying to develop a script for Copying files which are getting generated in server A to server B using scp. In serverA files are generating as for eg abc1.txt, abc2.txt,... (5 Replies)
Discussion started by: rohithji
5 Replies
8. Shell Programming and Scripting
I can run this from the command line:
scp -i identfile /path/file_to_send remotelogin@remotebox:/path_to_put_it/file_to_send
and I get:
file_to_send 100% |***************************************************************************| 0 00:00
but if I do:
scp -i identfile... (6 Replies)
Discussion started by: NewSolarisAdmin
6 Replies
9. Shell Programming and Scripting
Hello,
I am trying to create a simple bash script that will run on a linux box and when invoked, go through a specified directory and remove the the oldest directory contained there in. This is perhaps not the optimal forum but I am hoping that someone out there can lend an assit before I lose my... (4 Replies)
Discussion started by: rstrst
4 Replies