Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #173384
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: My bash script is missing something - what? |
| Date | 2016-10-10 15:20 +0200 |
| Message-ID | <sqIEO-1J7-13@gated-at.bofh.it> (permalink) |
| References | <sqIlx-1ni-27@gated-at.bofh.it> <sqIv8-1FC-37@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 10/10/2016 8:00 AM, Robert Parker wrote: > you need to do: > ./test.sh > instead. > That just fails differently by responding: : No such file or directory I had seen that suggestion before while searching the web - don't recall a page reference. At the moment I using http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_02_01.html as my reference. > > On Mon, Oct 10, 2016 at 7:54 PM, Richard Owlett > <rowlett@cloud85.net <mailto:rowlett@cloud85.net>> wrote: > > I have a trivial bash script named test.sh which has been > marked as executable. > Its contents are: > > #!/bin/bash > cat /etc/debian_version > mount | grep 'on / ' > > In a terminal I type: > > test.sh > > The response is: > bash: test.sh: command not found > > I'm using Squeeze with Gnome2 as DE. > What's wrong? > TIA > > > > > > > > > -- > Courtier "Sire I have bad news!" > King "Yes, what is it?" > Courtier "The peasants are revolting." > King "Yes they always have been. Now what is the bad news?"
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
My bash script is missing something - what? Richard Owlett <rowlett@cloud85.net> - 2016-10-10 15:00 +0200
Re: My bash script is missing something - what? Robert Parker <rlp1938@gmail.com> - 2016-10-10 15:10 +0200
Re: My bash script is missing something - what? Richard Owlett <rowlett@cloud85.net> - 2016-10-10 15:20 +0200
Re: My bash script is missing something - what? Robert Parker <rlp1938@gmail.com> - 2016-10-10 15:30 +0200
Re: My bash script is missing something - what? Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-10 15:30 +0200
Re: My bash script is missing something - what? Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-10 16:20 +0200
Re: My bash script is missing something - what? Nicolas George <george@nsup.org> - 2016-10-10 16:20 +0200
PROGRESS - was [Re: My bash script is missing something - what?] Richard Owlett <rowlett@cloud85.net> - 2016-10-10 17:00 +0200
Re: PROGRESS - was [Re: My bash script is missing something - what?] Nicolas George <george@nsup.org> - 2016-10-10 17:10 +0200
Re: PROGRESS - was [Re: My bash script is missing something - what?] Richard Owlett <rowlett@cloud85.net> - 2016-10-10 17:50 +0200
Re: PROGRESS - was [Re: My bash script is missing something - what?] Peter Hillier-Brook <phb@hbsys.plus.com> - 2016-10-10 18:30 +0200
Re: PROGRESS - was [Re: My bash script is missing something - what?] Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-10 18:40 +0200
Re: PROGRESS - was [Re: My bash script is missing something - what?] Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-10 17:10 +0200
Re: PROGRESS - was [Re: My bash script is missing something - what?] Richard Owlett <rowlett@cloud85.net> - 2016-10-10 17:50 +0200
Re: My bash script is missing something - what? Lars Noodén <lars.nooden@gmail.com> - 2016-10-10 15:30 +0200
Re: My bash script is missing something - what? "Thomas Schmitt" <scdbackup@gmx.net> - 2016-10-10 15:40 +0200
Re: My bash script is missing something - what? Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-10 18:00 +0200
Re: My bash script is missing something - what? songbird <songbird@anthive.com> - 2016-10-10 18:00 +0200
csiph-web