From 23766907958505259eee7dd1c8812f658e5b2ba2 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 13 Sep 2021 00:48:07 +0200 Subject: Tags overhaul to improve search results, and some light rewording or reformating --- content/blog/commands/date.md | 2 +- content/blog/commands/find-hardlinks.md | 3 +++ content/blog/commands/find-inodes-used.md | 3 +++ content/blog/commands/qemu-bis.md | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) (limited to 'content/blog/commands') diff --git a/content/blog/commands/date.md b/content/blog/commands/date.md index 91ea399..1472940 100644 --- a/content/blog/commands/date.md +++ b/content/blog/commands/date.md @@ -1,5 +1,5 @@ --- -title: "Convert unix timestamp to readable date" +title: "Convert a unix timestamp to a readable date" date: 2011-01-06 description: the -d flag of the date command combined with @timestamp tags: diff --git a/content/blog/commands/find-hardlinks.md b/content/blog/commands/find-hardlinks.md index 03a873b..d418cc3 100644 --- a/content/blog/commands/find-hardlinks.md +++ b/content/blog/commands/find-hardlinks.md @@ -3,10 +3,13 @@ title: "Find hardlinks to a same file" date: 2018-03-02 description: How to list hardlinks that link to the same file tags: + - linux - toolbox - unix --- +## The command + {{< highlight sh >}} find . -samefile /path/to/file {{< /highlight >}} diff --git a/content/blog/commands/find-inodes-used.md b/content/blog/commands/find-inodes-used.md index 60be706..4936c70 100644 --- a/content/blog/commands/find-inodes-used.md +++ b/content/blog/commands/find-inodes-used.md @@ -3,10 +3,13 @@ title: "Find where inodes are used" date: 2018-04-25 description: How to locate what is taking all the inodes in the subdirectory of a given device tags: + - linux - toolbox - unix --- +## The command + {{< highlight sh >}} find . -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n {{< /highlight >}} diff --git a/content/blog/commands/qemu-bis.md b/content/blog/commands/qemu-bis.md index d0af3c4..3526316 100644 --- a/content/blog/commands/qemu-bis.md +++ b/content/blog/commands/qemu-bis.md @@ -3,7 +3,7 @@ title: "Simple qemu vm" date: 2021-06-16 description: How to start a simple qemu vm, no gui! tags: - - Linux + - linux - virtualization --- -- cgit v1.2.3