value of the variable as a character string. For example, if filename has the value fred.c, then ${#filena... perators can be used in a variety of ways. A good example would be to give a default value to a variable no... right. The operators, with their functions and an example, are shown in the following table:
Operator Function Example
${foo#t*is} Deletes the shortest possible matc
das beispielsweise mit
<code>openssl genrsa -out example.com.key 2048</code>
Dieser Befehl erzeugt die Sc... Bit Länge und speichert sie zusammen in der Datei example.com.key. Der Zusatz -des3 sichert den Schlüssel m... angeben. Der Befehl
<code>openssl req -new -key example.com.key -out example.com.csr</code>
liest den öffentlichen Schlüssel aus der Key-Datei und erstellt damit
you may want to rebuild the kernel at times. For example, there is no installation RPM for multiprocessor ... s within the new kernel are highly desirable; for example, the version 2.6 kernel has much more efficient d... /core/updates/<version>/SRPMS/ directory. In this example the sources of an updated Core 4 kernel is downlo... nel to make sure your system boots correctly. For example, routines for basic system functions used in read
te access control lists with time parameters. For example, you can allow only business hour access from the... web sites and/or domains for use in ACLs. In this example we create to lists in files named /usr/local/etc/... This can be illustrated by expanding our previous example slightly.
<code>
#
# Add this to the bottom of t... rs ACL entry. Here's a simple user authentication example; the order of the statements is important:
<code>
ss="nw">find -type f -print0 | xargs -r0 grep -F 'example'</td><td>Search all regular files for 'example' in this dir and below</td></tr>
<tr><td> </td><td c... ss="nw">find -maxdepth 1 -type f | xargs grep -F 'example'</td><td>Search all regular files for 'example' in this dir</td></tr>
<tr><td> </td><td class="nw">
model class is linked with a database table. For example, the oxArticle model is linked with the oxarticle... op v.5.0 and 4.7 on). Let’s take one of them, for example the oxArticle model, and try to fetch the product... description' );
$product->save();
</code>
In this example the new record will be inserted into the table. T... description' );
$product->save();
</code>
In this example, it will be checked if this ID exists and if so,
to all supported networks...
#option domain-name "example.org";
#option domain-name-servers ns1.example.org, ns2.example.org;
#default-lease-time 600;
#max-lease-time 7200;
# if you do not use dynamical DNS upd... ble = no
per_source = 11
cps = 100 2
}
In this example, xinetd will only allow the TFTP server to accept
access it through ssh. Let us use “home-pc” as an example for this guide. “your-username” is your username ... eed on the remote host to your local system!
For example, say I want to mount the “/stuff” directory on my home-run server, which has the domain name “example.com”. I would do it by executing the following command:
<code>$sshfs example.com:/stuff /media/home-pc</code>
Where “/stuff”
links. These are quick links to other Wikis. For example this is a link to Wikipedia's page about Wikis: [... inks. These are quick links to other Wikis.
For example this is a link to Wikipedia's page about Wikis: [... t formats for maximum browser compatibility.
For example consider this embedded mp4 video:
{{video.mp4|... the video and be either a jpg or png file. In the example above a ''video.jpg'' file would work.
===== Lis
nts into and also the type of file it is. In this example it is a PDF file.
* filename.html is the name ... be converted and the type of file it is. In this example it is a HTML file.
Try the following exercise: Y...
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.html into a PDF file na
rectory. Because no options are specified in this example, several default NFS preferences take effect:
**... must specify an option that takes its place. For example, if you do not specify rw, then that export will ... tend to be more exact than you would expect. For example, the use of *.domain.com as wildcard will allow s... their IP addresses within a larger network.
For example, 192.168.0.0/28 will allow the first 16 IP addres
needs to be escaped within a [ ] construct.
See Example 27-11 for an application of this comparison opera... e unquoted string alone within test brackets (see Example 7-6) normally works, however, this is an unsafe practice. Always quote a tested string.
=== Example 7-5. Arithmetic and string comparisons ===
<code... th "-ne" and "!=" work.
echo
exit 0</code>
=== Example 7-6. Testing whether a string is null ===
<code>
le and the size of directory in Linux system. The example below show the step to use the du command to get ... the total size of file in current directory. The example below show the du command use with -s (summarize)... the size of specific file extension. ====
The example below show du command execute with -c option to g...
==== Check the size of home directory. ====
The example below show the use of du command to get the disk
<code>sudo mount -t ecryptfs sdtm ldm</code>
An example of putting all of this together would be:
<code>...
kirkland@ubuntu$ cat .profile
</code>
Here is an example of putting this into action. I attached the threa... pt home.
<code>ecryptfs-mount-private</code>
An example of this.
<code>
mint@mint ~ $ ls /media/4fa4e92e-... e field, something like Lock Private Folder for example. In the Command field, type /usr/bin/ecryptfs-um