[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] teste om fil er symlink



Kristian Nørgaard wrote:
Findes der en nem og sikker måde at afgøre på om en fil er et symlink, egnet for scripting?

Jeg kan hacke mig frem til:

$ stat --format=%F maybesymlink.c | grep -c symbolic

men er dette sikkert?
Andre bud?

/ Kristian


file * | grep symbolic
MVH

Jóm

--
====================================================================
Jon Svejgaard                  | ACE - UNIX/Linux Consultancy
                              | Svallerup Bygade 31D/DK-4400 Kalundborg
mail: sslug@sslug               | DENMARK
http://www.ace.dk              | +45 5824 3388 / +45 4156 0799
====================================================================




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-05-01, 02:02 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] *