1
0
Fork 0
mirror of synced 2024-11-30 03:05:35 -05:00
zimfw/modules/utility/README.md

41 lines
1.1 KiB
Markdown
Raw Normal View History

utility
2015-12-15 18:49:15 -05:00
=======
2015-12-18 02:45:37 -05:00
Utility aliases and functions.
Adds colour to `ls`, `grep` and `less`.
2015-12-15 18:49:15 -05:00
Aliases
-------
2015-12-18 02:45:37 -05:00
### ls
* `ls` lists directories first (GNU only) and with colour (applies to all aliases below).
* `ll` lists with long format and human-readable sizes (applies to all aliases below).
* `l` lists all files.
* `lm` lists all files using pager.
* `lr` lists recursively.
* `lx` lists sorted by extension (GNU only).
* `lk` lists sorted by largest file size last.
* `lt` lists sorted by newest modification time last.
* `lc` lists sorted by newest status change (ctime) last.
2015-12-18 02:45:37 -05:00
### File Downloads
* `get` is short for ( `aria2c` || `axel` || `wget` || `curl` ).
2015-12-18 02:45:37 -05:00
### Resource Usage
2015-12-15 18:49:15 -05:00
* `df` reports file system disk usage with human-readable sizes.
* `du` reports file disk usage with human-readable sizes.
2015-12-15 18:49:15 -05:00
2015-12-18 02:45:37 -05:00
### Condoms
2015-12-15 18:49:15 -05:00
* `chmod` changes file mode verbosely, not operating from `/` (GNU only).
* `chown` changes file owner verbosely, not operating from `/` (GNU only).
* `rm` uses `safe-rm` if available.
2015-12-18 02:45:37 -05:00
### Misc
* `mkcd` creates and changes to the given directory.