summaryrefslogtreecommitdiff
path: root/080_blog/00015_Admin/00010_Various-Cheat-Sheets
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2019-03-17 18:14:32 +0100
committerMiguel <m.i@gmx.at>2019-03-17 18:14:32 +0100
commit0e4810dcfb132bf276a282e25b8523a4009ae08b (patch)
treedac6dce820f0a35d9ed7ea7676982a0f86fd0edb /080_blog/00015_Admin/00010_Various-Cheat-Sheets
parentad6411e9ec256b03f20b9195e25cb128fe02c628 (diff)
rename blog dir
Diffstat (limited to '080_blog/00015_Admin/00010_Various-Cheat-Sheets')
-rw-r--r--080_blog/00015_Admin/00010_Various-Cheat-Sheets/00105_GNU-Screen-Multiplexer-Keyboard-Shortcuts/index.md43
-rw-r--r--080_blog/00015_Admin/00010_Various-Cheat-Sheets/00110_Midnight-Commander-Cheatsheet/index.md61
-rw-r--r--080_blog/00015_Admin/00010_Various-Cheat-Sheets/00120_GDB/index.md29
-rw-r--r--080_blog/00015_Admin/00010_Various-Cheat-Sheets/index.md3
4 files changed, 0 insertions, 136 deletions
diff --git a/080_blog/00015_Admin/00010_Various-Cheat-Sheets/00105_GNU-Screen-Multiplexer-Keyboard-Shortcuts/index.md b/080_blog/00015_Admin/00010_Various-Cheat-Sheets/00105_GNU-Screen-Multiplexer-Keyboard-Shortcuts/index.md
deleted file mode 100644
index 80b24b1..0000000
--- a/080_blog/00015_Admin/00010_Various-Cheat-Sheets/00105_GNU-Screen-Multiplexer-Keyboard-Shortcuts/index.md
+++ /dev/null
@@ -1,43 +0,0 @@
-GNU Screen - Keyboard Shortcuts
-=============================================
-
-Invocation
-----------
- $ screen [-S session_name] # simply start new session
- $ screen -ls # lists sessions
- $ screen -r session_name # resume detached session
- $ screen -d -R session_name # resume session (also detach or create)
- $ screen -d -RR #resume first session
-
-Shortcuts
----------
- ctrl-a c NEW WINDOW
- ctrl-a n / ctrl-a p NEXT/PREVIOUS
- ctrl-a d DETACH
- ctrl-a D D DETACH and LOGOUT
-
- ctrl-a S SPLIT HORIZ.
- ctrl-a | SPLIT VERTICAL
- ctrl-a tab NEXT REGION
- ctrl-x REMOVE REGION
- ctrl-a q REMOVE ALL OTHER REGIONS
- ctrl-a F FIT WINDOW
-
- ctrl-a c CLEAR SCREEN
- ctrl-a k KILL WINDOW
- ctrl-a \ QUIT
-
- ctrl-a esc COPY/SCROLLBACK MODE
-
-Layout Commands
----------------
- ctrl-a : #enter command mode
- :layout new [title]
- :layout remove [n|title]
- :layout next
- :layout prev
- :layout show #list layouts
-
-Reference
----------
- [1] $ man screen
diff --git a/080_blog/00015_Admin/00010_Various-Cheat-Sheets/00110_Midnight-Commander-Cheatsheet/index.md b/080_blog/00015_Admin/00010_Various-Cheat-Sheets/00110_Midnight-Commander-Cheatsheet/index.md
deleted file mode 100644
index eedc66a..0000000
--- a/080_blog/00015_Admin/00010_Various-Cheat-Sheets/00110_Midnight-Commander-Cheatsheet/index.md
+++ /dev/null
@@ -1,61 +0,0 @@
-###>>>KWD midnight commander cheatsheet, mc cheatsheet, mc shortcuts, midnight commander shortcuts
-###>>>DSC Cheatsheet for Midnight Commander summarizing the most useful shortcuts.
-Midnight Commander Cheatsheet
-=============================
-
-A short cheat-sheet summarizing midnight commander's most useful shortcut keys.
-
-Basic Navigation
-----------------
- tab switch active panel
- up/down select previous/next rown
- return open selected directory
- alt-o open selected directory on other panel
-
-View
-----
- alt-. toggle hidden files
- ctrl-o toggle console
- alt-t toggle listing mode
- alt-i sync with other panel
- ctrl-u swap panels
-
-Miscellaneous
--------------
- shift-f6 rename, filling in the current filename
- insert/ctrl-t/+/\/* selections
- esc-tab auto complete
- ctrl-enter / alt-enter copy currently selected filename to console
- Ctrl + Shift + Enter copy full path
-
- alt-shift-h show dir history
- alt-y/alt-u navigate history
-
- alt+?/alt-s/ctrl-s searches
-
- ctrl-space calculte size
- ctrl - x c chmod
- ctrl - x o chown
-
-Troubleshooting / Extras
-------------------------
-Adding this to your _.bashrc_ will let _mc_ stay in the current directory after exiting:
-
- alias mc='. /usr/libexec/mc/mc-wrapper.sh'
-
-I run _midgnight commander_ inside _tmux_ and the shifted function keys did not work as
-expected. Use midnight commanders _Learn Keys_ dialog to fix this.
-
-Set default viewer for pdf:
-
- xdg-mime default evince.desktop application/pdf
-
-Set default editor:
-
- alias mc='EDITOR=vim'
-
-Reference
----------
-
-* http://klimer.eu/2015/05/01/use-midnight-commander-like-a-pro/
-* man mc
diff --git a/080_blog/00015_Admin/00010_Various-Cheat-Sheets/00120_GDB/index.md b/080_blog/00015_Admin/00010_Various-Cheat-Sheets/00120_GDB/index.md
deleted file mode 100644
index 5aebdf3..0000000
--- a/080_blog/00015_Admin/00010_Various-Cheat-Sheets/00120_GDB/index.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# GDB
-
- http://www.cprogramming.com/debuggers.html
-
- use gcc or clang with : -ggdb -O0
-
- h - help
-
- r - run
- c - continue
- n - next
- s - step
-
- b - break <line>
- p - print <var>
-
- wa - watch <var>
-
- bt
- frame <number>
- list
- info locals
-
- set <var> = <value>
- set substitute-path FROM TO
-
- call <func>
-
-
diff --git a/080_blog/00015_Admin/00010_Various-Cheat-Sheets/index.md b/080_blog/00015_Admin/00010_Various-Cheat-Sheets/index.md
deleted file mode 100644
index ee779fa..0000000
--- a/080_blog/00015_Admin/00010_Various-Cheat-Sheets/index.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Cheat Sheets
-============
-A growing collection of some of my cheat sheets.