Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #174181
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Trivial script will NOT execute |
| Date | 2016-11-05 02:00 +0100 |
| Message-ID | <szXuW-Ff-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Today I've been having weird problems executing scripts.
As I have no valuable data on the partition containing Debian, I
wiped it and did a fresh install of Debian Jessie (8.6.0) MATE
desktop environment from a purchased set of DVDs. Earlier today I
had had reason to create an *,iso of DVD1 of 13 using xorriso.
The ISO had a MD5SUM matching the one at debian.org .
More than a half-century of trouble shooting *screams* 'operator
error' ;[
But what????? [Caja reports the execute bit is set ;]
Cut-n-paste from MATE terminal:
root@full-jessier:~# #!/bin/bash -x
root@full-jessier:~# cd /media/root/myrepo
root@full-jessier:/media/root/myrepo# RCO
bash: RCO: command not found
root@full-jessier:/media/root/myrepo# ls
lost+found new file RCO x2 xtract2 (copy)
root@full-jessier:/media/root/myrepo#
The content of RCO [with Linux line endings] is:
F='dvd8_'
N=0
E='.iso'
echo ""
while true
do
read -p "press Enter (Ctrl+C to exit)" dummyvar
let N=N+1
FILENAME=$F$N$E
echo $FILENAME
echo ""
echo "*********************"
done
Assistance appreciated.
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Trivial script will NOT execute Richard Owlett <rowlett@cloud85.net> - 2016-11-05 02:00 +0100
Re: Trivial script will NOT execute "John L. Ries" <jries@salford-systems.com> - 2016-11-05 02:10 +0100
Re: Trivial script will NOT execute Richard Owlett <rowlett@cloud85.net> - 2016-11-05 02:40 +0100
Re: Trivial script will NOT execute "John L. Ries" <jries@salford-systems.com> - 2016-11-05 04:30 +0100
Re: Trivial script will NOT execute David Wright <deblis@lionunicorn.co.uk> - 2016-11-05 16:50 +0100
Re: Trivial script will NOT execute Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-07 14:00 +0100
Re: Trivial script will NOT execute David Wright <deblis@lionunicorn.co.uk> - 2016-11-07 14:50 +0100
Re: Trivial script will NOT execute Christian Seiler <christian@iwakd.de> - 2016-11-05 02:20 +0100
Re: Trivial script will NOT execute Ben Caradoc-Davies <ben@transient.nz> - 2016-11-05 04:00 +0100
Re: Trivial script will NOT execute sunrise@mailbug.com - 2016-11-05 02:40 +0100
csiph-web