What is the faster way to launch any GUI program from the terminal without waiting for its completion and stdout / stderr logging? Now I'm usingprogram_name >/dev/null 2>&1 &but it's too long to type it every time. I'm new to the Linux world but I think that it's should resolved via small bash script, right?
What is the faster way to launch any GUI program from the terminal
linux;debian
You can create following script:#!/bin/bash$@ >/dev/null 2>&1 &Save as for example 'gui'.Next, allow to execute:chmod +x guiCopy to /usr/bin# cp gui /usr/local/binBe happy of typing gui program_name!