Ctrl+l is my most used command. I need a clean terminal
Cmd + K on the OS X Terminal.
cls clear
lol.
I see Cmd + K on the menu now, but I guess I wasn't curious enough to poke around. Thanks a bunch.
131–135 of 135 posts
Ctrl+l is my most used command. I need a clean terminal
Cmd + K on the OS X Terminal.
cls clear
lol.
I see Cmd + K on the menu now, but I guess I wasn't curious enough to poke around. Thanks a bunch.
Earlier quoted context omitted.
I have a suspicion that it's actually a kind of targeted example-advertisement for the clippy thingo ;) and did somewhat work for me actually, I do now feel interested in learning more about the site
On my mobile device, it was nearly unusable...
Great list of commands though.
Earlier quoted context omitted.
"better" or just faster since its written in C ? It is not a drop-in replacement for ack. e.g. there are some basic usages it does not support -- iirc counts (ag -c pattern).
Eh, faster is faster, does it matter why?
I have this in my .bashrc: function lc() { if [[ "$#" -gt 1 ]]; then for DIR in "$@"; do echo -n "$DIR - " ; ls -AU1 $DIR | wc -l ; done ; else ls -AU1 "$@" | wc -l ; fi; } So, "lc /dir" will count the number of files in /dir and "lc /dir/*" will count the files in subdirectories of /dir. This is useful if you're working in an environment where you may have thousands of files in a directory, and a regular "ls -l" wil…
> lc /dir" will count the number of files in /dir
find /dir -type f -maxdepth 1 | wc -l
> and "lc /dir/*" will count the files in subdirectories of /dir. find /dir -type f -mindepth 2 | wc -lI have never understood the love for `sudo !!`. I think `ctrl+pa sudo ` is faster, explicit, and more versatile.