|
1 | 1 | # bash-helper |
2 | 2 | A set of commands for common bash tasks |
| 3 | + |
| 4 | +---- |
| 5 | + |
| 6 | +### duh |
| 7 | + |
| 8 | +##### Description: |
| 9 | + |
| 10 | +Alias for bash command du, with parameter: |
| 11 | + -h "Human-readable" output. Use unit suffixes: |
| 12 | + Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte. |
| 13 | + |
| 14 | +##### Example: |
| 15 | +``` |
| 16 | +user@pc:~$ duh /home/sergio/tmp/ |
| 17 | +138M /home/sergio/tmp/ |
| 18 | +``` |
| 19 | + |
| 20 | +### l (the lowercase letter _ell_) |
| 21 | + |
| 22 | +##### Description: |
| 23 | + |
| 24 | +Alias for bash command ls, with parameters: |
| 25 | + |
| 26 | + -C Force multi-column output; this is the default when output is to a terminal. |
| 27 | + -F Display a slash (`/') immediately after each pathname that is a directory, |
| 28 | + an asterisk (`*') after each that is executable, |
| 29 | + an at sign (`@') after each symbolic link, |
| 30 | + an equals sign (`=') after each socket, |
| 31 | + a percent sign (`%') after each whiteout, |
| 32 | + and a vertical bar (`|') after each that is a FIFO. |
| 33 | + --color=always Colorize the output. |
| 34 | + |
| 35 | +##### Example: |
| 36 | +``` |
| 37 | +user@pc:~$ l /home/sergio/github/ |
| 38 | +Dockerfiles/ gtkmm-tests/ openQA/ os-autoinst-distri-openQA/ os-autoinst-needles-opensuse/ setup-unix-like-system/ tmux-resurrect/ yast-journalctl-tutorial/ |
| 39 | +dockerized-openQA/ gtk-tests/ openSUSE_systemd/ os-autoinst-distri-opensuse/ presentations/ software-for-life_docker-helper/ unix-like-config/ |
| 40 | +docker-midori/ okurz_scripts/ os-autoinst/ os-autoinst-needles-openQA/ qa-testsuites/ systemd_systemd/ yast.github.io/ |
| 41 | +``` |
| 42 | + |
| 43 | +### li |
| 44 | + |
| 45 | +##### Description: |
| 46 | + |
| 47 | +Alias for bash command ls, with parameter: |
| 48 | + -1 (the numeric digit _one_) |
| 49 | + Force output to be one entry per line. |
| 50 | + This is the default when output is not to a terminal. |
| 51 | + |
| 52 | +##### Example: |
| 53 | +``` |
| 54 | +user@pc:~$ li /home/sergio/github/ |
| 55 | +Dockerfiles/ |
| 56 | +dockerized-openQA/ |
| 57 | +docker-midori/ |
| 58 | +gtkmm-tests/ |
| 59 | +gtk-tests/ |
| 60 | +okurz_scripts/ |
| 61 | +openQA/ |
| 62 | +openSUSE_systemd/ |
| 63 | +os-autoinst/ |
| 64 | +os-autoinst-distri-openQA/ |
| 65 | +os-autoinst-distri-opensuse/ |
| 66 | +os-autoinst-needles-openQA/ |
| 67 | +os-autoinst-needles-opensuse/ |
| 68 | +presentations/ |
| 69 | +qa-testsuites/ |
| 70 | +setup-unix-like-system/ |
| 71 | +software-for-life_docker-helper/ |
| 72 | +systemd_systemd/ |
| 73 | +tmux-resurrect/ |
| 74 | +unix-like-config/ |
| 75 | +yast.github.io/ |
| 76 | +yast-journalctl-tutorial/ |
| 77 | +``` |
| 78 | + |
| 79 | +### lol |
| 80 | + |
| 81 | +##### Description: |
| 82 | + |
| 83 | +Alias for bash command ls, with parameters: |
| 84 | + -l (the lowercase letter _ell_) List in long format. |
| 85 | + If the output is to a terminal, a total sum for all the file sizes is output on a line before the long listing. |
| 86 | + -h When used with the -l option, use unit suffixes: |
| 87 | + Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte |
| 88 | + in order to reduce the number of digits to three or less using base 2 for sizes. |
| 89 | + |
| 90 | +##### Example: |
| 91 | +``` |
| 92 | +user@pc:~$ lol /home/sergio/obs/home:binary_sequence:software-for-life/docker-helper/ |
| 93 | +total 36K |
| 94 | +drwxr-xr-x 1 sergio users 62 Jun 2 17:09 docker-helper/ |
| 95 | +-rw-r--r-- 1 sergio users 153 Jun 2 19:27 docker-helper.changes |
| 96 | +-rw-r--r-- 1 sergio users 305 Jun 2 19:25 docker-helper.changes~ |
| 97 | +-rw------- 1 sergio users 287 Jun 2 19:22 docker-helper.changes.vctmp.54RRR0~ |
| 98 | +-rw------- 1 sergio users 133 Jun 2 17:08 docker-helper.changes.vctmp.bAqX0y~ |
| 99 | +-rw------- 1 sergio users 470 Jun 2 19:24 docker-helper.changes.vctmp.LGy5a8~ |
| 100 | +-rw-r--r-- 1 sergio users 1.3K Jun 2 19:27 docker-helper.spec |
| 101 | +-rw-r--r-- 1 sergio users 1.3K Jun 2 19:24 docker-helper.spec~ |
| 102 | +-rw-r--r-- 1 sergio users 547 Jun 2 19:24 _service |
| 103 | +-rw-r--r-- 1 sergio users 547 Jun 2 19:22 _service~ |
| 104 | +``` |
| 105 | + |
| 106 | +### lola |
| 107 | + |
| 108 | +##### Description: |
| 109 | + |
| 110 | +Alias for bash command ls, with parameters: |
| 111 | + -A List all entries except for `.` and `..` |
| 112 | + Always set for the super-user. |
| 113 | + |
| 114 | +##### Example: |
| 115 | +``` |
| 116 | +user@pc:~$ lola /home/sergio/obs/home:binary_sequence:software-for-life/docker-helper/ |
| 117 | +total 36K |
| 118 | +drwxr-xr-x 1 sergio users 62 Jun 2 17:09 docker-helper/ |
| 119 | +-rw-r--r-- 1 sergio users 153 Jun 2 19:27 docker-helper.changes |
| 120 | +-rw-r--r-- 1 sergio users 305 Jun 2 19:25 docker-helper.changes~ |
| 121 | +-rw------- 1 sergio users 287 Jun 2 19:22 docker-helper.changes.vctmp.54RRR0~ |
| 122 | +-rw------- 1 sergio users 133 Jun 2 17:08 docker-helper.changes.vctmp.bAqX0y~ |
| 123 | +-rw------- 1 sergio users 470 Jun 2 19:24 docker-helper.changes.vctmp.LGy5a8~ |
| 124 | +-rw-r--r-- 1 sergio users 1.3K Jun 2 19:27 docker-helper.spec |
| 125 | +-rw-r--r-- 1 sergio users 1.3K Jun 2 19:24 docker-helper.spec~ |
| 126 | +-rw-r--r-- 1 sergio users 0 Jun 2 19:17 .lock |
| 127 | +drwxr-xr-x 1 sergio users 390 Jun 2 19:19 .osc/ |
| 128 | +-rw-r--r-- 1 sergio users 547 Jun 2 19:24 _service |
| 129 | +-rw-r--r-- 1 sergio users 547 Jun 2 19:22 _service~ |
| 130 | +``` |
| 131 | + |
| 132 | +---- |
| 133 | + |
| 134 | +# OBS |
| 135 | + |
| 136 | +This software is packaged and distributed using [OBS](https://build.opensuse.org) |
| 137 | + |
| 138 | +- Visit its OBS project site here [obs#bash-helper](https://build.opensuse.org/package/show/home:binary_sequence:software-for-life/bash-helper) |
0 commit comments