Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- cat_n_ls=$(ls | cat -n)
- echo "$cat_n_ls" # quotes preserve \n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement