From 30758b679e44fd7bbd1b7e14771f07a0a284ada1 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sun, 29 Mar 2015 22:05:46 +0200 Subject: [PATCH] Fixed backticks. --- .../software/linux/_posts/2008-07-15-initscripts.md | 4 ++-- .../linux/_posts/2008-08-07-partition-numbering.md | 6 +++--- .../linux/_posts/2008-08-13-mc-startup-delay.md | 6 +++--- know-how/software/linux/_posts/2008-08-13-wol.md | 10 +++++----- .../linux/_posts/2008-08-15-update-fontcache.md | 2 +- .../linux/_posts/2008-08-21-syslogd-for-lan.md | 4 ++-- know-how/software/linux/_posts/2008-08-21-wins.md | 4 ++-- .../software/linux/_posts/2008-08-23-optimizing.md | 10 +++++----- 8 files changed, 23 insertions(+), 23 deletions(-) diff --git a/know-how/software/linux/_posts/2008-07-15-initscripts.md b/know-how/software/linux/_posts/2008-07-15-initscripts.md index 25f8708..def4a16 100644 --- a/know-how/software/linux/_posts/2008-07-15-initscripts.md +++ b/know-how/software/linux/_posts/2008-07-15-initscripts.md @@ -18,7 +18,7 @@ event.d script This is an event.d-script for the new Ubuntu [Upstart](http://upstart.ubuntu.com/). The event gets started/respawned on runlevels 2-5. If you change to level 0, 1 or 6, the process gets stopped/killed. -Manual start/stop works through the same commands ˋstartˋ and ˋstopˋ. With ˋstatusˋ you can check the status. +Manual start/stop works through the same commands `start` and `stop`. With `status` you can check the status. ~~~ # manages Solr search engine @@ -41,7 +41,7 @@ init.d script This does the same using the traditional init.d-way. -After creation of the script in ˋ/etc/init.dˋ you also have to make the symlinks in the ˋrc.2ˋ..ˋrc.5ˋ-directories. +After creation of the script in `/etc/init.d` you also have to make the symlinks in the `rc.2`..`rc.5`-directories. {% highlight bash %} #!/bin/sh diff --git a/know-how/software/linux/_posts/2008-08-07-partition-numbering.md b/know-how/software/linux/_posts/2008-08-07-partition-numbering.md index 48ced0f..9a6edc2 100644 --- a/know-how/software/linux/_posts/2008-08-07-partition-numbering.md +++ b/know-how/software/linux/_posts/2008-08-07-partition-numbering.md @@ -12,11 +12,11 @@ tags: - partitioning --- After removal of the first primary partition, you might notice, that the names of the remaining partitions didn't -change. ˋ/dev/sda2ˋ stays ˋ/dev/sda2ˋ. To renumber the partition, use ˋfdiskˋ and create a new primary partition no. 1 -which is located behind ˋsda2ˋ. You might want to delete your swap partition, create a new one in partition slot no. 1. +change. `/dev/sda2` stays `/dev/sda2`. To renumber the partition, use ˋfdiskˋ and create a new primary partition no. 1 +which is located behind `sda2`. You might want to delete your swap partition, create a new one in partition slot no. 1. Now enter the expert menu of fdisk and type f to fix the partition table. The partitions will be renumbered according to their position on disk. After that delete the temporary partition and re-create your swap. Don't forget to write the new partition table to disk. -Afterwards, update your ˋ/boot/grub/menu.lstˋ, maybe ˋ/etc/fstabˋ and do a ˋgrub-installˋ. +Afterwards, update your `/boot/grub/menu.lst`, maybe `/etc/fstab` and do a `grub-install`. diff --git a/know-how/software/linux/_posts/2008-08-13-mc-startup-delay.md b/know-how/software/linux/_posts/2008-08-13-mc-startup-delay.md index 5221cc2..983300d 100644 --- a/know-how/software/linux/_posts/2008-08-13-mc-startup-delay.md +++ b/know-how/software/linux/_posts/2008-08-13-mc-startup-delay.md @@ -10,8 +10,8 @@ tags: - linux - mc --- -If Midnight Commander needs several seconds to startup, check the ˋinterfacesˋ line in your ˋsmb.confˋ. According to [this page](http://osdir.com/ml/gnome.apps.mc.general/2006-09/msg00057.html), -the built-in Samba code of *mc* is outdated and doesn't recognize device names like ˋeth0ˋ or ˋloˋ as the newer +If Midnight Commander needs several seconds to startup, check the `interfaces` line in your `smb.conf`. According to [this page](http://osdir.com/ml/gnome.apps.mc.general/2006-09/msg00057.html), +the built-in Samba code of *mc* is outdated and doesn't recognize device names like `eth0` or `lo` as the newer *smbclient* does. So it tries to resolve those into IPs which takes ages until they time out. -Replace the devices by their respective netmasks (e.g. ˋ192.168.1.0/24ˋ) and *mc* will startup instantly. +Replace the devices by their respective netmasks (e.g. `192.168.1.0/24`) and *mc* will startup instantly. diff --git a/know-how/software/linux/_posts/2008-08-13-wol.md b/know-how/software/linux/_posts/2008-08-13-wol.md index 14ba561..c63d06a 100644 --- a/know-how/software/linux/_posts/2008-08-13-wol.md +++ b/know-how/software/linux/_posts/2008-08-13-wol.md @@ -13,11 +13,11 @@ tags: Preparing to go asleep ====================== -To make Linux not shut down the network interface upon *halt*, edit the file ˋ/etc/init.d/haltˋ, find the line with the -ˋhaltˋ command and remove the parameter ˋ-iˋ if there. This parameter does ˋifdownˋ on all networking interfaces. As the +To make Linux not shut down the network interface upon *halt*, edit the file `/etc/init.d/halt`, find the line with the +`halt` command and remove the parameter `-i` if there. This parameter does `ifdown` on all networking interfaces. As the manpage for *halt* states, this is unneccessary for newer kernels - also it disables WOL. -The second step is to make sure, your card supports WOL. To find out, issue the ˋsudo ethtool eth0ˋ command. You should +The second step is to make sure, your card supports WOL. To find out, issue the `sudo ethtool eth0` command. You should get something like this: ~~~ @@ -41,7 +41,7 @@ Settings for eth0: Link detected: no ~~~ -The important lines are the ˋSupports Wake-onˋ and ˋWake-onˋ ones. The "ˋgˋ" means it is enabled for MagicPacket™. +The important lines are the `Supports Wake-on` and `Wake-on` ones. The "`g`" means it is enabled for MagicPacket™. If not, you should manually call the command: ethtool -s eth0 wol g @@ -62,4 +62,4 @@ For a PC in a Class C network, use a call like this: This would send the packet to the 192.168.1.x subnet and the PC with the specified MAC address should wake up. **Note:** Some nVidia chipsets require the MAC address to be specified in reverse order. In the example this would -be ˋfe:ca:ef:be:ad:deˋ. +be `fe:ca:ef:be:ad:de`. diff --git a/know-how/software/linux/_posts/2008-08-15-update-fontcache.md b/know-how/software/linux/_posts/2008-08-15-update-fontcache.md index f777650..6c65afd 100644 --- a/know-how/software/linux/_posts/2008-08-15-update-fontcache.md +++ b/know-how/software/linux/_posts/2008-08-15-update-fontcache.md @@ -10,7 +10,7 @@ tags: - linux - fonts --- -After adding some fonts to the ˋ/usr/share/fontsˋ directories, you have to re-login to see the added fonts. To update +After adding some fonts to the `/usr/share/fonts` directories, you have to re-login to see the added fonts. To update the fontcache without a log-cycle, use the following command: sudo fc-cache -fv diff --git a/know-how/software/linux/_posts/2008-08-21-syslogd-for-lan.md b/know-how/software/linux/_posts/2008-08-21-syslogd-for-lan.md index 0c260c1..6c8b724 100644 --- a/know-how/software/linux/_posts/2008-08-21-syslogd-for-lan.md +++ b/know-how/software/linux/_posts/2008-08-21-syslogd-for-lan.md @@ -12,9 +12,9 @@ tags: - monitoring - networking --- -To let the *syslogd* also receive messages from your local network, edit the file ˋ/etc/default/syslogdˋ and modify the +To let the *syslogd* also receive messages from your local network, edit the file `/etc/default/syslogd` and modify the last line so that it looks like this: SYSLOGD="-r" -Restart the *sysklogd* and watch your ˋ/var/log/messagesˋ. +Restart the *sysklogd* and watch your `/var/log/messages`. diff --git a/know-how/software/linux/_posts/2008-08-21-wins.md b/know-how/software/linux/_posts/2008-08-21-wins.md index 9da59b1..0db509c 100644 --- a/know-how/software/linux/_posts/2008-08-21-wins.md +++ b/know-how/software/linux/_posts/2008-08-21-wins.md @@ -12,11 +12,11 @@ tags: - netbios - wins --- -To enable lookup of WINS-names in Ubuntu, edit the file ˋ/etc/nsswitch.confˋ and find the line: +To enable lookup of WINS-names in Ubuntu, edit the file `/etc/nsswitch.conf` and find the line: hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 -Append ˋwinsˋ to the end of the line so that it looks like this: +Append `wins` to the end of the line so that it looks like this: hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 wins diff --git a/know-how/software/linux/_posts/2008-08-23-optimizing.md b/know-how/software/linux/_posts/2008-08-23-optimizing.md index 037f41c..39b2772 100644 --- a/know-how/software/linux/_posts/2008-08-23-optimizing.md +++ b/know-how/software/linux/_posts/2008-08-23-optimizing.md @@ -12,16 +12,16 @@ tags: At [Ubuntu Unleashed](http://www.ubuntu-unleashed.com/2008/04/tweak-and-optimize-ubuntu-linux-boot.html) you can find a document about different settings to optimize startup times of the system and applications itself. -The ˋnoatimeˋ and ˋnodiratimeˋ settings are unneccessary in Hardy as the default option ˋrelatimeˋ only updates the +The `noatime` and `nodiratime` settings are unneccessary in Hardy as the default option `relatime` only updates the *access time* if the file has been modified after the last access timestamp. You can enable the full power of the [upstart](https://launchpad.net/upstart) manager by enabling multi-threading. -In ˋ/etc/init.d/rcˋ at line 24, set ˋCONCURRENCY=shellˋ. But beware of slight problems upon booting. Some services might +In `/etc/init.d/rc` at line 24, set `CONCURRENCY=shell`. But beware of slight problems upon booting. Some services might be started before depending services are. Also some lines upon startup are printed twice. If you have problems -getting your machine up and running, change it back to ˋnoneˋ. +getting your machine up and running, change it back to `none`. -Another nice feature is adding the ˋprofileˋ option to the kernel line upon boot. The bootup will take longer than +Another nice feature is adding the `profile` option to the kernel line upon boot. The bootup will take longer than usual but the readahead-daemon will catalog all needed files and on the next boot (without that parameter), all needed files will be preloaded before boot. -On Desktops with much RAM, the ˋ[preload](http://sf.net/projects/preload)ˋ daemon also speeds up working. +On Desktops with much RAM, the `[preload](http://sf.net/projects/preload)` daemon also speeds up working.