Skip to content

Commit

Permalink
Data update 2023-09-27 18-13-28
Browse files Browse the repository at this point in the history
  • Loading branch information
1010bots committed Sep 27, 2023
1 parent 47eb955 commit 5d6fa8c
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 1 deletion.
38 changes: 38 additions & 0 deletions docs/en/common/todo.sh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
layout: page
title: common/todo.sh (English)
description: "Simple and extensible shell script for managing your `todo.txt` file."
content_hash: 7e4580a4c02129510ae1fa7ff0a0c8715a99d1a7
last_modified_at: 2023-09-27
---

This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while.

<hr># todo.sh

Simple and extensible shell script for managing your `todo.txt` file.
More information: <https://github.com/todotxt/todo.txt-cli>.

- List every item:

`todo.sh ls`

- Add an item with project and context tags:

`todo.sh add '`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">description</span>` +`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">project</span>` @`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">context</span>`'`

- Mark an item as [do]ne:

`todo.sh do `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">item_no</span>

- Remove an item:

`todo.sh rm `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">item_no</span>

- Set an item's [pri]ority (A-Z):

`todo.sh pri `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">item_no</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">priority</span>

- Replace an item:

`todo.sh replace `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">item_no</span>` '`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">new_description</span>`'`
30 changes: 30 additions & 0 deletions docs/en/linux/lchage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
layout: page
title: linux/lchage (English)
description: "Display or change user password policy."
content_hash: 83e7113aaa62a0d0e26d732c160f33fd1ff258ee
last_modified_at: 2023-09-27
---

This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while.

<hr># lchage

Display or change user password policy.
More information: <https://manned.org/lchage>.

- Disable password expiration for the user:

`sudo lchage --date -1 `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">username</span>

- Display the password policy for the user:

`sudo lchage --list `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">username</span>

- Require password change for the user a certain number of days after the last password change:

`sudo lchage --maxdays `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">number_of_days</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">username</span>

- Start warning the user a certain number of days before the password expires:

`sudo lchage --warndays `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">number_of_days</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">username</span>
35 changes: 35 additions & 0 deletions docs/en/linux/mkosi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
layout: page
title: linux/mkosi (English)
description: "Tool for building modern, legacy-free Linux images."
content_hash: 6b5ffbcfa7cf462eb1606deb6d1ed706ed3f03e2
last_modified_at: 2023-09-27
---

This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while.

<hr># mkosi

Tool for building modern, legacy-free Linux images.
Part of `systemd`.
More information: <https://manned.org/mkosi>.

- Show current build configuration to verify what would be built:

`mkosi summary`

- Build an image with default settings (if no distribution is selected, the distribution of the host system is used):

`mkosi build --distribution `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">fedora|debian|ubuntu|arch|opensuse|...</span>

- Build an image and run an interactive shell in a systemd-nspawn container of the image:

`mkosi shell`

- Boot an image in a virtual machine using QEMU (only supported for disk images or CPIO images when a kernel is provided):

`mkosi qemu`

- Display help:

`mkosi help`
2 changes: 1 addition & 1 deletion source

0 comments on commit 5d6fa8c

Please sign in to comment.