file in $directory/* # Filename globbing.
do
filename=${file%.*c} # Strip ".mac" suffix off filename
#+ ('.*c' matches... s, but it can also be used to create fixed length files. Here a 1-megabyte file is created with the filename myfile.
dd if=/dev/zero of=myfile count=512 bs=2048
T... directories is a fairly common task when copying files around. This function will test the filename passed to the function to see if it is a dire... does what nl does best – numbering the lines in a file. The original file is not overwritten.
number_file()
# number_f
e2 | uniq</td><td><acronym title="Items in either file1 or file2">Union</acronym> of unsorted files</td></tr>
<tr><td> </td><td class="nw">so... 2 | uniq -d</td><td><acronym title="Items both in file1 and file2">Intersection</acronym> of unsorted files</td></tr>
<tr><td> </td><td class="nw">sort file1 file1 file2 | uniq -u</td><td><acronym title="Items in file2 not in file1">Difference</acronym> of unsorted f...
<tr><td> </td><td class="nw">join -a1 -a2 file1 file2</td><td>Union of sorted files</td></tr>
<tr><td> </td><td class="nw">jo
y the following exercise: You want to convert the file myhtml.html into a PDF file. The new file will be called mypdf.pdf. How would you do this? ... ENTER</code>
All we are doing is adding another file. In this example we are converting two files: file1.html and file2.html.
Try this example: Convert one.html and two... * -f output.html is where you want the converted files to go to. In this case, we requested the file be a HTML file. We could have made it a PDF (-f output.pdf) or Postscript (-f ouput.ps ), too.
* file1.html and file2.html are the files you want to convert.
HTMLDOC will build a table
and numeric comparison operators as well. If the file argument to one of the primaries is of the form `/dev/fd/N', then file descriptor N is checked. If the file argument to ...
-a file
True if file exists.
-b file
True if file exists and is a block special file.
-c file
True if file exists and is a character special file.
-d file
True if file exists and is a directory.
-e file
True if file exists.
-f file
True if file exists and is a regular file.
-g file
True if file exists and its set-group
Multi Processor), and the relevant configuration file is then copied to become the new /usr/src/linux/.config file to be used during the kernel compilation.
<code>... cated partition and uses the /boot/grub/grub.conf file to determine the valid kernels and their locations. The grub.conf file not only defines the available kernels, but also ... Note:** In Fedora Linux, the /boot/grub/grub.conf file can also be referenced via the symbolic link file named /etc/grub.conf.
=== Modules And The grub.c... am located on the RAM disk, which mounts the root filesystem and loads the remaining modules defined in the /etc/modprobe.conf file before continuing with the rest of the startup pr
eo has started. That image needs to have the same filename as the video and be either a jpg or png file. In the example above a ''video.jpg'' file would work.
===== Lists =====
Dokuwiki supports... n't want any highlighting but want a downloadable file, specify a dash (''-'') as the language code: ''%%<code - myfile.foo>%%''.
===== RSS/ATOM Feed Aggregation =====
/etc/fstabfile as the root user.
The /etc/fstab file is the central file for all mounted or mountable filesystems on your Linux machine.
It specifies quo... , or if you want to allow your users to mount the filesystem, you will want to edit this file.
The /etc/fstab entry to mount the above exporte... n:
<code>
exportfs -ra
</code>
The /etc/exports file is the standard for controlling which filesystems are exported to which hosts, as well as sp... mmon</code>
etc/fstab:
<code>192.168.123.95:/var/files /home/gerald/Server/files nfs exec,nosuid,rw,rsize=8192,wsize=8192
ers at the same time.
To use Baobab to search for files, go to Actions -> Search for a file. Once you specify the name of the file you want to look up (Baobab supports * and ? wild... look into, Baobab displays the results under the File Search tab. To delete a file or directory, select it, bring up the context men... and df, when combined with dd to copy and convert files, can be handy for administers to write disk usag
iour for ftpd(8).
#auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth required pam_pwdfile.so pwdfile /var/www/webdav-ftp-password
account required ... n. Dabei drauf achten, dass es das Modul ''pam_pwdfile.so'' auch wirklich gibt (siehe weiter unten).
==... an gibt es keine Datei ''/lib(64)/security/pam_pwdfile.so''.
Das Paket wird nicht standardmässig instal
change harddrive-name with the name of your .vmdk file and raw-file with the name of the new converted file you want to create. After a few minutes, the conv... l without any other option.
Let's optimize the file size of the newly converted .vdi file, let’s call it new-file.vdi and from the terminal in the dir where you’ve... lib/virtualbox /usr/lib/virtualbox/vditool DD new-file.vdi old-file.bin
LD_LIBRARY_PATH=/usr/lib/virtualbox /usr/lib/virtualbox/vditool SHRINK new-file.vdi
</code>
(These commands should actually work
skip directories on different filesystems
* -X FILE, --exclude-from=FILE Exclude files that match any pattern in FILE
* --exclude=PATTERN Exclude files that match PATTERN
* --max-depth=N print the total for a directory (or file, with --all) only if it is N or fewer levels belo
. Here is how it's done:
1) Create the password file. The name of the password file should be /etc/squid/squid_passwd, and you need t... uid logs both informational and error messages to files in the /var/log/squid/ directory. It is best to review these files first whenever you have difficulties.The squid.out file can be especially useful as it contains Squids' s... could be unintended statements in the squid.conf file that cause no errors; mistakes in the configurati
files! ;P
1. Of course you made backups of the files you changed, so restore the files
you've changed (all!).
2. Open /etc/sysconfig... as muss man wohl auf "yes" setzen!
4. Save the file.
5. Run SuSEconfig. It will make the changes for... er:
http://www.rus.uni-stuttgart.de/bi/1997/7+8/file13.html
Auth ausschalten:
vi /etc/X11/xdm/xdm... mit dem
MIT-MAGIC-COOKIE-1
(in welchem Logfile finde ich diese Fehlermeldungen? dann kann ich si