2019-03-11 13:57:28 [mini@pc074 ~]$ sudo add-apt-repository ppa:teejee2008/ppa Cannot add PPA: 'ppa:~teejee2008/ubuntu/ppa'. ERROR: '~teejee2008' user or team does not exist.
2019-03-11 14:02:20 [minion@hqpc074 ~]$ sudo apt install joe Reading package lists... Done Building dependency tree Reading state information... Done The followingNEW packages will be installed: joe 0 upgraded, 1 newly installed, 0to remove and310not upgraded. Need toget509 kB of archives. After this operation, 2137 kB of additional disk space will be used. Get:1http://tw.archive.ubuntu.com/ubuntu bionic/universe amd64 joe amd64 4.6-1 [509 kB] Fetched 509 kB in2s (254 kB/s) Selecting previously unselected package joe. (Reading database ... 150020 files and directories currently installed.) Preparing to unpack .../archives/joe_4.6-1_amd64.deb ... Unpacking joe (4.6-1) ... Processing triggersfor mime-support (3.60ubuntu1) ... Processing triggersfor desktop-file-utils (0.23-1ubuntu3) ... Setting up joe (4.6-1) ... update-alternatives: using /usr/bin/joe to provide /usr/bin/editor (editor) inautomode Processing triggersfor man-db (2.8.3-2) ... Processing triggersfor gnome-menus (3.13.3-11ubuntu1) ... 2019-03-1114:09:39 [minion@hqpc074 ~]$
2019-03-11 14:09:51 [minion@hqpc074 ~]$ joe --help Joe's Own Editor v4.6
Usage: joe [global-options] [ [local-options] filename ]...
Global options: -[-]restore Restore cursor mode -[-]regex Standard or JOE regular expression syntax -[-]square Rectangular region mode -[-]icase Case insensitive search mode -[-]wrap Search wraps mode -[-]menu_explorer Menu explorer mode -[-]menu_above Menu above/below mode -[-]notagsmenu Tags menu mode -[-]search_prompting Search prompting mode -[-]menu_jump Jump into menu mode -[-]autoswap Autoswap mode -[-]mid Center on scroll mode -left nnn Left scroll amount -right nnn Right scroll amount -[-]guess_crlf Auto detect CR-LF mode -[-]guess_indent Guess indent mode -[-]guess_non_utf8 Guess non-UTF-8 mode -[-]guess_utf8 Guess UTF-8 mode -[-]guess_utf16 Guess UTF-16 mode -[-]transpose Transpose menus mode -[-]marking Region marking mode -[-]asis Display meta chars as-is mode -[-]force Force last NL mode -[-]joe_state Joe_state file mode -[-]nobackups Disable backups mode -[-]nodeadjoe Disable DEADJOE mode -[-]nolocks Disable locks mode -[-]nomodcheck Disable mtime check mode -[-]nocurdir Disable current dir -[-]break_hardlinks Break hard links -[-]break_links Break links -[-]lightoff Auto unmark -[-]exask Exit ask -[-]beep Beeps -[-]nosta Disable status line -[-]keepup Fast status line -pg nnn No. PgUp/PgDn lines -undo_keep nnn No. undo records -[-]csmode Continued search -backpath sss Path to backup files -[-]floatmouse Click past end -[-]rtbutton Right button -[-]nonotice Suppress startup notice -[-]noexmsg Suppress exit message -[-]help_is_utf8 Help is UTF-8 -[-]noxon Disable XON/XOFF -[-]orphan Orphan extra files -[-]helpon Start editor with help displayed -[-]dopadding Emit padding NULs -lines nnn No. screen lines (if no window size ioctl) -baud nnn Baud rate -columns nnn No. screen columns (if no window size ioctl) -skiptop nnn No. screen lines to skip -[-]notite Suppress tty init sequence -[-]brpaste Bracketed paste mode -[-]pastehack Paste quoting hack -[-]nolinefeeds Suppress history preserving linefeeds -[-]mouse Enable mouse -[-]usetabs Screen update uses tabs -[-]assume_color Assume terminal supports color -[-]assume_256color Assume terminal supports 256 colors -[-]joexterm Assume xterm patched for JOE -xmsg sss Exit message -aborthint sss Abort hint -helphint sss Help hint -lmsg sss Left side status line format -rmsg sss Right side status line format -smsg sss Status command format -zmsg sss Status command format EOF -keymap sss Keymap to use -mnew sss Macro to execute for new files -mfirst sss Macro to execute on first change -mold sss Macro to execute on existing files -msnew sss Macro to execute when new files are saved -msold sss Macro to execute when existing files are saved -text_color sss Text color -help_color sss Help color -status_color sss Status bar color -menu_color sss Menu color -prompt_color sss Prompt color -msg_color sss Message color Local options: +nnn Start cursor on specified line -[-]overwrite Overtype mode -[-]hex Hex edit display mode -[-]ansi Hide ANSI mode -[-]title Status line context display mode -[-]autoindent Autoindent mode -[-]wordwrap Word wrap mode -tab nnn Tab width -lmargin nnn Left margin -rmargin nnn Right margin -indentc nnn Indent char -istep nnn Indent step -[-]french French spacing mode -[-]flowed Flowed text mode -[-]highlight Syntax highlighting mode -[-]spaces No tabs mode -[-]crlf CR-LF (MS-DOS) mode -[-]linums Line numbers mode -[-]hiline Highlight cursor line -[-]nobackup No backup mode -[-]rdonly Read only -[-]smarthome Smart home key -[-]indentfirst To indent first -[-]smartbacks Smart backspace -[-]purify Clean up indents -[-]picture Picture mode -syntax sss Syntax -colors sss Scheme -encoding sss Encoding -type sss File type -[-]highlighter_context ^G uses highlighter context -[-]single_quoted ^G ignores '... ' -[-]no_double_quoted ^G ignores "... " -[-]c_comment ^G ignores /*...*/ -[-]cpp_comment ^G ignores //... -[-]pound_comment ^G ignores #... -[-]vhdl_comment ^G ignores --... -[-]semi_comment ^G ignores ;... -[-]tex_comment ^G ignores %... -text_delimiters sss Text delimiters -language sss Language -cpara sss Paragraph indent chars -cnotpara sss Non-paragraph chars 2019-03-1114:09:54 [minion@hqpc074 ~]$
Num Name Tags Description ------------------------------------------------------------------------------ 0 > 2019-03-11_14-01-01 O after ansible 2019-03-11 14:11:17 [minion@hqpc074 ~]$
****************************************************************************** To restore with default options, press the ENTER key for all prompts! ******************************************************************************
Press ENTER to continue...
Re-install GRUB2 bootloader? (recommended) (y/n): y
Select GRUB device:
Num Device Description ------------------------------------------------------------------------------ 0 > sda ATA TS128GSSD370S [MBR] 1 > sda1 ext4, 128.0 GB GB
====================================================================== WARNING ====================================================================== Data will be modified on following devices:
Device Mount --------- ----- /dev/sda1 /
Please save your work and close all applications. System will reboot after files are restored.
====================================================================== DISCLAIMER ====================================================================== This software comes without absolutely NO warranty and the author takes no responsibility for any damage arising from the use of this program. If these terms are not acceptable to you, please do not proceed beyond this point!
Continue with restore? (y/n): y Mounted '/dev/sda1' at '/mnt/timeshift/restore/' ****************************************************************************** Backup Device:/dev/sda1 ****************************************************************************** ****************************************************************************** Snapshot:2019-03-11_14-01-01 ~ after ansible ****************************************************************************** Restoring snapshot... Synching files with rsync...
Please do not interrupt the restore process! System will reboot after files are restored
sent 122,966,173 bytes received 829 bytes 35,133,429.14 bytes/sec total size is 7,201,040,584 speedup is 58.56
Re-installing GRUB2 bootloader... Installing for i386-pc platform. Installation finished. No error reported.
Updating GRUB menu... Generating grub configuration file ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. Found linux image:/boot/vmlinuz-4.15.0-20-generic Found initrd image:/boot/initrd.img-4.15.0-20-generic Found memtest86+ image:/boot/memtest86+.elf Found memtest86+ image:/boot/memtest86+.bin done
Synching file systems...
Rebooting system... Rebooting.
要特別注意,restore完後,會自動reboot
重新開機完成後,就入系統,執行看看 joe
1 2 3 4 5 6 7 8
2019-03-11 14:14:53 [minion@hqpc074 ~]$ joe Command 'joe' not found, but can be installed with: