/var/logs/paulooi.log
Menu
  • About Me
  • Contact
  • Privacy Policy
Systems Admin, Web Development and etc
Browse: Home » Apple » Page 3

split – but no destination parameter to specify

April 22, 2008 · by Paul Ooi · in Open Source, Systems

first : cd /destination/directory second : split /source/directory/big-huge-file prefix-to-apply-onto-splited-files Voila !!! (use the parameter -b to specify the size of splited files in BYTES, NOT kb, mb or gb)

convert epoch using date command

April 13, 2008 · by Paul Ooi · in Open Source, Systems

date -d ‘<Unix epoch> <epoch date> sec’ e.g. date -d ‘1970-01-01 988822888 sec’ would dated “Wed May 2 17:31:28 MYT 2001” 20080430 : get a particular date in epoch, e.g. date -d ‘Apr 30 2008 00:00:00’ ‘+%s’

How to dig SRV record after creating it in DNS

April 6, 2008 · by Paul Ooi · in Open Source, Systems

dig <record type> <host.name> e.g dig SRV _someservice._port.hostname.domainame.com.my OR dig SRV _https._ICMP.host.takizo.com

ls & rm with regular expression

April 4, 2008 · by Paul Ooi · in Open Source, Systems

e.g. rm -rf backup-20070[8-9]-* would delete : backup-200708-morning backup-200708-evening backup-200709-night backup-200709-latenight but not : backup-200706-morning backup-200707-afternoon backup-200711-midnight e.g. ls backup-20070[1-9] would list all backup starting from January to September but leave October, November & December out, of year 2007.

ssh client hang after a few minutes of inactivity

April 2, 2008 · by Paul Ooi · in Open Source, Systems

specify the parameter “ServerAliveInterval 60” in /etc/ssh_config or /etc/ssh/ssh_config. for more info, man ssh_config

← Previous 1 2 3 4 … 6 Next →

Recent Posts

  • Proxmox Cluster Quorum Error
  • Thunderbird Unified Folder Some Account Inbox Missing
  • This Site is 18 Years Old
  • How to Rsync from Remote Server to Synology
  • Are you a Programmer and Preparing for an Interview?

Recent Comments

  • Paul Ooi on How to do Word Count on TextMate
  • Harshal on How to do Word Count on TextMate
  • Paul Ooi on How to Rsync from Remote Server to Synology
  • Jil Yana on How to Check Paypal Pre-Approved Payment List
  • Benedict Arnold on Enable SMTP Port 587 on Exim

Copyright © 2025 /var/logs/paulooi.log

Powered by WordPress and Origin