Skip to content

Commit c12346b

Browse files
committed
Add brace expansion to random bash tips
1 parent de42c21 commit c12346b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lessons/python/scripting.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@
6565
"- Ctrl+A goes to the start of a line; Ctrl+E goes to the end\n",
6666
"- Ctrl+L clears the terminal window\n",
6767
"- grep searches files and directories\n",
68-
"- prepend time to a command to see how long it takes"
68+
"- prepend time to a command to see how long it takes\n",
69+
"- use brace expansion to quickly perform multiple operations at once\n",
70+
" - for example, mkdir {foo,bar,baz} makes 3 directories named foo, bar, and baz"
6971
]
7072
},
7173
{

0 commit comments

Comments
 (0)