Re: OT: variables
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Feb 01, 2016 at 11:16:17PM +0100, Hans wrote:
> Hi all,
>
> first of all, thanks for the fast response.
>
> > If you could suggest a specific tool, we could perhaps tell you the right
> > thing to use for that tool (or the reasons to use it).
> >
>
> Yes, here is an example:
>
> 1. apt-get --purge remove 4.3.1-0-*
>
> will remove all packages with4.3.1-0-* variable/string 4.3.1-0- in its name
>
> 2. aptitude purge '~n4.3.1-0-*'
> will deinstall all packages, named 4.3.1-0-
>
> 3. aptitude purge 'deborphan --guess-all'
> will deinstall all packages named by the commnd in the marks
>
> I see no system behind it. Looks weired for me.
> At the moment I find no example for "foo", but I am sure, one might find it
> also.
Ah -- as Thomas noted, you are looking at a shell, most probably
the bash.
There is extensive documentation on that, but of course this isn't
organized in a way to ease first steps, but rather as a manual.
Try to find a shell tutorial out there which suits you in style.
Have a look at [1] or [2].
And -- on-topic or off-topic: just ask away :-)
[1] <https://linuxconfig.org/bash-scripting-tutorial>
[2] <http://wiki.bash-hackers.org/scripting/tutoriallist>
regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlawZJ0ACgkQBcgs9XrR2kZC3QCfcy1FJ7igRYGNIyzXkz1YLiAL
IVYAn0iLDbGaWboBEvqPcJBNSAxl3KsG
=a5/g
-----END PGP SIGNATURE-----
Reply to: