Jump to content

Command line

From wiki.rayhan.com
Revision as of 22:53, 27 October 2025 by Rayhan (talk | contribs)

One-liners

View your most used commands:

cat .zsh_history | cut -d ';' -f2 | cut -d ' ' -f1 | sort | uniq -c | sort -n | less

Windows

Robocopy drive contents to a directory on another drive. "/E /A-:SH" avoids a robocopy bug that makes the destination directory "super hidden", whatever that means. robocopy H:\ J:\Backup-of-H\ /FFT /R:0 /MIR /E /A-:SH

Tools

Manage wifi:

nmtui