Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Comment A simple trick... (Score 1) 2362

... but one that saves time and prevents mistakes.

mkdir -p /usr/local/src/{archive,test,whatever}

will create all directories necessary that don't exist and then expand the stuff in brackets and create them also.

Habitually backing up files before editing them will save you a lot of heartache in the long run too. It's easier if you make an alias to replace your common editor command to automatically back up the file.

Slashdot Top Deals

We declare the names of all variables and functions. Yet the Tao has no type specifier.

Working...