Easy Tutorial
❮ Linux Comm Gzexe Linux Shell Io Redirections ❯

Linux joe Command

Linux Command Manual

The Linux joe command is used to edit text files.

Joe is a powerful full-screen text editor program. Its complexity is slightly higher than Pico, but it offers more comprehensive features. Joe can open multiple files at once, each in its own editing area, and allows cut-and-paste operations between files.

Syntax

joe [-asis][-beep][-csmode][-dopadding][-exask][-force][-help][-keepup][-lightoff][-marking][-mid][-nobackups][-nonotice][-nosta][-noxon][-orphan][-backpath<directory>][-columns<columns>][-lines<lines>][-pg<lines>][-skiptop<lines>][-autoindent crlf linums overwrite rdonly wordwrap][+<lines>][-indentc&lt;indent character>][-istep&lt;indent characters>][-keymap&lt;keymap file>][-lmargin<columns>][-rmargin<columns>][-tab<columns>][file to edit]

Parameters:

Example

Use the joe command to edit a text file. For example, to edit a C language source code file main.c, use the following command:

joe main.c

Similar to jed, the joe editor displays C language syntax in color. The effect is as follows:

``` I A main.c (c) Row 1 Col 1 12:28 Ctrl-K H for help

From left to right: opened file name, cursor position, current time, operation instructions

/-- linux-c--/ # Editing area

include <linux/mm.h>

include <linux/sysctl.h>

include <linux/nsproxy.h>

static struct list_head *
net_ctl_header_lookup(struct ctl_table_root root, struct nsproxy *namespaces)
{
return &namespaces->net_ns->sysctl_table_headers;
} static struct ctl_table_root net_sysctl_root = { .lookup = net_ctl_header_lookup, }; static int sysctl_net_init(struct net *net) { INIT_LIST_HEAD(&net->sysctl_table_headers); return 0; } *
Joe's Own Editor v3.5 * (utf-8) * Copyright 2006 ** #joe editor version and copyright information

Joe's Own Editor has some commonly used key combinations, such as Ctrl+K+H for online help. First press the Ctrl+K keys, then enter the letter H to bring up the help menu. This help information allows you to easily learn how to operate the joe editor.

Linux Command Manual

❮ Linux Comm Gzexe Linux Shell Io Redirections ❯