Files And File Systems - Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007 Installation Manual

Table of Contents

Advertisement

open("/lib/libc.so.6", O_RDONLY)
open("/lib/libpthread.so.0", O_RDONLY)
open("/lib/libattr.so.1", O_RDONLY)
[...]
To trace all the child processes, use the parameter -f. The behavior and output format
of strace can be largely controlled. For information, see man strace.

16.2 Files and File Systems

16.2.1 Determine the File Type: file
The command file determines the type of a file or a list of files by checking /etc/
magic.
tester@linux:~> file /usr/bin/file
/usr/bin/file: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), \
for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
The parameter -f list specifies a file with a list of filenames to examine. The -z
allows file to look inside compressed files:
tester@linux:~> file /usr/share/man/man1/file.1.gz
usr/share/man/man1/file.1.gz: gzip compressed data, from Unix, max compression
tester@linux:~> file -z /usr/share/man/man1/file.1.gz
/usr/share/man/man1/file.1.gz: ASCII troff or preprocessor input text \
(gzip compressed data, from Unix, max compression)
16.2.2 File Systems and Their Usage: mount,
The command mount shows which file system (device and type) is mounted at which
mount point:
tester@linux:~> mount
/dev/hda3 on / type reiserfs (rw,acl,user_xattr)
310
Installation and Administration
df, and du
= 3
= 3
= 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents