Beruflich Dokumente
Kultur Dokumente
Static libraries (.a) – library of object code which is linked with and becomes part of the application
Name used by linker (‘lib’ followed by the library name followed by .so)
Ex. libpthread.so
Fully qualified name or ‘soname’ (‘lib’ followed by the library name, followed by .so, followed by ‘.’ And
a version number)
Ex. libpthread.so.1
Real name (‘lib’ followed by the library name, followed by .so, followed by ‘.’ And a version number or
minor number, followed by ‘.’ Then release number )
Ex. libpthread.so.1.1
changes for a shared library when the changes done in the code make the sahred library incompatible
with the previous version
Minor number – simple modifications that does not affect the system. Does not need to change the
requirements to run
/usr/local/lib – if it exists, it contains all the libraries that are not part of standard distribution
Widget sets
.ko – module
/lib/module
.d – configuration file
/etc
/lib
ld – the GNU linker – if you want to link library files (link editor)
combines a number of object and archive files. Usually last step in compiling, run ld
ldconfig – configure dynamic linker run time binding (update cache /etc/ld.so.cache) – if you want to
configure while the file is running
creates the necessary links and cache to the most recent shared libraries found in the directories
specified on the command line. In the file /etc/ld.so.conf
/etc/ld.so.cache – a file created by ldconfig and used to speed linking. Its structure is private to the suite
/etc/ld.so.conf – simple list of directories to scan for libraries, in addition to ‘/usr/lib’ and ‘/lib’, which
are hardwired. It may contain comments started with a ‘#’
cat /etc/ld.so.conf.d/*.conf
Environment variables
PROC Directory
- Contains a hierarchy of special files which represent the current state of the Kernel – allowing
applications and users to peer into the kernel’s view of the system
/proc/ioports – registered port regions for input output communication with device
/proc/misc
/proc/mount
/proc/swap
/proc/uptime
/proc/version
CRON FACILITY
crontab – is a list of commands that you want to run on a regular schedule, and also the name of the
command used to manage that list
stands for cron table because it uses the job scheduler cron to execute tasks
/etc/cron.allow and /etc/cron.deny – file use in order for a user use crontab
crontab -l
crontab -e
export EDITOR=vi
/ - interval
5/5, 5 10 15 20 25
‘-‘ range
9 5 1 1 1 mycommand
2. Run mycommand at 05 and 35 past the hours of 2:00am and 8:00am on the 1st through the 28th
of Jan and July
3. Trim down system log file every after 15 minutes starting at 4:16pm on a Sunday afternoon of
September 23
16/15 16 23 9 0 >/var/log/syslog
4. Perform a full backup of /dev/sda1 every sept 23 and every Friday of the same month