DEV Community

Bash: Brace expansion (opens in new tab)

Discussed on DEV

Somewhere in my storage I keep PDF files with random content just for fun, for about six years now. The funny thing was, I was revising its owner/group/user permissions and some of them were with a different permission than the usual. A simple chmod command like the following would do the trick: chmod 600 file01.pdf file05.pdf file09.pdf But, as a developer, some times we just have that itch to spend 30 minutes trying an easier way of doing something that usually takes 20 seconds. Just for th...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help