Little Girl's Mostly Linux Blog

BackUpSources.list

Back up sources.list

This page was last updated on August 18, 2013.


If you open a terminal window and type this command, it will make a copy of the sources.list file, adding the current date and time to the backed up file’s name, and place the copy into the same directory as the original:

sudo cp -p /etc/apt/sources.list /etc/apt/sources.list.`date +%b-%d-%Y~%T`


Obligatory Happy Ending

And they all lived happily ever after. The end.

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Comment:

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: