public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] [A bit off-topic] Bash alias and &
@ 2016-06-12 14:26 Andrew Lowe
  2016-06-12 14:33 ` Nico Verrijdt
  2016-06-13  9:49 ` Joerg Schilling
  0 siblings, 2 replies; 12+ messages in thread
From: Andrew Lowe @ 2016-06-12 14:26 UTC (permalink / raw
  To: gentoo-user

Hi all,
	A bit off topic here, but there are plenty of people who seem to know 
their shells back to front so here goes.

	I have set up a Win32 based development environment, 
bash/cc/ls/etc/etc, for 1st year Engineering students who have to learn 
C on a command line. It's fine for me to remember to put the & at the 
end of the command when I fire up the editor but for them, it's major 
angst.

	The first thing that comes to mind is an alias. Just off the top of my 
head I tried:

	alias "npp=npp %1 &"

npp being the editor, but that didn't work. Is an alias the best/easiest 
way to do this and if so, what would the syntax be, or is there a better 
way?

	Any thoughts, greatly appreciated,

		Andrew


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-06-14  5:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-12 14:26 [gentoo-user] [A bit off-topic] Bash alias and & Andrew Lowe
2016-06-12 14:33 ` Nico Verrijdt
2016-06-12 14:43   ` Alan McKinnon
2016-06-12 15:07     ` Andrew Lowe
2016-06-12 15:54       ` [SOLVED]Re: " Andrew Lowe
2016-06-12 19:06         ` [gentoo-user] Re: [SOLVED]Re: " Jonathan Callen
2016-06-13  6:59           ` [gentoo-user] " Andrew Lowe
2016-06-12 17:04       ` [gentoo-user] " Peter Humphrey
2016-06-12 18:07         ` Mick
2016-06-13  8:56           ` Peter Humphrey
2016-06-13  9:49 ` Joerg Schilling
2016-06-14  5:04   ` Adam Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox