Quickies

[categories] [index] [all (531)] [latest]

Bash
  1. $ for f in *; do mv "$f" "$f.json"; done
    
  2. no error

    $ echo hello
    $ echo $?
    0
    

    error

    $ asdfg
    $ echo $?
    -bash: 127: command not found
    
  3. $ echo -ne 'x41'