osx - What will >_ command do in bash -


i saw >_ in bash shell icon in mac , wondering do.

i tried performing command not able figure out happened. command prompt silently came again.

it should doing something, that's why in icon terminal.

do know , can used something?

running >_ run (nothing), redirected file named _. it's not terribly useful, that's does. useful empty redirection i've seen empty contents of file it:

> /var/log/app.log 

which, if app.log not open process, result in /var/log/app.log being empty.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -