Есть ли альтернативная комбинация клавиш для клавиши Up в bash?

Вы можете использовать расширение Gnome Shell, такое как Multi Monitors, чтобы добавить верхнюю панель на втором мониторе.

Если вы не знакомы с установкой расширений Gnome Shell, вы можете захотеть увидеть это: Multi Monitors

0
задан 13 June 2012 в 19:32

15 ответов

Ctrl + p для перемещения назад в истории команд

Ctrl + n для перемещения вперед в истории команд

(Где-то я читал, что это клавиша Alt, но Ctrl - это то, что работает для меня)

1
ответ дан 25 July 2018 в 19:50

Ctrl + p для перемещения назад в истории команд

Ctrl + n для перемещения вперед в истории команд

(Где-то я читал, что это клавиша Alt, но Ctrl - это то, что работает для меня)

1
ответ дан 2 August 2018 в 01:50

Ctrl + p для перемещения назад в истории команд

Ctrl + n для перемещения вперед в истории команд

(Где-то я читал, что это клавиша Alt, но Ctrl - это то, что работает для меня)

1
ответ дан 4 August 2018 в 17:28

Ctrl + p для перемещения назад в истории команд

Ctrl + n для перемещения вперед в истории команд

(Где-то я читал, что это клавиша Alt, но Ctrl - это то, что работает для меня)

1
ответ дан 6 August 2018 в 02:04

Ctrl + p для перемещения назад в истории команд

Ctrl + n для перемещения вперед в истории команд

(Где-то я читал, что это клавиша Alt, но Ctrl - это то, что работает для меня)

1
ответ дан 7 August 2018 в 19:36

Ctrl + p для перемещения назад в истории команд

Ctrl + n для перемещения вперед в истории команд

(Где-то я читал, что это клавиша Alt, но Ctrl - это то, что работает для меня)

1
ответ дан 10 August 2018 в 08:01

Ctrl + p для перемещения назад в истории команд

Ctrl + n для перемещения вперед в истории команд

(Где-то я читал, что это клавиша Alt, но Ctrl - это то, что работает для меня)

1
ответ дан 15 August 2018 в 20:06
  • 1
    И Ctrl-A, чтобы переместить курсор в начале и Ctrl-E перемещает курсор до конца :) – th3pr0ph3t 27 February 2012 в 21:29

Вы могли бы, если это поможет вам набрать !-1, который будет последней введенной вами командой.

Если вы хотите получить второй последний, который вы набрали, тогда !-2 и, как говорит история человека:

история человека

