[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Hvad betyder '--' ?



On 22/09/2009, at 17.36, Koch Søren wrote:

det betyder "end of options", det som kommer efter "--" er parametre til
kommandoen.


Meget nyttigt hvis man f.eks kommer til at oprette en fil med navn --help

For at slette den:  rm -- --help

-Doc

Ja eller en fil som hedder "-rf *"

Så kan man slette den med rm -- "-rf *", uden -- har det katastrofale
følger, specielt hvis den ligger i roden ;)

Per

Den behøver nu ikke at ligge i roden for at der sker ting og sager.... ;-)
Det kræver kun at det er root der fyrer rm'en af... :-)

jeg plejer altid at skrive rm -i -- når jeg skal slette underlige filer
Så spørger den om hver fil, og jeg kan nå at afbryde hvis der er en forkert fil


JonB



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2009-10-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *