cm0002@literature.cafe to Linux@programming.dev · 17 days agoWhat are some of your most useful or favorite terminal commands?message-squaremessage-square2fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1message-squareWhat are some of your most useful or favorite terminal commands?cm0002@literature.cafe to Linux@programming.dev · 17 days agomessage-square2fedilinkfile-text
minus-square[object Object]@sh.itjust.workslinkfedilinkEnglisharrow-up1·edit-217 days agoI have a script named d in my PATH and it contains this: ("$@" > /dev/null 2>&1 &) It allows me to run any program in a fully detached state in a way that works even if the terminal that started the program closes, and it’s as simple as d <command>.
minus-squareRedjard@lemmy.dbzer0.comlinkfedilinkarrow-up1·17 days agogood idea, I’ve been manually typing out variations of this as needed for years.
I have a script named
din my PATH and it contains this:("$@" > /dev/null 2>&1 &)It allows me to run any program in a fully detached state in a way that works even if the terminal that started the program closes, and it’s as simple as
d <command>.good idea, I’ve been manually typing out variations of this as needed for years.