Quantcast
Channel: Lâmôlabs » script
Browsing latest articles
Browse All 10 View Live

[one-liner]: Script to Cleanly Start Dropbox During a boot sequence on Linux...

Background I’m an avid user of Dropbox. I run it on all my Linux and Windows systems, and it simply just works. However, one annoying thing that I’ve just dealt with for a while now on Linux, is when I...

View Article



[one-liner]: Using the Linux Command, dirsplit, to Dynamically Backup a...

Background At my day job I deal with a fair amount of image data. We typically are shipping the data out on either hard drives, thumb drives, or via SFTP. On occasion we will some times burn it to a CD...

View Article

[one-liner]: Changing a ISO File’s Volume ID via the Command Line on Linux

Background Have you ever needed to change the Volume ID on a pre-existing ISO file? I thought for sure there had to be a command-line tool that would allow for this. But after googling for over an hour...

View Article

[one-liner]: Download an RTMP Stream & Convert it to an MP3 File via the...

Background I recently wanted to download a podcast that was being served via a RTMP stream. RTMP (Real Time Messaging Protocol) was initially a proprietary protocol developed by Macromedia for...

View Article

[one-liner]: Using scp to Copy Files that Contain Spaces

Background Have you ever needed to copy either a single file or a directory that contains spaces using scp? Here are a couple of techniques for how to do this. Solution Here are several ways to...

View Article


Image may be NSFW.
Clik here to view.

[one-liner]: How can I Trigger a Notification When a Command Line Job/Process...

Background Occasionally I need to notify myself when a long running command has finished. Here are a couple of tricks that I use to give me either a audible or visual notification. Solution The trick...

View Article

[one-liner]: Overview of Bash I/O Redirection

Background I recently came across this question on the Stackexchange site Unix & Linux. This question was interesting in the sense that it covered much of the I/O redirection facilities that are...

View Article

[one-liner]: How do you capture the status of a command ($?) in Bash, when...

Background While answering questions on the stackexchage website Unix & Linux I saw the following question which was about something I’d encountered, but until today never knew how to accomplish,...

View Article


[one-liner]: Debugging Bash Scripts

Background From time to time it’s useful if you can turn up the debugging messages that come from Bash, when working out either interactive or shell script problems. Here are 2 methods that can help in...

View Article


How to rsync certain files, exclude the rest, all while ignoring .svn...

I came across this question on the Stack Exchange site Unix & Linux. The question interested me so I answered it but thought I’d cross post it on my blog as well, given I took a pretty significant...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images