Recursively Touch All Files
I like to use touch to set the same timestamp on files and folders. It makes it easier to quickly identify a file that has changed. But how do you do this recursively? Easily: You can then list all of the files, ordered by timestamp.
Read MorePosted by Scott Stanger
- Posted in linux, useful stuff
Aug, 01, 2013
No Comments.
Why ack is better than grep

There are too many reasons to list. But I will list one which is very, very useful. The other day I was searching for a specific ID that was defined within a css file. The problem is that there are about 3 dozen css files scattered within this huge project. The problem: Recursively search *.css […]
Read MorePosted by Scott Stanger
- Posted in linux
Aug, 17, 2012
3 Comments.
find, xargs, and filenames with spaces

Although I don’t typically name a file with the space, such as “my cool file” it is nonetheless possible to do so in linux. However, this causes problems when using tools such as the find command and the xargs command. The other day I rsync’d one of my folders to back up the documents to […]
Read MorePosted by Scott Stanger
- Posted in linux
Jul, 01, 2011
No Comments.
How to install NVIDIA drivers in Ubuntu

I run a dual monitor desktop with Ubuntu 10.04. Every so often after system update (via Update Manager) I am forced to restart. This doesn’t happen very often — but when it does every now and then I run into an issue with my graphics. So what happens? Well, there is a library conflict which […]
Read MorePosted by Scott Stanger
- Posted in linux, ubuntu
Jan, 27, 2011
1 Comment.
Password-less SSH Login

I manage several linux server to which I must login on a daily basis using SSH. Each server has different credentials. Not only do I use SSH, but I often use SCP (secure copy) to copy files from one server to another. Both commands require a password. There is a way, however, to create a […]
Read MorePosted by Scott Stanger
- Posted in linux
Aug, 17, 2010
No Comments.
How to mount a USB flash drive

The other day I wanted to transfer some files to a USB flash drive on my Ubuntu 9.10 deskktop and noticed the USB drive did not automount. Manually mounting a USB drive is achieved with a few simple steps in a terminal window: First we need to know what the name of the file system […]
Read MorePosted by Scott Stanger
- Posted in linux, ubuntu
Apr, 05, 2010
No Comments.
Search High Corral
Categories
- linux (6)
- ubuntu (2)
- ubuntu 12.04 LTS (1)
- useful stuff (2)