• skip to content

andunix.net

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: andunix.net » co
Trace: • Cleanup Packages • List Open Ports • andunix Infos • install • css • timezone • Home Server Goals • MySQL: Grant Permissions • VBoxManage (The VirtualBox CLI) • source

co
Please note, that this is an old archived version of this site. Check out the new version at andunix.net!

Search

You can find the results of your search below.

Contains
  • Exact match
  • Starts with
  • Ends with
  • Contains
@info:script
  • Any namespace
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Matching pagenames:

  • Compare directories
  • Change Encoding with iconv

Fulltext results:

Change Encoding with iconv
11 Hits, Last modified: 13 years ago
====== Change Encoding with iconv ====== ===== Convert Single File ===== iconv -f iso-8859-1 -t utf-8 -o OUTPUT.txt INPUT.txt Converts ''INPUT.txt'
DynDNS Updates without a Client
9 Hits, Last modified: 13 years ago
cript does the job as good as any other client. <code bash dyndns-update.sh> #! /bin/bash . ${HOME}... {LOGIN} "${UPDATE_URL}?hostname=${domain}" done </code> First, the login credentials (the ''$LOGIN'' ... server's URL (''$UPDATE_URL'') are read from the config file ''~/.dyndns.cfg''. Here an example config file: <file bash dyndns.cfg> LOGIN="jdoe:secret"
Compare directories
8 Hits, Last modified: 7 years ago
====== Compare directories ====== For each of the directories, generate a 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 option ''-d'' of ''sort'', to get compareable results on different machines. After th
Shell Script Variables
4 Hits, Last modified: 10 years ago
aracter ===== Get the last character of ''$a'': <code bash> ${a: -1} </code> ===== Remove Slash from the End of a Variable ===== Remove a trailing slash from ''$a'': <code bash> a=${a%/} </code> {{tag>scripting bash sysadmin variable}}
root login with bash
3 Hits, Last modified: 13 years ago
with bash ====== On our systems, the ''root'' account is set to be a role, so you can't login as roo... ing 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 /bin/bash"' I set it up as an ... ashrc'': alias demo_root='ssh demo.lab.example.com -t "su - root -c /bin/bash"' This enables me lo
Command Line Tools Used in My Scripts
3 Hits, Last modified: 13 years ago
====== Command Line Tools Used in My Scripts ====== This is a list of comman dline tools which I use in my scripts an whic... d. ===== Audio/Video ===== * cdda2wav * cdrecord * cdrdao * [[http://dvdauthor.sourceforge.n
exiftool
1 Hits, Last modified: 9 years ago
H%M%S%%-c.%%e "-filename<CreateDate" *.jpg ===== Correct the Date of Photos ===== To shift the photo

Page Tools

  • Show page
  • Old revisions
  • Backlinks
  • Back to top
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 4.0 International
CC Attribution 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki