Create a quick back-up copy of a file

cp file.txt{,.bak}
Uses shell expansion to create a back-up called file.txt.bak

44
By: root
2009-01-26 12:11:29
cp

6 Alternatives + Submit Alt

What Others Think

Works well in a bash 'for' loop to create a backup of multiple files: for file in *.txt; do cp $file{,.bak}; done;
chrisdrew · 677 weeks and 5 days ago
senior care corpus christi Can you tell me a bit more, please?
yeoyeo · 62 weeks and 1 day ago
Each student should take his studies seriously, but it does not always happen as he wants, therefore, in order not to be negligent about my studies, I use the services of this site https://freepaperwriter.com/ that does any kind of written work.
chineapplen · 51 weeks and 2 days ago
great site! glad i found this. any recent updates? house painters boise
looneyhans · 48 weeks and 3 days ago
I am always searching for this coading that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job custom assignment help
Devid · 37 weeks and 5 days ago
One present why galore businesses opt for postcards is because they are overmuch cheaper to be prefab and this can forbear a lot of expenses on the lengthened run. http://www.dateaprotestant.com/457/posts/7-Business-Global-/197--Professional-Services/109642-Supreme-Saunas.html">sauna
KayGasaway · 33 weeks and 6 days ago
I know your aptitude on this. I should say we ought to have an online discourse on this. Composing just remarks will close the talk straight away! What's more, will confine the advantages from this data. Credit Planned
jackson2321 · 33 weeks and 4 days ago
Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work. Window Replacement Companies
KayGasaway · 33 weeks and 3 days ago
This particular papers fabulous, and My spouse and i enjoy each of the perform that you have placed into this. I’m sure that you will be making a really useful place. I has been additionally pleased. Good perform! Barrel Sauna
KayGasaway · 32 weeks and 5 days ago
I got what you mean , thanks for posting .Woh I am happy to find this website through google. ???????
jackson2321 · 25 weeks and 3 days ago
If you set out to make me think today; mission accomplished! I really like your writing style and how you express your ideas. Thank you. http://equityflare.com/">Invested in Impact
026unoaqzh · 23 weeks and 5 days ago
If you set out to make me think today; mission accomplished! I really like your writing style and how you express your ideas. Thank you. [http://equityflare.com/ Invested in Impact]
026unoaqzh · 23 weeks and 5 days ago
If you set out to make me think today; mission accomplished! I really like your writing style and how you express your ideas. Thank you. "Invested in Impact":http://equityflare.com/
026unoaqzh · 23 weeks and 5 days ago
If you set out to make me think today; mission accomplished! I really like your writing style and how you express your ideas. Thank you. [Invested in Impact](http://equityflare.com/)
026unoaqzh · 23 weeks and 5 days ago
Thank you for such a well written article. It’s full of insightful information and entertaining descriptions. Your point of view is the best among many. http://equityflare.com/">Invested in Impact
026unoaqzh · 23 weeks and 5 days ago
At Logo Cravings, you can access all professional logo designer near me for your business branding, development, as well as digital marketing solutions under all one under one roof. We've helped growing and startup companies reach their objectives. We can assist in everything from logo design to search engine marketing. Do you need recognition? We've provided an array of business logo design, branding development, and digital marketing services to our customers across the world. You can be assured that our extensive list of services will satisfy your desire to succeed. There are many marketing and business logo design companies out there our services are distinctive. We offer a variety of packages to accommodate every size of business. We guarantee a high-quality experience that will satisfy all of your digital marketing requirements together.
lennontilly · 23 weeks and 2 days ago
I was very impressed by this post, this site has always been pleasant news Thank you very much for such an interesting post, and I meet them more often then I visited this site. ????????????
jackson2321 · 21 weeks and 6 days ago
When a blind man bears the standard pity those who follow…. Where ignorance is bliss ‘tis folly to be wise…. thc vape oil for sale
jackson2321 · 16 weeks ago
When a blind man bears the standard pity those who follow…. Where ignorance is bliss ‘tis folly to be wise…. thc vape oil for sale
jackson2321 · 14 weeks and 6 days ago
Since day one, our mission has been to bring exceptional ideas to the table, create inspiring designs, and deliver beyond expectations. https://www.webnlogodesign.com was established with the aim to help businesses achieve their digital milestones. We believe that a design possesses the power of transforming the buyer’s journey. Therefore, we are always working towards creating something extraordinary that makes the audience stop and exclaim “Wow!”
ellisvinyl · 12 weeks and 2 days ago
Extraordinary things you've generally imparted to us. Simply continue written work this sort of posts.The time which was squandered in going for educational cost now it can be utilized for studies.Thanks Soul Land Season 2
jackson2321 · 12 weeks ago
You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers. learning quran school
jackson2321 · 10 weeks and 6 days ago
Intriguing post. I Have Been pondering about this issue, so much obliged for posting. Really cool post.It "s truly extremely pleasant and Useful post.Thanks Mangabuddy
jackson2321 · 10 weeks and 4 days ago
I really like your blog. Great article. It's most evident, people should learn before they are able to ?????????????
jackson2321 · 9 weeks and 4 days ago
Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir   Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir Seofox.ir
seofox · 9 weeks and 2 days ago
When visiting blogs, i always look for a very nice content like yours ,   Bigg Boss 15
hooksben22 · 8 weeks and 6 days ago
When visiting blogs, i always look for a very nice content like yours ,   dramacool9
seoperson · 8 weeks and 4 days ago
When visiting blogs, i always look for a very nice content like yours ,   gogoanime
seoperson · 7 weeks and 1 day ago
When visiting blogs, i always look for a very nice content like yours ,  [url=https://dramacool9.vin/]dramacool[/url]
seoperson · 1 week and 5 days ago
When visiting blogs, i always look for a very nice content like yours ,   Yeh Rishta Kya Kehlata Hai
seoperson · 1 week and 3 days ago
When visiting blogs, i always look for a very nice content like yours ,   Naagin 6 Watch Online
seoperson · 1 day ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: