Существует эквивалент - для обоих vi
и vim
:
H
для вершины
M
в течение середины и
L
для нижней части экрана
Вы должны настроить пароль за вычетом входа, используя открытый/закрытый ключ с ssh.
при условии, что копируемые файлы находятся в dir
,
source$ tar cf - dir | ssh servera 'ssh serverb "cd dest ; tar xf - " '
где
source $
- это запрос tar cf - dir
tar файлов в dir на stdin ssh servera
регистраций вас на servera cd dest; tar xf -
извлечение из файлов stdin в dest dir. Пытались ли вы использовать notify-send ?
$ notify-send -t 100 "Alert" "There are system updates Necessary"
-121--139565- Я решил проблему.
Сервер был зависшим из-за аппаратного сбоя. Я позволил ему остаться в системе более 30 минут, и он получил терминал.
Но спасибо за предложения ребята!!
Система говорит вам, что есть неисправный диск (или контроллер / кабель / что угодно):
Nov 2 12:04:21 hooradb2 scsi: Requested Block: 1632 Error Block: 1632 Nov 2 12:04:21 hooradb2 scsi: Vendor: SEAGATE Serial Number: 071891XA2J
Nov 2 12:04:21 hooradb2 scsi: Vendor: SEAGATE Serial Number: 071891XA2J Nov 2 12:04:21 hooradb2 scsi: Sense Key: Aborted Command Nov 2 12:04:21 hooradb2 scsi: ASC: 0x8 (LUN communication time-out), ASCQ: 0x1, FRU: 0x81
Нет точки, исследуя проблему быстрого значения оболочки, когда система зависает. Загрузиться на альтернативных носителях (например, на живом CD) и расследовать / исправить эту проблему отсюда. FSCK может быть достаточно, но заменяя диск и восстановление от резервного копирования может быть единственным способом восстановления вашего сервера.
check variable PS1
:
root@debian:/home/mohsen# echo $PS1
\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
root@debian:/home/mohsen#
check your initialization files for modification it.
Если вы используете bash, вы можете использовать следующие экранирующие коды для переменной PS1:
\a an ASCII bell character (07)
\d the date in "Weekday Month Date" format
(e.g., "Tue May 26")
\e an ASCII escape character (033)
\h the hostname up to the first `.'
\H the hostname
\j the number of jobs currently managed by the
shell
\l the basename of the shell's terminal device
name
\n newline
\r carriage return
\s the name of the shell, the basename of $0
(the portion following the final slash)
\t the current time in 24-hour HH:MM:SS format
\T the current time in 12-hour HH:MM:SS format
\@ the current time in 12-hour am/pm format
\u the username of the current user
\v the version of bash (e.g., 2.00)
\V the release of bash, version + patchlevel
(e.g., 2.00.0)
\w the current working directory
\W the basename of the current working direc
tory
\! the history number of this command
\# the command number of this command
\$ if the effective UID is 0, a #, otherwise a
$
\nnn the character corresponding to the octal
number nnn
\\ a backslash
\[ begin a sequence of non-printing characters,
which could be used to embed a terminal con
trol sequence into the prompt
\] end a sequence of non-printing characters