An event designator is a reference to a command line entry in the  history  list.  
Unless  the reference is absolute, events are relative to the current position in   
the history list.

   !      Start a history substitution, except when followed by  a  blank,
          newline, = or (.
   !n     Refer to command line n.
   !-n    Refer to the current command minus n.
   !!     Refer to the previous command.  This is a synonym for `!-1'.
   !string
          Refer  to the most recent command preceding the current position
          in the history list starting with string.
   !?string[?]
          Refer to the most recent command preceding the current postition
          in  the  history  list containing string.  The trailing ? may be
          omitted if string is followed immediately by a newline.
   ^string1^string2^
          Quick substitution.  Repeat the last command, replacing  string1
          with string2.  Equivalent to ``!!:s/string1/string2/'' (see Mod‐
          ifiers below).
   !#     The entire command line typed so far.

Вы также можете использовать CTRL + P, чтобы вернуться к одной команде истории за раз. Используйте CTRL + N, чтобы одновременно переходить к одной команде истории.

2
ответ дан 25 May 2018 в 13:59

Вы могли бы, если бы это помогло вам набрать !-1, который будет последней командой, которую вы набрали.

Если вы хотите, чтобы второй последний вы набрали, тогда !-2 и, как говорит история человека:

Обозначения событий

An event designator is a reference to a command line entry in the  history  list.  
Unless  the reference is absolute, events are relative to the current position in   
the history list.

   !      Start a history substitution, except when followed by  a  blank,
          newline, = or (.
   !n     Refer to command line n.
   !-n    Refer to the current command minus n.
   !!     Refer to the previous command.  This is a synonym for `!-1'.
   !string
          Refer  to the most recent command preceding the current position
          in the history list starting with string.
   !?string[?]
          Refer to the most recent command preceding the current postition
          in  the  history  list containing string.  The trailing ? may be
          omitted if string is followed immediately by a newline.
   ^string1^string2^
          Quick substitution.  Repeat the last command, replacing  string1
          with string2.  Equivalent to ``!!:s/string1/string2/'' (see Mod‐
          ifiers below).
   !#     The entire command line typed so far.

Вы также можете использовать CTRL + P для возврата одной команды истории за раз. Используйте CTRL + N, чтобы переходить к одной команде истории за раз.

2
ответ дан 25 July 2018 в 19:50

Вы могли бы, если бы это помогло вам набрать !-1, который будет последней командой, которую вы набрали.

Если вы хотите, чтобы второй последний вы набрали, тогда !-2 и, как говорит история человека:

Обозначения событий

An event designator is a reference to a command line entry in the  history  list.  
Unless  the reference is absolute, events are relative to the current position in   
the history list.

   !      Start a history substitution, except when followed by  a  blank,
          newline, = or (.
   !n     Refer to command line n.
   !-n    Refer to the current command minus n.
   !!     Refer to the previous command.  This is a synonym for `!-1'.
   !string
          Refer  to the most recent command preceding the current position
          in the history list starting with string.
   !?string[?]
          Refer to the most recent command preceding the current postition
          in  the  history  list containing string.  The trailing ? may be
          omitted if string is followed immediately by a newline.
   ^string1^string2^
          Quick substitution.  Repeat the last command, replacing  string1
          with string2.  Equivalent to ``!!:s/string1/string2/'' (see Mod‐
          ifiers below).
   !#     The entire command line typed so far.

Вы также можете использовать CTRL + P для возврата одной команды истории за раз. Используйте CTRL + N, чтобы переходить к одной команде истории за раз.

2
ответ дан 2 August 2018 в 01:50

Вы могли бы, если бы это помогло вам набрать !-1, который будет последней командой, которую вы набрали.

Если вы хотите, чтобы второй последний вы набрали, тогда !-2 и, как говорит история человека:

Обозначения событий

An event designator is a reference to a command line entry in the  history  list.  
Unless  the reference is absolute, events are relative to the current position in   
the history list.

   !      Start a history substitution, except when followed by  a  blank,
          newline, = or (.
   !n     Refer to command line n.
   !-n    Refer to the current command minus n.
   !!     Refer to the previous command.  This is a synonym for `!-1'.
   !string
          Refer  to the most recent command preceding the current position
          in the history list starting with string.
   !?string[?]
          Refer to the most recent command preceding the current postition
          in  the  history  list containing string.  The trailing ? may be
          omitted if string is followed immediately by a newline.
   ^string1^string2^
          Quick substitution.  Repeat the last command, replacing  string1
          with string2.  Equivalent to ``!!:s/string1/string2/'' (see Mod‐
          ifiers below).
   !#     The entire command line typed so far.

Вы также можете использовать CTRL + P для возврата одной команды истории за раз. Используйте CTRL + N, чтобы переходить к одной команде истории за раз.

2
ответ дан 4 August 2018 в 17:28

Вы могли бы, если бы это помогло вам набрать !-1, который будет последней командой, которую вы набрали.

Если вы хотите, чтобы второй последний вы набрали, тогда !-2 и, как говорит история человека:

Обозначения событий

An event designator is a reference to a command line entry in the  history  list.  
Unless  the reference is absolute, events are relative to the current position in   
the history list.

   !      Start a history substitution, except when followed by  a  blank,
          newline, = or (.
   !n     Refer to command line n.
   !-n    Refer to the current command minus n.
   !!     Refer to the previous command.  This is a synonym for `!-1'.
   !string
          Refer  to the most recent command preceding the current position
          in the history list starting with string.
   !?string[?]
          Refer to the most recent command preceding the current postition
          in  the  history  list containing string.  The trailing ? may be
          omitted if string is followed immediately by a newline.
   ^string1^string2^
          Quick substitution.  Repeat the last command, replacing  string1
          with string2.  Equivalent to ``!!:s/string1/string2/'' (see Mod‐
          ifiers below).
   !#     The entire command line typed so far.

Вы также можете использовать CTRL + P для возврата одной команды истории за раз. Используйте CTRL + N, чтобы переходить к одной команде истории за раз.

2
ответ дан 6 August 2018 в 02:04

Вы могли бы, если бы это помогло вам набрать !-1, который будет последней командой, которую вы набрали.

Если вы хотите, чтобы второй последний вы набрали, тогда !-2 и, как говорит история человека:

Обозначения событий

An event designator is a reference to a command line entry in the  history  list.  
Unless  the reference is absolute, events are relative to the current position in   
the history list.

   !      Start a history substitution, except when followed by  a  blank,
          newline, = or (.
   !n     Refer to command line n.
   !-n    Refer to the current command minus n.
   !!     Refer to the previous command.  This is a synonym for `!-1'.
   !string
          Refer  to the most recent command preceding the current position
          in the history list starting with string.
   !?string[?]
          Refer to the most recent command preceding the current postition
          in  the  history  list containing string.  The trailing ? may be
          omitted if string is followed immediately by a newline.
   ^string1^string2^
          Quick substitution.  Repeat the last command, replacing  string1
          with string2.  Equivalent to ``!!:s/string1/string2/'' (see Mod‐
          ifiers below).
   !#     The entire command line typed so far.

Вы также можете использовать CTRL + P для возврата одной команды истории за раз. Используйте CTRL + N, чтобы переходить к одной команде истории за раз.

2
ответ дан 7 August 2018 в 19:36

Вы могли бы, если бы это помогло вам набрать !-1, который будет последней командой, которую вы набрали.

Если вы хотите, чтобы второй последний вы набрали, тогда !-2 и, как говорит история человека:

Обозначения событий

An event designator is a reference to a command line entry in the  history  list.  
Unless  the reference is absolute, events are relative to the current position in   
the history list.

   !      Start a history substitution, except when followed by  a  blank,
          newline, = or (.
   !n     Refer to command line n.
   !-n    Refer to the current command minus n.
   !!     Refer to the previous command.  This is a synonym for `!-1'.
   !string
          Refer  to the most recent command preceding the current position
          in the history list starting with string.
   !?string[?]
          Refer to the most recent command preceding the current postition
          in  the  history  list containing string.  The trailing ? may be
          omitted if string is followed immediately by a newline.
   ^string1^string2^
          Quick substitution.  Repeat the last command, replacing  string1
          with string2.  Equivalent to ``!!:s/string1/string2/'' (see Mod‐
          ifiers below).
   !#     The entire command line typed so far.

Вы также можете использовать CTRL + P для возврата одной команды истории за раз. Используйте CTRL + N, чтобы переходить к одной команде истории за раз.

2
ответ дан 10 August 2018 в 08:01

Вы могли бы, если бы это помогло вам набрать !-1, который будет последней командой, которую вы набрали.

Если вы хотите, чтобы второй последний вы набрали, тогда !-2 и, как говорит история человека:

Обозначения событий

An event designator is a reference to a command line entry in the  history  list.  
Unless  the reference is absolute, events are relative to the current position in   
the history list.

   !      Start a history substitution, except when followed by  a  blank,
          newline, = or (.
   !n     Refer to command line n.
   !-n    Refer to the current command minus n.
   !!     Refer to the previous command.  This is a synonym for `!-1'.
   !string
          Refer  to the most recent command preceding the current position
          in the history list starting with string.
   !?string[?]
          Refer to the most recent command preceding the current postition
          in  the  history  list containing string.  The trailing ? may be
          omitted if string is followed immediately by a newline.
   ^string1^string2^
          Quick substitution.  Repeat the last command, replacing  string1
          with string2.  Equivalent to ``!!:s/string1/string2/'' (see Mod‐
          ifiers below).
   !#     The entire command line typed so far.

Вы также можете использовать CTRL + P для возврата одной команды истории за раз. Используйте CTRL + N, чтобы переходить к одной команде истории за раз.

2
ответ дан 15 August 2018 в 20:06

Другие вопросы по тегам:

Похожие вопросы: