tcsh issue
mfv
mfv at bway.net
Thu Dec 3 17:57:07 UTC 2015
> On Thu, 2015-12-03 at 09:22 "William A. Mahaffey III"
> <wam at hiwaay.net> wrote:
>
>I am having a puzzling problem w/ the tcsh shell locating a script
>that I think it should be finding:
>
>
>[wam at devbox, TEST, 9:18:10am] 1399 % which beginbg
>beginbg: Command not found.
>[wam at devbox, TEST, 9:18:21am] 1400 % set
>_ which beginbg
>
>addsuffix
>anyerror
>argv ()
>autoexpand
>autolist ambiguous
>autorehash
>csubstnonl
>cwd /home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/TEST
>cwdcmd echo -n "^[]2;${HOST}:$cwd^G^[]1;${HOST}^G"
>dirstack (/home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/TEST
>/home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/MSChemistry/chemWAM)
>dirw /home/wam/V8/Cnx/test/junk/cart/unstaggered
>dunique
>echo_style both
>edit
>euid 1110
>euser wam
>fignore (.o .obj .u)
>filec
>gid 1110
>group unknown
>histdup prev
>history 1000
>home /home/wam
>killring 30
>loginsh
>mail /var/mail/wam
>owd /home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/MSChemistry/chemWAM
>path (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
>/usr/local/bin /home/wam/bin)
>prompt %B%{\e]2\;%n@%m %l %~%#^g\e]1\;%n@%m^g\r%}[%n@%m, %c, %p] ! %%
>%b prompt2 %R?
>prompt3 CORRECT>%R (y|n|e|a)?
>savehist (300 merge)
>shell /bin/tcsh
>shlvl 1
>status 0
>tcsh 6.18.01
>term xterm
>time (10 whew !!!! that took (%U cpu + %S sys) sec., %E elapsed
>time tot, %P CPU efficiency
> (%X text, %D data, %M max) KB, (%I+%O) io, %F pfs + %W swaps)
>tty pts/3
>uid 1110
>user wam
>version tcsh 6.18.01 (Astron) 2012-02-14 (x86_64-amd-FreeBSD) options
>wide,nls,dl,al,kan,sm,rh,color,filec
>[wam at devbox, TEST, 9:18:25am] 1401 % lf /home/wam/bin
>AslashP* VectorExe.AMD64* backupSMB*
>fsplit.fried* patch2AMD* rawread* sbg*
>Batch* VectorExe.AMD64.new* backupUSB.sh
>getopt-parse.bash patch2AMD.lnx* refreshCFD* sinstCFD*
>BenchMarks.tgz VectorExe.AMD64.new~* beginbg*
>getopt-parse.tcsh patchIEXEs* resig* snap-mysql.txt
>BenchmarkDLL.exe VectorExe.EM64a* chext*
>grep-pdf patchILIBs* rinstCFD* sqlitebrowser*
>BenchmarkNew.exe VectorExe.IA32* chkdir*
>grep-pdf-multi pdfs2ps* runCELMINT* texi2man*
>GaussExe* Vector_Exe_Absoft* clean_rename*
>grepOUTPUT* pdfstops* runchem* tops*
>GaussExe.IA32* Vector_Exe_G77* cleanup*
>hddtemp.sh* portUpgrade.sh runit* unplugUSB.sh
>GaussExe~* Vector_Exe_Intc* cpuid*
>lock* portsync.sh saveFiles* updateExes*
>MakeLIB archive* dumptz*
>matt.tgz psgz2pdf* saveFiles2*
>SaveSrc* backup.0th.sh* ebg* memZFS*
>pstotext* saveFiles3*
>SaveStuff* backup.sh fsplit*
>memZFS.sh* qemu-linux-user.sh* savesrc*
>[wam at devbox, TEST, 9:18:38am] 1402 % which beginbg
>beginbg: Command not found.
>[wam at devbox, TEST, 9:18:49am] 1403 % uname -a
>FreeBSD devbox 9.3-RELEASE-p30 FreeBSD 9.3-RELEASE-p30 #0: Mon Nov 2
>10:11:50 UTC 2015
>root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>[wam at devbox, TEST, 9:19:55am] 1404 %
>
>
>i.e. the file 'beginbg' ( a shell script) appears in the file ~/bin
>(/home/wam/bin) which is in the search path, yet the shell doesn't
>find it .... Pilot error ? TIA for any clues & have a good one.
>
>
Hello William,
I'd first check the permission of the script to be certain that it is
executable.
Then run "rehash" or logout then log back in.
Cheers ...
Marek
More information about the freebsd-questions
mailing list