jpace.wordpress.com
Printing the middle N lines of a file in Linux | Jeff Pace's Blog
https://jpace.wordpress.com/2015/04/15/printing-the-middle-n-lines-of-a-file-in-linux
Jeff Pace's Blog. Cut, copy, pace. No dots in cron scripts? Printing the middle N lines of a file in Linux. Posted by Jeff Pace. While working on my “e” alias in my aforalias. Project, I want the show only the entries of zip files, that is, without the header and footer sections. The “e” alias also shows the entries sorted by name, unlike the behavior of “. 8220;, which displays:. Thus I wanted to print lines[3 . lines.length – 3]. Unzip -l $1 tail -n 4 head - lines=-2. Leave a Reply Cancel reply. It sho...
jpace.wordpress.com
Jeff Pace | Jeff Pace's Blog
https://jpace.wordpress.com/author/stantoffle
Jeff Pace's Blog. Cut, copy, pace. New Blog – Increasing Sanity. Posted by Jeff Pace. Is a new blog spawned from this one, with a specific focus on emotional awareness and self-improvement. Over time the posts from this blog will be moved to IncreasingSanity. I appreciate you taking a look. Posted by Jeff Pace. I’ve moved this post to IncreasingSanity. Please go there and take a look. Downgrading Subversion from 1.9.3 to 1.8.13, Ubuntu 16.04. Posted by Jeff Pace. Sudo apt-get remove libsvn1. First, if yo...
jpace.wordpress.com
Life Organization: Recording | Jeff Pace's Blog
https://jpace.wordpress.com/2015/04/05/life-organization-recording
Jeff Pace's Blog. Cut, copy, pace. Life Organization: The Eight Categories. A for Alias →. Posted by Jeff Pace. I’ve moved this content to The Basics of Journaling. At my new blog IncreasingSanity. Please take a look. Leave a Reply Cancel reply. Enter your comment here. Fill in your details below or click an icon to log in:. Address never made public). You are commenting using your WordPress.com account. ( Log Out. You are commenting using your Twitter account. ( Log Out. A for Alias →.
jpace.wordpress.com
Earlier anacron jobs | Jeff Pace's Blog
https://jpace.wordpress.com/2015/07/11/earlier-anacron-jobs
Jeff Pace's Blog. Cut, copy, pace. New Z shell blog. Cabin Notebook and Fakir →. Posted by Jeff Pace. For whatever reason, anacron is set to run its daily jobs at 7:30 in the morning:. Etc/cron.d/anacron: crontab entries for the anacron package SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 30 7 * * * root start -q anacron :. The first time I encountered that was when I was working at that time of day and noticed the sluggishness of my machine. It seemed that. It should b...
jpace.wordpress.com
Jeff Pace's Blog | Cut, copy, pace. | Page 2
https://jpace.wordpress.com/page/2
Jeff Pace's Blog. Cut, copy, pace. Newer posts →. Posted by Jeff Pace. In Zsh (and other shells), aliases may be the most important feature for increased productivity. A simple rule is this: the more often you run a command, the shorter it should be. I’ve written about this before, in Efficient Way to Improve Console Productivity. I have a number of one-character aliases:. G=' glark' H=' head' L=' less' M=' more' S=' sort' T=' tail' a=alias c=clear h='history -5000' l='ls -CF' t=cat. Alias G -g ' .='.
jpace.wordpress.com
Life Organization: The Eight Categories | Jeff Pace's Blog
https://jpace.wordpress.com/2015/03/29/life-organization-the-eight-categories
Jeff Pace's Blog. Cut, copy, pace. Life Organization: Recording →. Life Organization: The Eight Categories. Posted by Jeff Pace. This is a a system for organizing and assessing one’s life, that of eight categories. Since some people have asked me about them, I thought I would enumerate them here. Sleep, diet, body data (weight, fat percentage, resting heart rate), medical and dental procedures, and of course, exercise. Activities and time not for social or professional reasons, done purely for oneself.
jpace.wordpress.com
A for Alias | Jeff Pace's Blog
https://jpace.wordpress.com/2015/04/12/a-for-alias
Jeff Pace's Blog. Cut, copy, pace. Printing the middle N lines of a file in Linux →. Posted by Jeff Pace. In Zsh (and other shells), aliases may be the most important feature for increased productivity. A simple rule is this: the more often you run a command, the shorter it should be. I’ve written about this before, in Efficient Way to Improve Console Productivity. I have a number of one-character aliases:. Alias G -g ' .='. Find src -type d S. That finds all directories and pipes them to. 8221; runs a r...
jpace.wordpress.com
Efficient Way to Improve Console Productivity | Jeff Pace's Blog
https://jpace.wordpress.com/2012/01/21/efficient-way-to-improve-console-productivity
Jeff Pace's Blog. Cut, copy, pace. Negative Decrease from LinkedIn Not Misunderstood Incorrectly →. Efficient Way to Improve Console Productivity. Posted by Jeff Pace. Reading Matthew Might’s article on console hacks. Inspired me to use that to quickly and easily find candidates for aliases and functions in Z shell. The following command sorts the history by frequency of use:. History -1000000 cut -c8- sort uniq -c sort -n tail -15. The output from my recent work with DoctorJ is:. Since it doesn’t ...
jpace.wordpress.com
No dots in cron scripts? | Jeff Pace's Blog
https://jpace.wordpress.com/2015/04/20/no-dots-in-cron-scripts
Jeff Pace's Blog. Cut, copy, pace. Printing the middle N lines of a file in Linux. New Z shell blog →. No dots in cron scripts? Posted by Jeff Pace. I added a little script to /etc/cron.daily, sayhello.sh, while I sorted out how to integrate my backup script ( tresync. Into the list of cron jobs run daily. The odd thing is, the script never ran. I could run it as “. Sudo /etc/cron.daily/sayhello.sh. 8220;, but it didn’t run with the rest of the cron jobs. Lo and behold, I found the answer. Fakir 0.0&...