diff options
author | Julien Dessaux | 2021-09-13 00:48:07 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-09-13 00:48:07 +0200 |
commit | 23766907958505259eee7dd1c8812f658e5b2ba2 (patch) | |
tree | 86218bf04bfa43a6a703343d3b9cabb27d8885de /content/blog/commands | |
parent | Updated gentoo upgrades article (diff) | |
download | www-23766907958505259eee7dd1c8812f658e5b2ba2.tar.gz www-23766907958505259eee7dd1c8812f658e5b2ba2.tar.bz2 www-23766907958505259eee7dd1c8812f658e5b2ba2.zip |
Tags overhaul to improve search results, and some light rewording or reformating
Diffstat (limited to '')
-rw-r--r-- | content/blog/commands/date.md | 2 | ||||
-rw-r--r-- | content/blog/commands/find-hardlinks.md | 3 | ||||
-rw-r--r-- | content/blog/commands/find-inodes-used.md | 3 | ||||
-rw-r--r-- | content/blog/commands/qemu-bis.md | 2 |
4 files changed, 8 insertions, 2 deletions
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 --- |