User Tools

Site Tools


computing:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
computing:start [2018/05/18 07:19] – created oemb1905computing:start [2022/07/30 23:50] oemb1905
Line 1: Line 1:
 ------------------------------------------- -------------------------------------------
-#**nano / text editor basics**+  * **smartmontools**  
 +  * **Jonathan Haack** 
 +  * **Haack's Networking** 
 +  * **webmaster@haacksnetworking.org** 
 ------------------------------------------- -------------------------------------------
  
-  ctl-r         read -open file curr. buffer, or new in multibuffer mode, enter4new empty buffer +//smartmontools//       
-  ctl-o         writeout i.e. save file + 
-  cctl-x         exit i.e. quit; also exits from buffer in multibuffer mode; asks writeout/save +------------------------------------------- 
-  ctl-g         get help/aid/assistance + 
-  enter, ctl-m  newline +This tutorial is a collection of syntax and tips for using smart tools on Debian. The following command runs a short test. Change the verb after the ''-t'' flag to ''long'' in order to run a long test. You can optionally add the ''-C'' flag to run the test in the foreground. 
-  bksp, ctl-h   delete previous character +   
-  del, ctl-d    delete current character +  smartctl -t short /dev/disk 
-  left, ctl-b   backward character +  smartctl -t short -C /dev/disk 
-  right, ctl-f  forward character + 
-  home, ctl-a   beginning of line +To check a drive for what it supports or does notuse the ''-i'' flag for information about the drive
-  end, ctl-e    end of line + 
-  up, ctl-p     previous line +  sudo smartctl -/dev/disk 
-  down, ctl-n   next line +   
-  pgup, ctl-y   previous page +If time is an issue, use the ''-c'' flag to check how long the test will take. 
-  pgdn, ctl-v   next page + 
-  m-space       previous word +  sudo smartctl -/dev/disk 
-  ctl-space     next word +   
-  alt-\         beginning of file +To see the results of a test you ran in background mode, use the ''-a'' flag to see all the historical records on the drive in question, including the test results. 
-  alt-/         end of file + 
-  ctl-c         display cursor position +  sudo smartctl -a /dev/sdc 
-  ctl-/         go i.e. jump to line and column +   
-  ctl-^         set/unset mark; or alt-+To only look at the test results, use the following syntax: 
-  alt-^         copy marked, or copy line if nomark; actually alt-6 i.e. do not need shift key + 
-  ctl-k         cut marked or cut lineifnomark or cut2end line if cut2end is enabled using           +  smartctl -l selftest /dev/disk 
-  alt-+ 
-  ctl-u         paste cut or copied + --- //[[jonathan@haacksnetworking.org|oemb1905]] 2022/07/26 14:19//
-  alt-t         cut to end of file +
-  ctl-w         search +
-  alt-w         search again +
-  alt-r         search and replace +
-  alt-<         previous file buffer; actually alt-, i.e. do not need shift key +
-  alt->         next file buffer; actually alt-. i.e. do not need shift key +
-  alt-x         toggle bottom help display +
-  alt-y         toggle color syntax hiliting;colors config via /usr/share/nano/*.nanorc files +
-  alt-c         toggle cursor position display +
-  alt-d         toggle dos/unix format option at writeout/save prompt +
-  alt-k         toggle cut to end of line +
-  ctl-t         show file list at read/open prompt +
-  ctl-x         prompt for external command to execute at read/open prompt and insert output +
-  ctl-z         suspend to shell; use fg to return+