Coredump
Work, play, and everything in-between [feed]

Posts Tagged ‘cli’

Display user account info in a Windows AD

(Hell just froze over! I’m actually using Active Directory! In Windows! {Well, I did use Active Directory in a previous job, but that was because of LDAP…} {And I’m using waaay too many exclamation marks!} Anyway: it’s the command line — gosh, I miss the C:\ prompt. Not!) To display user info in an Active [...]

Generate random strings

(Another “piecemeal” post. Yes, I know: I should write more often.) I cycle through one-off passwords (of varying lengths). To generate these, I use the following shell script: #!/bin/bash   usage() { echo "Usage: `basename $0` [length]" }   [ $# -gt 1 ] && usage && exit 65   [ $# -eq 0 ] [...]

Find duplicate files

Update: As Pádraig Brady, fslint maintainer, pointed out: fslint/findup *is* a shell script. My 500-GB Seagate FreeAgent Desktop is almost filled to the brim (there’s *only* ~70GB free space left) so I need to find all duplicate files for clean-up. Fortunately, there are tools to do just this. I tried fslint, which is also available [...]

Get Twitter timeline from the CLI

We already know how to update Twitter from the command line. To get your and your friends’ timeline from the CLI, use the following one-liner: curl -u username –silent "https://twitter.com/statuses/friends_timeline.rss" | perl -ne ‘print "$2\n" if /< (description)>(.*)< \/\1>/;’ Using the same method, you can also get unread Gmail inbox messages (via commandlinefu.com).

SSH on the Nokia E63

I just got a Nokia E63, a long-awaited replacement for a support phone from work. It’s not as advanced as, say, a Nokia E71 or a Blackberry in terms of business-related features, but it would do quite well for my purposes. (My philosophy in mobile phones is that so long as I can connect — [...]

« Before