Fulltext results:
- Compare directories
- digest file: <code bash> find DIR -type f -exec shasum {} + | LC_ALL=C sort -d -k 2 > shasums.txt </code> It's important to use ''LC_ALL=C'' and the op... erent machines. After that, you can diff the two shasums.txt: <code bash> diff shasums1.txt shasums2.txt </code> Or you use Meld as graphical diff tool
- root login with bash
- ot'' role. Also, the ''root'' user has the bourne shell (''/bin/sh''), but working with ''/bin/bash'' is much easier. Using this command, you can directly log in as ''root'' with a ''bash'' shell. ssh demo.lab.example.com -t "su - root -c
- DynDNS Updates without a Client
- od as any other client. <code bash dyndns-update.sh> #! /bin/bash . ${HOME}/.dyndns.cfg DOMAINS=$(c... echo -n " ${domain} - " curl --silent --show-error --insecure --user ${LOGIN} "${UPDATE_URL}... '.dyndns.domains'' contains all the domains which should be updated. They must be whitespace separated
- Change Encoding with iconv
- {f}_$$_TEMP ${f} \ && mv ${f}_$$_TEMP ${f} done </code> {{tag>sysadmin convert encoding shell cli}}
- Shell Script Variables
- ====== Shell Script Variables ====== ===== Last Character ===== Get the last character of ''$a'': <c
- exiftool
- *.jpg ===== Correct the Date of Photos ===== To shift the photos 43 days, 14 hours and 55 minutes to
- Command Line Tools Used in My Scripts
- an dline tools which I use in my scripts an which should be installed on every of my systems. Basic to