4 ms·
This is what I was trying to remember, I've seen this before but never understood it. What does the colon do?
by politelemon 3y ago
This is what I was trying to remember, I've seen this before but never understood it. What does the colon do?
- eMPee584 3y agoit makes the smiley face look very sad : < while giving an exit status of zero (in this case only if bash can resolve the input redirection by opening that tcp port)
- arp242 3y ago: is a special built-in that always succeeds and always returns an exit of 0. You typically use it when you need a command for syntax reasons, but don't actually need/want to run a command.
- matt-attack 3y agoExample?
- semi 3y agoit's equivalent to 'true'. It returns a successful value