-
-
Save anonymous/4d2d7261588a69fc7779511d3e50e3d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user@darkstar ~ $ touch "John foo bar bee" | |
user@darkstar ~ $ ls -l John\ foo\ bar\ bee | |
-rw-r--r-- 1 user user 0 Jun 1 17:23 John foo bar bee | |
user@darkstar ~ $ basename "John foo bar bee" | |
John foo bar bee | |
user@darkstar ~ $ basename "John foo bar bee" | cut -f 1 -d " " | |
John | |
user@darkstar ~ $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment