← 返回命令列表

Linux command

done 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Mark task as done

task [id] done

Complete multiple tasks

task [1] [2] [3] done

说明

done is commonly used as a subcommand or keyword in task management systems to mark tasks as completed. In Taskwarrior, "task done" marks a task complete. In fish shell, it ends a for/while loop. The specific behavior depends on the context and tool. In shell scripting (fish), "done" terminates loop constructs. In task managers, it indicates task completion. This entry documents the general concept as various tools implement "done" functionality differently.

FAQ

What is the done command used for?

done is commonly used as a subcommand or keyword in task management systems to mark tasks as completed. In Taskwarrior, "task done" marks a task complete. In fish shell, it ends a for/while loop. The specific behavior depends on the context and tool. In shell scripting (fish), "done" terminates loop constructs. In task managers, it indicates task completion. This entry documents the general concept as various tools implement "done" functionality differently.

How do I run a basic done example?

Run `task [id] done` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more done examples?

This page includes 2 examples for done, plus related commands for nearby Linux tasks.