LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-22-2008, 12:45 AM   #1
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Rep: Reputation: 32
how to revert noclobber


Hello ,

I am unable to solve a trivial questions.

set -o command show us many values. We can change these values here e.g

# set -o noclobber

will change the value of noclobber to on .

How can be reverted value of this like I want to set the noclobber again off?
 
Old 02-22-2008, 01:07 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
set +o noclobber
'foo >| file' if you want to clobber something even with noclobber set, though.

(Assuming bash, at least)
 
Old 02-22-2008, 01:32 AM   #3
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Original Poster
Rep: Reputation: 32
Dear digiot

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
revert to older distro benny_j Linux - Newbie 4 11-19-2007 02:12 AM
Revert back permissions sharathkv25 Linux - General 4 05-21-2007 08:00 PM
Revert from dist-upgrade? Tinkster Ubuntu 2 06-06-2006 03:36 AM
Revert to Previous Kernel Sibre Linux - Software 3 01-17-2006 11:22 AM
tcl 8.4 - revert to 8.3? zipur Linux - Software 0 12-16-2004 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration