Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #268568
| From | Hans <hans.ullrich@loop.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | variables in bash |
| Date | 2024-03-28 10:40 +0100 |
| Message-ID | <ImUoN-2eiy-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi folks, just an easy question: What is the difference (if any) between the following two variables in a shellfile in bash: 1. mypath=/home/user1/Tools/ and $mypath or 2. mypath="/home/user1/Tools/" and $mypath Is this in bash the same? Do other shells (sh, zsh, whatever) handle these two different? Thanks for any answer, can be short! Best regards Hans
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
variables in bash Hans <hans.ullrich@loop.de> - 2024-03-28 10:40 +0100
Re: variables in bash Greg Wooledge <greg@wooledge.org> - 2024-03-28 12:20 +0100
[SOLVED] Re: variables in bash Hans <hans.ullrich@loop.de> - 2024-03-28 14:10 +0100
Re: variables in bash Paul M Foster <paulf@quillandmouse.com> - 2024-03-28 12:30 +0100
csiph-web