Of course, leave off the $ when defining a variable in Bash!

I'm using the following tar invocation:

tar --one-file-system -cvjf foo.tar.bz2 foo/

Is there a way to tar up symbolic links as links?

What about permissions?

Should I run this as root in runlevel 1?


April 4, 2020 2:10 PM, "Galen Seitz" <[email protected]> wrote:

> On 4/4/20 11:45 AM, [email protected] wrote:
> 
>> #!/bin/bash
>> 
>> $dump_dir="/home/Shared/backup/"
> 
> ^ -- I don't think you want that dollar sign.
> 
> [galens@toto ~]$ dump_dir="/tmp/foo"
> [galens@toto ~]$ echo $dump_dir
> /tmp/foo
> [galens@toto ~]$ mkdir -v $dump_dir
> mkdir: created directory ‘/tmp/foo’
> 
> galen
> --
> Galen Seitz
> [email protected]
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug

I'm backing up my debian buster filtering gateway, though it doesn't exactly 
filter, and getting
ready to set Buster back up from scratch without X Windows and Gnome 3.

I've been having problems with power management via gdm most likely, probably 
fixed.

Thing is, when I unplugged the cable modem the networking got borked up really 
bad.  There's been spotty service,
so I'm thinking my issue to look for is a network issue.  Maybe network manager 
is to blame.  Perhaps it's an IPv6
thing.  Not exactly sure.

Instead of starting over, could I uninstall X Windows from the existing system 
in console mode for troubleshooting?
I think with X gone that network manager will go too which may be the source of 
my networking problems.
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to