277294.ijbsn.asia filesystem.txt 2023-12-08T04:22:32Z 2023-12-08T04:22:32Z <br/>Advisory Locking and Mandatory Locking - <a href="http://www.thegeekstuff.com/2012/04/linux-file-locking-types/">http://www.thegeekstuff.com/2012/04/linux-file-locking-types/</a> <br/><br/>Basic info of inode - <a href="http://www.thegeekstuff.com/2012/01/linux-inodes/">http://www.thegeekstuff.com/2012/01/linux-inodes/</a> <br/><br/>Explanation of /proc filesystem - <a href="http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/ref-guide/s1-proc-directories.html">http://www.redhat.com[..]anual/ref-guide/s1-proc-directories.html</a> <br/><br/>Linux file system structure - <a href="http://www.thegeekstuff.com/2010/09/linux-file-system-structure/">http://www.thegeekstuff.com/2010/09/linux-file-system-structure/</a> <br/><br/>File system for archive files - <a href="http://linuxtoy.org/archives/avfs.html">http://linuxtoy.org/archives/avfs.html</a> <br/><br/>BeOS file system, other than discuss about BeOS FS, also discussing about evolution of design of file system - <a href="http://arstechnica.com/open-source/news/2010/06/the-beos-filesystem.ars">http://arstechnica.com[..]rce/news/2010/06/the-beos-filesystem.ars</a> <a href="http://arstechnica.com/hardware/news/2008/03/past-present-future-file-systems.ars/">http://arstechnica.com[..]03/past-present-future-file-systems.ars/</a> <br/><br/>ZFS - <a href="http://www.thegeekstuff.com/2015/07/zfs-on-linux-zpool/">http://www.thegeekstuff.com/2015/07/zfs-on-linux-zpool/</a> <a href="https://clusterhq.com/2014/09/11/file-systems-data-loss-zfs/">https://clusterhq.com/2014/09/11/file-systems-data-loss-zfs/</a> <a href="http://www.linuxjournal.com/content/zfs-linux">http://www.linuxjournal.com/content/zfs-linux</a> <a href="https://arstechnica.com/information-technology/2020/05/zfs-101-understanding-zfs-storage-and-performance/">https://arstechnica.com[..]derstanding-zfs-storage-and-performance/</a> <br/><br/> The file size of command "df" return is compressed data, raw disk usage<br/> If we want compress amount, we need to get the compressratio using /usr/sbin/zfs<br/> We can get more system detail via perl package Sun::Solaris::Kstat , we can google "arc_summary.pl" as an example<br/><br/>Using ZFS as version control - <a href="http://zef.me/blog/6023/who-needs-git-when-you-got-zfs">http://zef.me/blog/6023/who-needs-git-when-you-got-zfs</a> <br/><br/>When the Linux single-purpose philosophy fails: NFS - <a href="https://raduzaharia.medium.com/when-the-linux-single-purpose-philosophy-fails-nfs-512ccd21d98c">https://raduzaharia.medium.com[..]urpose-philosophy-fails-nfs-512ccd21d98c</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2023-12-08T04:22:32Z find.txt 2023-07-30T14:04:42Z 2023-07-30T14:04:42Z <br/>An question about how to remove unused package from MacOSX turn out to be an example of "find" command:<br/><br/><a href="http://forums.osxfaq.com/viewtopic.php?p=57887#57887">http://forums.osxfaq.com/viewtopic.php?p=57887#57887</a> <br/><a href="http://www.osxfaq.com/tips/unix-tricks/week98/tuesday.ws">http://www.osxfaq.com/tips/unix-tricks/week98/tuesday.ws</a> <br/><a href="http://javarevisited.blogspot.com/2011/03/10-find-command-in-unix-examples-basic.html">http://javarevisited.blogspot.com[..]find-command-in-unix-examples-basic.html</a> <br/><br/>File Search tips in Linux - <a href="http://discuss.joelonsoftware.com/default.asp?pg=pgDiscussThread&ixDiscussTopicParent=18272&ixDiscussGroup=3">http://discuss.joelonsoftware.com[..]iscussTopicParent=18272&ixDiscussGroup=3</a> <br/><br/>Another search tip, example of find base on time and size, and how to compare with other files - <a href="http://viralpatel.net/blogs/2010/02/some-useful-unix-file-finding-commands.html">http://viralpatel.net[..]e-useful-unix-file-finding-commands.html</a> <br/><br/>Like search by name, depth, size - <a href="http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/">http://www.thegeekstuff.com[..]5-practical-linux-find-command-examples/</a> <br/><br/>use 'find' to delete branch of file: <a href="http://keithdevens.com/weblog/archive/2005/Jul/05/find.rm">http://keithdevens.com/weblog/archive/2005/Jul/05/find.rm</a> <br/><br/>By time - <a href="http://www.thegeekstuff.com/2009/06/15-practical-unix-linux-find-command-examples-part-2/">http://www.thegeekstuff.com[..]unix-linux-find-command-examples-part-2/</a> <br/><br/>Use of empty - <a href="http://www.thegeekstuff.com/2010/03/find-empty-directories-and-files/">http://www.thegeekstuff.com[..]010/03/find-empty-directories-and-files/</a> <br/><br/>Find Anything You Need with fzf - <a href="https://medium.com/pragmatic-programmers/find-anything-you-need-with-fzf-the-linux-fuzzy-finder-tool-f48dfd0092b4">https://medium.com[..]the-linux-fuzzy-finder-tool-f48dfd0092b4</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2023-07-30T14:04:42Z shell.txt 2023-05-19T13:22:08Z 2023-05-19T13:22:08Z <br/>Sum time in script - <a href="http://www.markhneedham.com/blog/2011/07/27/unix-summing-the-total-time-from-a-log-file/">http://www.markhneedham.com[..]-summing-the-total-time-from-a-log-file/</a> <br/><br/>Special bash parameters - <a href="http://javarevisited.blogspot.com/2011/06/special-bash-parameters-in-script-linux.html">http://javarevisited.blogspot.com[..]ial-bash-parameters-in-script-linux.html</a> <br/><br/>ls sort by file size - <a href="http://www.unix.com/unix-dummies-questions-answers/6518-sorting-ls-filesize.html">http://www.unix.com[..]ns-answers/6518-sorting-ls-filesize.html</a> <br/><br/>How to use "~" - <a href="http://www.thegeekstuff.com/2010/06/bash-tilde-expansion">http://www.thegeekstuff.com/2010/06/bash-tilde-expansion</a> <br/><br/>use rlwrap to enable BASH like editing in SQLplus, and use screen to presist terminal sessions - <a href="http://binkley.blogspot.com/2009/03/two-miracle-utilities-rlwrap-and-screen.html">http://binkley.blogspot.com[..]miracle-utilities-rlwrap-and-screen.html</a> <br/><br/>Ctrl+r searches through history<br/>Use the history command plus !# to run old commands<br/>Shell expansion using {} , e.g. cp foo.sh{,.old} == cp foo.sh foo.sh.old<br/>zsh have good auto complete<br/><br/><a href="http://www.pgrs.net/2007/9/6/useful-unix-tricks">http://www.pgrs.net/2007/9/6/useful-unix-tricks</a> <br/><br/>mkdir -p creates nested directories<br/>Use less instead of tail<br/>lsof shows open files<br/>ps will show process trees with the f flag<br/><br/><a href="http://www.pgrs.net/2007/10/8/useful-unix-tricks-part-2">http://www.pgrs.net/2007/10/8/useful-unix-tricks-part-2</a> <br/><br/>!! is the previous command in the shell history<br/>Use vim -b to show nonprintable characters<br/>** is a recursive wildcard in zsh<br/>cd – will return to the previous folder<br/>Use ctrl+z and kill %1 to kill a process that will not die<br/>pwdx shows the working directory of a process<br/>Use sh -x to debug shell scripts<br/>sysctl replaces /proc on macs<br/><br/><a href="http://pgrs.net/2009/2/20/useful-unix-tricks-part-3">http://pgrs.net/2009/2/20/useful-unix-tricks-part-3</a> <br/><br/>ps -eo pcpu,pid,args | sort -n => check CPU%<br/>grep -sq "" /etc/lsb-release && lsb_release -rd => run command if file exist<br/><br/>More about ps and free - <a href="http://www.thegeekstuff.com/2010/07/3-shell-scripts/">http://www.thegeekstuff.com/2010/07/3-shell-scripts/</a> <br/><br/>HTML tools for commandline - <a href="http://www.macdevcenter.com/lpt/a/6343">http://www.macdevcenter.com/lpt/a/6343</a> <br/><br/>Bash history - <a href="http://www.talug.org/events/20030709/cmdline_history.html">http://www.talug.org/events/20030709/cmdline_history.html</a> <br/><br/>Tips of using shell, like saving all history - <a href="http://blog.andrewhays.net/love-your-terminal">http://blog.andrewhays.net/love-your-terminal</a> <br/><br/>Standard Shell completion:<br/><br/> Variablename completion<br/> Username completion<br/> Executable completion<br/> Filename and directory completion<br/> Hostname completion<br/><br/><a href="http://www.thegeekstuff.com/2013/11/bash-standard-completion/">http://www.thegeekstuff.com/2013/11/bash-standard-completion/</a> <br/><br/>replace<br/>cp long_and_complex_file_name long_and_complex_file_name.backup<br/>with this:<br/>cp long_and_complex_file_name{,.backup}<br/><br/><a href="http://www.jacopretorius.net/2013/12/unix-trick-brace-expansion.html">http://www.jacopretorius.net[..]/2013/12/unix-trick-brace-expansion.html</a> <br/><br/>Use the history - <a href="http://www.jacopretorius.net/2013/12/my-favorite-unix-trick.html">http://www.jacopretorius.net/2013/12/my-favorite-unix-trick.html</a> <br/><br/>How to use xargs - <a href="http://www.thegeekstuff.com/2013/12/xargs-examples/">http://www.thegeekstuff.com/2013/12/xargs-examples/</a> <br/><br/>Nice presentation of man page - <a href="http://explainshell.com/explain?cmd=+ls+-ltr">http://explainshell.com/explain?cmd=+ls+-ltr</a> <br/><br/>Parallel shell - <a href="http://www.ubuntugeek.com/pssh-parallel-ssh-tools.html">http://www.ubuntugeek.com/pssh-parallel-ssh-tools.html</a> <br/><br/>A Beginner’s Guide to tmux - <a href="https://medium.com/pragmatic-programmers/a-beginners-guide-to-tmux-7e6daa5c0154">https://medium.com[..]s/a-beginners-guide-to-tmux-7e6daa5c0154</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2023-05-19T13:22:08Z vim.txt 2022-10-21T12:30:48Z 2022-10-21T12:30:48Z <br/>Web base vim as tutorials - <a href="http://www.knowvim.com/">http://www.knowvim.com/</a> <a href="http://www.openvim.com/tutorial.html">http://www.openvim.com/tutorial.html</a> <br/><br/>History of VIM - <a href="http://arstechnica.com/open-source/news/2011/11/two-decades-of-productivity-vims-20th-anniversary.ars">http://arstechnica.com[..]f-productivity-vims-20th-anniversary.ars</a> <br/><br/>Guide for editing text object, most already familiar with using 'w' for word editing, this blog discuss more about using 'p' for paragrahy and other related stuff. - <a href="http://blog.carbonfive.com/2011/10/17/vim-text-objects-the-definitive-guide/">http://blog.carbonfive.com[..]7/vim-text-objects-the-definitive-guide/</a> <br/><br/>Seven habits of effective text editing , a lot of nice tip of using vim, like hlsearch , omni-completion<br/><br/><a href="http://www.moolenaar.net/habits.pdf">http://www.moolenaar.net/habits.pdf</a> <br/><a href="http://video.google.com/videoplay?docid=2538831956647446078">http://video.google.com/videoplay?docid=2538831956647446078</a> <br/><br/>vimdiff tips - <a href="http://blog.objectmentor.com/articles/2008/04/30/vim-as-a-diff-merge-tool">http://blog.objectmentor.com[..]cles/2008/04/30/vim-as-a-diff-merge-tool</a> <a href="http://gcody.blog.ccidnet.com/blog-htm-itemid-1099899-uid-36931-do-showone-type-blog.html">http://gcody.blog.ccidnet.com[..]9899-uid-36931-do-showone-type-blog.html</a> <br/><br/>How to regex with line number - <a href="http://vim.wikia.com/wiki/Insert_line_numbers_2">http://vim.wikia.com/wiki/Insert_line_numbers_2</a> <br/><br/>cheat sheet of jumping around source code - <a href="http://www.faqs.org/docs/Linux-HOWTO/C-editing-with-VIM-HOWTO.html">http://www.faqs.org[..]inux-HOWTO/C-editing-with-VIM-HOWTO.html</a> <br/><br/>Nice analysis of good programming environment - <a href="http://www.benrady.com/2009/12/why-i-switched-from-textmate-to-vim.html">http://www.benrady.com[..]why-i-switched-from-textmate-to-vim.html</a> <br/><br/>Creating macros in vim - <a href="http://smartic.us/2010/02/03/creating-macros-in-vim">http://smartic.us/2010/02/03/creating-macros-in-vim</a> <br/><br/><a href="http://www.markhneedham.com/blog/2010/12/27/vim-learnings-so-far/">http://www.markhneedham.com/blog/2010/12/27/vim-learnings-so-far/</a> <- introduction to Command-T and FuzzyFinder <br/><br/>Some VIM tips:<br/><br/>Essential Vim editor navigation commands<br/>Vim search and replace – 12 powerful find and replace examples.<br/>How To add bookmarks inside the Vim editor<br/>How To record and play inside the Vim editor<br/>Correct spelling mistakes automatically inside the Vim Editor<br/>Automatic word completion using Ctrl-X<br/>Enable thesaurus option in the Vim editor<br/>Vim autocommand magic. Add custom header to your files automatically.<br/>Convert Vim editor to a beautiful source code browser.<br/>Use the Vim editor as a bash IDE, or C/C++ IDE, or Perl IDE.<br/><br/><a href="http://www.thegeekstuff.com/2010/04/vim-editor-tutorial/">http://www.thegeekstuff.com/2010/04/vim-editor-tutorial/</a> <a href="https://spin.atomicobject.com/2016/04/19/vim-commands-cheat-sheet/">https://spin.atomicobject.com[..]com/2016/04/19/vim-commands-cheat-sheet/</a> <br/><br/>ctrl+w, ctrl+w , vimdiff switch folder - hack2live.blogspot.com/2009/02/vimdiff-shortcut-keys.html<br/><br/>tutorial - <a href="http://javarevisited.blogspot.com/2011/06/vi-editor-in-unix-example-tutorial-and.html">http://javarevisited.blogspot.com[..]editor-in-unix-example-tutorial-and.html</a> <a href="https://danielmiessler.com/study/vim/">https://danielmiessler.com/study/vim/</a> <a href="https://www.reddit.com/r/vim/comments/3mfvdg/how_do_i_go_about_learning_vim/">https://www.reddit.com[..]s/3mfvdg/how_do_i_go_about_learning_vim/</a> <a href="https://towardsdatascience.com/how-to-vim-b1719c67f76a">https://towardsdatascience.com/how-to-vim-b1719c67f76a</a> <br/><br/>Compilation plugin - <a href="http://www.vim.org/scripts/script.php?script_id=3115#2.9.3">http://www.vim.org/scripts/script.php?script_id=3115#2.9.3</a> <br/><br/>Highlight multiple searches at the same time, each with a different color. - <a href="http://www.vim.org/scripts/script.php?script_id=479">http://www.vim.org/scripts/script.php?script_id=479</a> <a href="http://www.vim.org/scripts/script.php?script_id=2666#2.6.0">http://www.vim.org/scripts/script.php?script_id=2666#2.6.0</a> <br/><br/>C/C++ IDE - <a href="http://www.vim.org/scripts/script.php?script_id=213">http://www.vim.org/scripts/script.php?script_id=213</a> <a href="http://blog.wuwon.id.au/2011/10/vim-plugin-for-navigating-c-with.html">http://blog.wuwon.id.au[..]10/vim-plugin-for-navigating-c-with.html</a> <br/><br/>Evil, putting vi in emacs - <a href="http://spin.atomicobject.com/2013/02/28/emacs-or-vim-evil/">http://spin.atomicobject.com/2013/02/28/emacs-or-vim-evil/</a> <br/><br/>Fixing syntax at solaris, "export TERM=xtermc", ":syntax enable" - <a href="http://kdl.nobugware.com/post/2006/12/01/23-xterm-color-on-unix">http://kdl.nobugware.com/post/2006/12/01/23-xterm-color-on-unix</a> <br/><br/>Graph your Vim undo tree in style. - <a href="http://sjl.bitbucket.org/gundo.vim/">http://sjl.bitbucket.org/gundo.vim/</a> <br/><br/>Introduction to Selecta and Command-T, tool for fuzzy mapping and open files easier - <a href="http://marcovaltas.com/2013/12/27/selecta-on-vim-wildignore.html">http://marcovaltas.com/2013/12/27/selecta-on-vim-wildignore.html</a> <br/><br/><a href="http://superuser.com/questions/86246/where-should-the-vimrc-file-be-located-on-windows-7">http://superuser.com[..]d-the-vimrc-file-be-located-on-windows-7</a> <br/><br/>Open Visual Studio config as XML - <a href="https://groups.google.com/forum/#!topic/vim_use/HzVM9tjJP08">https://groups.google.com/forum/#!topic/vim_use/HzVM9tjJP08</a> <br/><br/>Snippert library ( e.g. function template ) - <a href="https://www.reddit.com/r/vim/comments/3h7lca/which_snippet_library_do_you_use/">https://www.reddit.com[..]3h7lca/which_snippet_library_do_you_use/</a> <br/><br/><a href="https://www.reddit.com/r/vim/comments/3h6tef/what_are_your_musthave_configs_and_plugins/">https://www.reddit.com[..]t_are_your_musthave_configs_and_plugins/</a> <br/><br/><a href="https://www.reddit.com/r/vim/comments/2w22gf/edit_google_docs_with_vim/">https://www.reddit.com[..]mments/2w22gf/edit_google_docs_with_vim/</a> <br/><br/><a href="https://www.reddit.com/r/vim/comments/3ijsi2/original_post_a_vimrc_primer/">https://www.reddit.com[..]nts/3ijsi2/original_post_a_vimrc_primer/</a> <br/><br/><a href="https://www.reddit.com/r/vim/comments/3n34j4/do_you_use_an_autocomplete_plugin_if_yes_which_one/">https://www.reddit.com[..]an_autocomplete_plugin_if_yes_which_one/</a> <br/><br/>gUU to turn whole line upper case, and guu to turn whole line lower case - <a href="https://www.reddit.com/r/vim/comments/3j90lv/til_guu_guu_makes_an_entire_line_lowercase_and/">https://www.reddit.com[..]_guu_makes_an_entire_line_lowercase_and/</a> <br/><br/>can use :TOhtml to turn a text file to HTML - <a href="http://jezenthomas.com/how-i-write-invoices-in-vim/">http://jezenthomas.com/how-i-write-invoices-in-vim/</a> <br/><br/>set encoding=utf-8 - <a href="https://www.reddit.com/r/vim/comments/ge8mf/ask_vim_how_to_reliably_switch_to_using_utf8_by/">https://www.reddit.com[..]how_to_reliably_switch_to_using_utf8_by/</a> <br/><br/>If you like to test the regex for vi, can refer to this - <a href="http://www.virex.org/">http://www.virex.org/</a> <br/><br/><a href="http://www.hostingadvice.com/blog/vim-creator-champions-charityware/">http://www.hostingadvice.com[..]/blog/vim-creator-champions-charityware/</a> <br/><br/>Another blog about using vim as IDE - <a href="https://spacevim.org/2017/02/11/use-vim-as-a-java-ide">https://spacevim.org/2017/02/11/use-vim-as-a-java-ide</a> <br/><br/>vim cheat sheet - <a href="https://i.redd.it/8xu7welujmx41.png">https://i.redd.it/8xu7welujmx41.png</a> <a href="http://vimsheet.com">http://vimsheet.com</a> <a href="https://github.com/ibhagwan/dots/blob/master/README-vim.md">https://github.com/ibhagwan/dots/blob/master/README-vim.md</a> <br/><br/><a href="https://blog.antoyo.xyz/vim-tips">https://blog.antoyo.xyz/vim-tips</a> <a href="https://simianwesthighlandterrier.htmlpasta.com/">https://simianwesthighlandterrier.htmlpasta.com/</a> <br/><br/>Write Code Faster in Vim - <a href="https://jacobcomer.medium.com/write-code-faster-in-vim-c564ff9b9f6c">https://jacobcomer.medium.com[..]om/write-code-faster-in-vim-c564ff9b9f6c</a> <br/><br/><a href="https://www.reddit.com/r/vim/comments/f4prel/i_started_using_spacemacsevil_and_made_this_vim/">https://www.reddit.com[..]d_using_spacemacsevil_and_made_this_vim/</a> <br/><br/>How Vim works internally? - <a href="https://www.reddit.com/r/vim/comments/hpt9l9/how_vim_works_internally/">https://www.reddit.com[..]omments/hpt9l9/how_vim_works_internally/</a> <br/><br/>Sample example of a VIM plugin - <a href="https://www.statox.fr/posts/vim/vim_flash_yanked_text/">https://www.statox.fr/posts/vim/vim_flash_yanked_text/</a> <br/><br/>Vim has a built-in Emoji Picker! - <a href="https://www.reddit.com/r/vim/comments/ioewb0/vim_has_a_builtin_emoji_picker/">https://www.reddit.com[..]s/ioewb0/vim_has_a_builtin_emoji_picker/</a> <br/><br/>Fast Typing: vi - <a href="https://codefaster.substack.com/p/fast-typing-vi">https://codefaster.substack.com/p/fast-typing-vi</a> <br/><br/>Vim as HTTP client - <a href="https://nazarii.bardiuk.com/posts/vim-curl.html">https://nazarii.bardiuk.com/posts/vim-curl.html</a> <br/><br/>Vim team - <a href="https://se.ewi.tudelft.nl/desosa2019/chapters/vim/">https://se.ewi.tudelft.nl/desosa2019/chapters/vim/</a> <br/><br/>How To Password Protect Text Files Using Vim Editor In Linux - <a href="https://www.noblevolkswagen.com.au/special-offers/m/passenger-offers/">https://www.noblevolkswagen.com.au[..]om.au/special-offers/m/passenger-offers/</a> <br/><br/>Learning Vim: What I Wish I Knew - <a href="https://hackernoon.com/learning-vim-what-i-wish-i-knew-b5dca186bef7">https://hackernoon.com[..]ning-vim-what-i-wish-i-knew-b5dca186bef7</a> <br/><br/>How to format/sort/aggregate text in shell, and also vim - <a href="https://vimways.org/2019/vim-and-the-shell/">https://vimways.org/2019/vim-and-the-shell/</a> <br/><br/>Inserting incremental numbers for each key in a JSON file? - <a href="https://www.reddit.com/r/vim/comments/pwssun/inserting_incremental_numbers_for_each_key_in_a/">https://www.reddit.com[..]g_incremental_numbers_for_each_key_in_a/</a> <br/><br/>It’s time to Edit effectively in Vim, a visual article - <a href="https://susamn.medium.com/its-time-to-edit-effectively-in-vim-a-visual-article-76f9d0b45938">https://susamn.medium.com[..]ely-in-vim-a-visual-article-76f9d0b45938</a> <br/><br/>Completion tips - <a href="https://georgebrock.github.io/talks/vim-completion/">https://georgebrock.github.io/talks/vim-completion/</a> <br/><br/>Vim's life-changing c% - <a href="https://thepugautomatic.com/2014/03/vims-life-changing-c-percent/">https://thepugautomatic.com/2014/03/vims-life-changing-c-percent/</a> <br/><br/>Vim Sessions - <a href="https://medium.com/vim-drops/vim-sessions-50756b2c603a">https://medium.com/vim-drops/vim-sessions-50756b2c603a</a> <br/><br/>How to set up Vim in 2021? - <a href="https://medium.com/@edominguez.se/vim-101-a-comprehensive-guide-to-using-vim-like-an-ide-1-3-vimrc-d484cc41fc2">https://medium.com[..]ng-vim-like-an-ide-1-3-vimrc-d484cc41fc2</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2022-10-21T12:30:48Z security.txt 2022-07-20T01:36:17Z 2022-07-20T01:36:17Z <br/>Built-in checksum tool "cksum" - <a href="https://www.freecodecamp.org/news/file-last-modified-in-inux-how-to-check-if-two-files-are-same/">https://www.freecodecamp.org[..]inux-how-to-check-if-two-files-are-same/</a> <br/><br/>Disable root password - <a href="http://www.debianadmin.com/enable-and-disable-ubuntu-root-password.html">http://www.debianadmin.com[..]le-and-disable-ubuntu-root-password.html</a> <br/><br/>How can we fine tune permission more than chmod - <a href="http://man-wiki.net/index.php/3:cap_from_text">http://man-wiki.net/index.php/3:cap_from_text</a> <br/><br/>1. From a shell account on a Unix box behind the firewalled network do this:<br/><br/> ssh -N -R 3389:localhost:22 [email protected]<br/><br/>2. Leave work and go home. From a shell account on remote-unix-box.net do this:<br/><br/> ssh 127.0.0.1 -p 3389<br/><br/><a href="http://16systems.com/acls.txt">http://16systems.com/acls.txt</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2022-07-20T01:36:17Z display.txt 2022-03-03T23:10:30Z 2022-03-03T23:10:30Z <br/>Make your Bash scripts more interactive and futuristic with these tips. - <a href="https://levelup.gitconnected.com/5-modern-bash-scripting-techniques-that-only-a-few-programmers-know-4abb58ddadad">https://levelup.gitconnected.com[..]only-a-few-programmers-know-4abb58ddadad</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2022-03-03T23:10:30Z startup.txt 2022-02-06T14:46:59Z 2022-02-06T14:46:59Z <br/>systemd, An introduction! - <a href="https://dev.to/ethanrodrigo/systemd-an-introduction-lc6">https://dev.to/ethanrodrigo/systemd-an-introduction-lc6</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2022-02-06T14:46:59Z Linux.txt 2022-01-19T00:14:25Z 2022-01-19T00:14:25Z <br/>How to get the system thread version - getconf GNU_LIBPTHREAD_VERSION <a href="http://groups.google.com/group/comp.programming.threads/browse_thread/thread/81ff4b5d1ea3372d?hl=en">http://groups.google.com[..]wse_thread/thread/81ff4b5d1ea3372d?hl=en</a> <br/><br/>How to prevent module getting load, by edit /etc/modprobe.d/blacklist.conf : <a href="http://www.basshero.org/62/how-to-disable-devices-in-ubuntu/">http://www.basshero.org/62/how-to-disable-devices-in-ubuntu/</a> <br/><br/>Standard Linux error code - <a href="http://www.thegeekstuff.com/2010/10/linux-error-codes/">http://www.thegeekstuff.com/2010/10/linux-error-codes/</a> <br/><br/><a href="http://www.thegeekstuff.com/2011/03/linux-performance-monitoring-intro">http://www.thegeekstuff.com[..]11/03/linux-performance-monitoring-intro</a> <br/><br/>Discussion about why Linux is way faster than Windows for huge number of small file processing - <a href="http://stackoverflow.com/questions/6916011/how-do-i-get-windows-to-go-as-fast-as-linux-for-compiling-c">http://stackoverflow.com[..]s-to-go-as-fast-as-linux-for-compiling-c</a> <a href="http://games.greggman.com/game/why-is-windows-so-slow/">http://games.greggman.com/game/why-is-windows-so-slow/</a> <br/><br/>"sync; sudo echo 3 > /proc/sys/vm/drop_caches" - <a href="http://www.ubuntugeek.com/how-to-clear-cached-memory-on-ubuntu.html">http://www.ubuntugeek.com[..]ow-to-clear-cached-memory-on-ubuntu.html</a> <br/><br/>Funny linux commands - <a href="http://www.pixelstech.net/article/1370744983-Funny-Linux-commands">http://www.pixelstech.net/article/1370744983-Funny-Linux-commands</a> <br/><br/>25 years of linux - <a href="https://medium.freecodecamp.com/linux-is-25-yay-lets-celebrate-with-25-rad-facts-about-linux-c8d8ac30076d#.m6b9wnhni">https://medium.freecodecamp.com[..]acts-about-linux-c8d8ac30076d#.m6b9wnhni</a> <br/><br/>basic-principle-of-Linux-privilege-control - <a href="http://www.infoq.com/cn/articles/basic-principle-of-Linux-privilege-control">http://www.infoq.com[..]sic-principle-of-Linux-privilege-control</a> <br/><br/>New approach to save memory - <a href="https://code.fb.com/production-engineering/open-sourcing-oomd-a-new-approach-to-handling-ooms/">https://code.fb.com[..]ng-oomd-a-new-approach-to-handling-ooms/</a> <br/><br/>a-zoological-guide-to-kernel-data-structures - <a href="https://medium.com/oracledevs/a-zoological-guide-to-kernel-data-structures-4c68207e186b">https://medium.com[..]e-to-kernel-data-structures-4c68207e186b</a> <br/><br/>The Arch Linux Handbook - <a href="https://www.freecodecamp.org/news/how-to-install-arch-linux/">https://www.freecodecamp.org/news/how-to-install-arch-linux/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2022-01-19T00:14:25Z automation.txt 2021-11-03T12:09:14Z 2021-11-03T12:09:14Z <br/>What is Ansible? A Tool to Automate Parts of Your Job - <a href="https://www.freecodecamp.org/news/what-is-ansible">https://www.freecodecamp.org/news/what-is-ansible</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2021-11-03T12:09:14Z performance.txt 2021-07-10T13:32:48Z 2021-07-10T13:32:48Z <br/>Few config suggestions - <a href="http://blog.monitis.com/index.php/2011/05/11/20-linux-server-performance-tips-part-2/">http://blog.monitis.com[..]20-linux-server-performance-tips-part-2/</a> <br/><br/>Linux kernel profiling with perf - <a href="https://perf.wiki.kernel.org/index.php/Tutorial">https://perf.wiki.kernel.org/index.php/Tutorial</a> <a href="http://lxr.free-electrons.com/source/tools/perf/design.txt">http://lxr.free-electrons.com/source/tools/perf/design.txt</a> <br/><br/>Intel VTune Amplifier profiler - <a href="http://software.intel.com/en-us/intel-vtune-amplifier-xe">http://software.intel.com/en-us/intel-vtune-amplifier-xe</a> <br/><br/>Oracle solaris studio - <a href="http://www.oracle.com/technetwork/server-storage/solarisstudio/overview/index.html">http://www.oracle.com[..]torage/solarisstudio/overview/index.html</a> <br/><br/><a href="http://www.brendangregg.com/linuxperf.html">http://www.brendangregg.com/linuxperf.html</a> <- "This page links to various Linux performance material I've created, including the tools maps on the right." <br/><br/>Simple config to kernel can get meaningful performance improvement, if needed - <a href="https://blog.acolyer.org/2019/11/04/an-analysis-of-performance-evolution-of-linuxs-core-operations/">https://blog.acolyer.org[..]nce-evolution-of-linuxs-core-operations/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2021-07-10T13:32:48Z monitoring.txt 2020-12-29T14:03:33Z 2020-12-29T14:03:33Z <br/>Using unhide to check hidden process - <a href="http://www.ubuntugeek.com/unhide-the-opensource-forensic-tool.html">http://www.ubuntugeek.com[..]unhide-the-opensource-forensic-tool.html</a> <br/><br/>fuser, check which user using the file or directory - <a href="http://www.thegeekstuff.com/2012/02/linux-fuser-command/">http://www.thegeekstuff.com/2012/02/linux-fuser-command/</a> <br/><br/>htop, look much better than top - <a href="http://nerds-central.blogspot.com/2011/06/right-no-i-am-loving-htop-it-is-linux.html">http://nerds-central.blogspot.com[..]ght-no-i-am-loving-htop-it-is-linux.html</a> <a href="http://www.thegeekstuff.com/2011/09/linux-htop-examples">http://www.thegeekstuff.com/2011/09/linux-htop-examples</a> <br/><br/>Tutorial of both lsof and pstack - <a href="http://myhowto.org/solving-problems/5-exploring-system-internals-with-lsof-and-strace/#strace_run">http://myhowto.org[..]ternals-with-lsof-and-strace/#strace_run</a> <br/><br/>Tutorial of SAR - <a href="http://www.thegeekstuff.com/2011/03/sar-examples">http://www.thegeekstuff.com/2011/03/sar-examples</a> . In Solaris, you can check SAR from previous days using "sar -f /var/adm/sa/sa30 <options>" ( last 30th ) <br/><br/>If we like to see the detail from "ps" command:<br/>solaris: /usr/ucb/ps -awwx , or, use pargs, but need sudo to that user - <a href="http://javarevisited.blogspot.com.au/2015/01/solaris-command-to-show-long-argument-of-running-process.html">http://javarevisited.blogspot.com.au[..]ow-long-argument-of-running-process.html</a> <br/>linux: ps -aef --cols [XXXX]<br/><br/>prstat - use prstat instead of ps in solaris <a href="http://developers.sun.com/solaris/articles/prstat.html">http://developers.sun.com/solaris/articles/prstat.html</a> <br/>How to check physical memory on solaris? /usr/sbin/prtconf | grep Memory <a href="http://www.dbapool.com/faqs/Q_116.html">http://www.dbapool.com/faqs/Q_116.html</a> <br/><br/>Other forensics tools - <a href="http://www.forensicfocus.com/computer-forensics-software-intro.php">http://www.forensicfocus.com[..]om/computer-forensics-software-intro.php</a> <br/><br/>Sun monitoring tools collections - <a href="http://blogs.sun.com/toddjobson/entry/solaris_performance_monitoring_tools">http://blogs.sun.com[..]try/solaris_performance_monitoring_tools</a> <a href="http://tech.varghees.com/2011/01/21/commonly-used-system-monitoring-commands-in-linux/">http://tech.varghees.com[..]sed-system-monitoring-commands-in-linux/</a> <br/><br/>time, basic unix util - <a href="http://www.thegeekstuff.com/2013/10/time-command-format">http://www.thegeekstuff.com/2013/10/time-command-format</a> <br/><br/><a href="http://www.baptiste-wicht.com/2013/12/zabbix-low-level-discovery-cores-cpus-hard-disk/">http://www.baptiste-wicht.com[..]ow-level-discovery-cores-cpus-hard-disk/</a> <br/><br/>10 commands for system monitoring - <a href="http://techblog.netflix.com/2015/11/linux-performance-analysis-in-60s.html">http://techblog.netflix.com[..]1/linux-performance-analysis-in-60s.html</a> <a href="http://www.infoq.com/cn/news/2015/12/linux-performance">http://www.infoq.com/cn/news/2015/12/linux-performance</a> <br/><br/><a href="https://linuxcommando.blogspot.com/2020/04/inxi-swiss-army-knife-for-displaying.html">https://linuxcommando.blogspot.com[..]nxi-swiss-army-knife-for-displaying.html</a> <br/><br/>Top explain - <a href="https://dzone.com/articles/different-cpu-times-unixlinux-top">https://dzone.com/articles/different-cpu-times-unixlinux-top</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2020-12-29T14:03:33Z network.txt 2020-10-11T13:30:21Z 2020-10-11T13:30:21Z <br/>TCP tuning - <a href="http://rodrickbrown.com/blog/?p=127">http://rodrickbrown.com/blog/?p=127</a> <br/><br/>UNIX network performance analysis - <a href="http://www.ibm.com/developerworks/aix/library/au-networkperfanalysis">http://www.ibm.com[..]works/aix/library/au-networkperfanalysis</a> <br/><br/>Netstat tips - <a href="http://www.thegeekstuff.com/2010/03/netstat-command-examples/">http://www.thegeekstuff.com/2010/03/netstat-command-examples/</a> <br/><br/>Introduction to a lot of difference commands - <a href="http://tech.varghees.com/2011/01/25/commonly-used-network-monitoring-commands-in-linux-part-i">http://tech.varghees.com[..]work-monitoring-commands-in-linux-part-i</a> <br/><br/>Commandline tools which can do most HTTP message - <a href="http://www.thekua.com/atwork/2011/11/scripting-web-applications-with-curl/">http://www.thekua.com[..]11/scripting-web-applications-with-curl/</a> <br/><br/>Tools to show contents from network - <a href="http://coding.smashingmagazine.com/2012/10/29/powerful-command-line-tools-developers/">http://coding.smashingmagazine.com[..]/powerful-command-line-tools-developers/</a> <br/><br/><a href="http://java67.blogspot.com.au/2012/12/unix-command-to-find-ip-address-from-hostname.html">http://java67.blogspot.com.au[..]nd-to-find-ip-address-from-hostname.html</a> <br/><br/>/proc/sys/net/core/<br/>/rmem_default: The default setting of the socket receive buffer in bytes.<br/>/rmem_max: The maximum receive socket buffer size in bytes.<br/>/wmem_default: The default setting (in bytes) of the socket send buffer.<br/>/wmem_max: The maximum send socket buffer size in bytes.<br/>Only for Linux - <a href="http://www.lainoox.com/view-or-set-socket-receive-buffer-size/">http://www.lainoox.com/view-or-set-socket-receive-buffer-size/</a> <br/><br/>Getting IP of the host: <a href="http://whatismyipaddress.com/">http://whatismyipaddress.com/</a> "wget <a href="http://ipecho.net/plain">http://ipecho.net/plain</a> -O - -q ; echo" from - <a href="http://ru05team.blogspot.com.au/2013/06/if-you-want-to-check-you-current-public.html">http://ru05team.blogspot.com.au[..]ou-want-to-check-you-current-public.html</a> <br/><br/>Use tcpdump and tshark to monitor network activity - <a href="http://jvns.ca/blog/2016/03/16/tcpdump-is-amazing/">http://jvns.ca/blog/2016/03/16/tcpdump-is-amazing/</a> <br/><br/>一篇文章搞定 Nginx 反向代理与负载均衡 - <a href="https://xie.infoq.cn/article/d7ad4d2500d6ce6a4ce3b9c16">https://xie.infoq.cn/article/d7ad4d2500d6ce6a4ce3b9c16</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2020-10-11T13:30:21Z text.txt 2017-08-06T09:21:16Z 2017-08-06T09:21:16Z <br/>10 awk tips - <a href="http://www.catonmat.net/blog/ten-awk-tips-tricks-and-pitfalls/">http://www.catonmat.net/blog/ten-awk-tips-tricks-and-pitfalls/</a> <br/><br/>8 Powerful Awk Built-in Variables – FS, OFS, RS, ORS, NR, NF, FILENAME, FNR - <a href="http://www.thegeekstuff.com/2010/01/8-powerful-awk-built-in-variables-fs-ofs-rs-ors-nr-nf-filename-fnr/">http://www.thegeekstuff.com[..]iables-fs-ofs-rs-ors-nr-nf-filename-fnr/</a> <br/><br/>Tutorial of text editing commands - <a href="http://www.ibm.com/developerworks/aix/library/au-unixtext/index.html">http://www.ibm.com[..]works/aix/library/au-unixtext/index.html</a> <br/><br/>wc and nl tutorial - <a href="http://www.thegeekstuff.com/2013/02/wc-nl-examples/">http://www.thegeekstuff.com/2013/02/wc-nl-examples/</a> <a href="https://enkipro.com/insight/558ac712249a234c00842b68">https://enkipro.com/insight/558ac712249a234c00842b68</a> <br/><br/>tips for uniq, like show only items have duplications - <a href="http://www.thegeekstuff.com/2013/05/uniq-command-examples/">http://www.thegeekstuff.com/2013/05/uniq-command-examples/</a> <br/><br/>Tips of "cat", include display by column and by delimiter - <a href="http://www.thegeekstuff.com/2013/06/cut-command-examples/">http://www.thegeekstuff.com/2013/06/cut-command-examples/</a> <br/><br/>Using lynx to convert HTML to text - <a href="https://enkipro.com/insight/558aaea45800843200bca364">https://enkipro.com/insight/558aaea45800843200bca364</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2017-08-06T09:21:16Z file.txt 2017-08-06T09:20:16Z 2017-08-06T09:20:16Z <br/>Various ways to working with file - <a href="http://www.catonmat.net/blog/bash-one-liners-explained-part-one/">http://www.catonmat.net/blog/bash-one-liners-explained-part-one/</a> <br/><br/>Use truncate to pad the file size up - <a href="http://www.lainoox.com/truncate-shrink-extend-files/">http://www.lainoox.com/truncate-shrink-extend-files/</a> <br/><br/>Making a file unalterable with chattr - <a href="https://enkipro.com/insight/558ac712249a234c00842b68">https://enkipro.com/insight/558ac712249a234c00842b68</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2017-08-06T09:20:16Z development.txt 2017-06-14T10:34:19Z 2017-06-14T10:34:19Z <br/>A bash debugger - <a href="http://bashdb.sourceforge.net/">http://bashdb.sourceforge.net/</a> <br/><br/>Really really good tips - <a href="http://fahdshariff.blogspot.com.au/2013/10/shell-scripting-best-practices.html">http://fahdshariff.blogspot.com.au[..]3/10/shell-scripting-best-practices.html</a> <br/><br/>Style guide - <a href="http://www.kfirlavi.com/blog/2012/11/14/defensive-bash-programming">http://www.kfirlavi.com[..]og/2012/11/14/defensive-bash-programming</a> <br/><br/>Script checker - <a href="https://www.shellcheck.net/">https://www.shellcheck.net/</a> <br/><br/>How to write a shell - <a href="https://indradhanush.github.io/blog/writing-a-unix-shell-part-1">https://indradhanush.github.io/blog/writing-a-unix-shell-part-1</a> <a href="https://indradhanush.github.io/blog/writing-a-unix-shell-part-2">https://indradhanush.github.io/blog/writing-a-unix-shell-part-2</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2017-06-14T10:34:19Z desktop.txt 2017-01-20T03:52:35Z 2017-01-20T03:52:35Z <br/>Some useful tools - <a href="https://nicolas.perriault.net/code/2016/from-osx-to-ubuntu/">https://nicolas.perriault.net/code/2016/from-osx-to-ubuntu/</a> <br/><br/>Tuning - <a href="http://www.akitaonrails.com/2017/01/17/optimizing-linux-for-slow-computers">http://www.akitaonrails.com[..]1/17/optimizing-linux-for-slow-computers</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2017-01-20T03:52:35Z bug.txt 2016-11-30T04:57:15Z 2016-11-30T04:57:15Z <br/>25 years old bug - <a href="http://www.osnews.com/story/19731/The-25-Year-Old-UNIX-Bug">http://www.osnews.com/story/19731/The-25-Year-Old-UNIX-Bug</a> <br/><br/>The problem of copying to other machine and screw up the permission - <a href="http://unixhorrorstories.blogspot.hk/2011/08/unix-horror-stories-good-thing-about.html">http://unixhorrorstories.blogspot.hk[..]nix-horror-stories-good-thing-about.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2016-11-30T04:57:15Z reference.txt 2016-10-06T15:23:20Z 2016-10-06T15:23:20Z <br/>A very nice sectioned list of unix command - <a href="http://en.wikipedia.org/wiki/List_of_Unix_programs">http://en.wikipedia.org/wiki/List_of_Unix_programs</a> <br/><br/>Backup a list of directories - <a href="http://linuxintegrators.com/acoliver/code/?permalink=x-0272.html">http://linuxintegrators.com/acoliver/code/?permalink=x-0272.html</a> <br/><br/>A quick reference - <a href="http://www.cs.usfca.edu/~parrt/course/601/lectures/unix.util.html">http://www.cs.usfca.edu/~parrt/course/601/lectures/unix.util.html</a> <br/><br/>Tuning cheat sheet - <a href="http://www.performancewiki.com/linux-tuning.html">http://www.performancewiki.com/linux-tuning.html</a> <br/><br/>Common and difference between systems - <a href="http://www.thegeekstuff.com/2012/01/linux-unix-kernel/">http://www.thegeekstuff.com/2012/01/linux-unix-kernel/</a> <br/><br/>BSD for linux user - <a href="http://www.over-yonder.net/~fullermd/rants/bsd4linux/01">http://www.over-yonder.net/~fullermd/rants/bsd4linux/01</a> <br/><br/>Actually a quick tutorial - <a href="https://sanctum.geek.nz/arabesque/series/unix-as-ide/">https://sanctum.geek.nz/arabesque/series/unix-as-ide/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2016-10-06T15:23:20Z bash.txt 2016-04-01T03:29:26Z 2016-04-01T03:29:26Z <br/>How to use eval, hash, readonly, shift, getopts, set, unset, let and shopt - <a href="http://www.thegeekstuff.com/2010/08/bash-shell-builtin-commands">http://www.thegeekstuff.com/2010/08/bash-shell-builtin-commands</a> <br/><br/>Sample bash completion<br/><br/>SSH_COMPLETE=( $(cut -f1 -d' ' ~/.ssh/known_hosts |\<br/> tr ',' '\n' |\<br/> sort -u |\<br/> grep -e '[:alpha:]') )<br/>complete -o default -W "${SSH_COMPLETE[*]}" ssh<br/><br/><a href="http://kasparov.skife.org/blog/stuff/starting-a-meme.html">http://kasparov.skife.org/blog/stuff/starting-a-meme.html</a> <br/><br/>Check history statistic - brianm@binky:~$ history | awk {'print $2'} | sort | uniq -c | sort -k1 -rn | head<br/> 164 svn<br/> 52 cd<br/> 42 ssh<br/> 32 sudo<br/> 22 git<br/> 16 ls<br/> 16 for<br/> 14 echo<br/> 13 man<br/> 10 curl<br/>brianm@binky:~$<br/><br/><a href="http://bluebones.net/2008/04/history-meme/">http://bluebones.net/2008/04/history-meme/</a> <br/><br/>easy way to do "[-h|--help][-n|--name <name>]" - <a href="http://binkley.blogspot.com/2016/03/bash-long-options.html">http://binkley.blogspot.com/2016/03/bash-long-options.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2016-04-01T03:29:26Z grep.txt 2016-02-03T14:01:03Z 2016-02-03T14:01:03Z <br/>count, highlight and by position - <a href="http://www.thegeekstuff.com/2009/03/15-practical-unix-grep-command-examples/">http://www.thegeekstuff.com[..]15-practical-unix-grep-command-examples/</a> <br/><br/>Few examples of how to use grep - <a href="http://www.thegeekstuff.com/2011/10/grep-or-and-not-operators">http://www.thegeekstuff.com/2011/10/grep-or-and-not-operators</a> <a href="http://javarevisited.blogspot.com/2011/06/10-examples-of-grep-command-in-unix-and.html">http://javarevisited.blogspot.com[..]xamples-of-grep-command-in-unix-and.html</a> <br/><br/>Using regex - <a href="http://www.thegeekstuff.com/2011/01/regular-expressions-in-grep-command/">http://www.thegeekstuff.com[..]/01/regular-expressions-in-grep-command/</a> <a href="http://www.thegeekstuff.com/2011/01/advanced-regular-expressions-in-grep-command-with-10-examples-%E2%80%93-part-ii/">http://www.thegeekstuff.com[..]mand-with-10-examples-%E2%80%93-part-ii/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2016-02-03T14:01:03Z locate.txt 2016-02-03T13:55:53Z 2016-02-03T13:55:53Z <br/><a href="http://www.thegeekstuff.com/2012/03/locate-command-examples/">http://www.thegeekstuff.com/2012/03/locate-command-examples/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2016-02-03T13:55:53Z Embedded.txt 2015-12-30T07:09:53Z 2015-12-30T07:09:53Z <br/>Embedded Programming with the GNU Toolchain - <a href="http://www.bravegnu.org/gnu-eprog/">http://www.bravegnu.org/gnu-eprog/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2015-12-30T07:09:53Z tracing.txt 2015-11-09T07:34:36Z 2015-11-09T07:34:36Z <br/>Look like a nice tools provide more information for performance issue - <a href="http://oprofile.sourceforge.net/examples/">http://oprofile.sourceforge.net/examples/</a> <br/><br/>Check CPU problem with prstat<br/><a href="http://javaeesupportpatterns.blogspot.ca/2011/12/prstat-solaris-pinpoint-high-cpu-java.html">http://javaeesupportpatterns.blogspot.ca[..]stat-solaris-pinpoint-high-cpu-java.html</a> <br/><a href="http://javaeesupportpatterns.blogspot.ca/2012/02/prstat-linux-how-to-pinpoint-high-cpu.html">http://javaeesupportpatterns.blogspot.ca[..]stat-linux-how-to-pinpoint-high-cpu.html</a> <br/><a href="http://javaeesupportpatterns.blogspot.ca/2011/12/prstat-aix-how-to-pinpoint-high-cpu.html">http://javaeesupportpatterns.blogspot.ca[..]prstat-aix-how-to-pinpoint-high-cpu.html</a> <br/><br/><a href="http://www.thegeekstuff.com/2012/03/reverse-engineering-tools">http://www.thegeekstuff.com/2012/03/reverse-engineering-tools</a> <br/><br/>If we like to trace process detail flow, system call and file opened - <a href="http://www.ussg.iu.edu/UAU/advcomm/truss.html">http://www.ussg.iu.edu/UAU/advcomm/truss.html</a> <a href="http://fuse4bsd.creo.hu/localcgi/man-cgi.cgi?truss+1">http://fuse4bsd.creo.hu/localcgi/man-cgi.cgi?truss+1</a> <br/><br/><br/> -l Includes the id of the responsible lightweight process<br/> (LWP) with each line of trace output. If -f is also<br/> specified, both the process-id and the LWP-id are<br/> included.<br/><br/><br/><br/>If the process hang and we like to check why, can try pstack - <a href="http://www.google.com/search?client=opera&rls=en&q=pstack&sourceid=opera&ie=utf-8&oe=utf-8">http://www.google.com[..]=pstack&sourceid=opera&ie=utf-8&oe=utf-8</a> <br/><br/>Check where is the core dump to - <a href="http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/9f46dfb277c72cc8#">http://groups.google.com[..]s/browse_thread/thread/9f46dfb277c72cc8#</a> <br/><br/>Use gcore to generate coredump for running process - <a href="http://www.gsp.com/cgi-bin/man.cgi?section=1&topic=gcore">http://www.gsp.com/cgi-bin/man.cgi?section=1&topic=gcore</a> <br/><br/>If we like to check the which process id using which port, we can use lsof or "pfiles /proc/*"<br/>1) save the output of "pfiles /proc/*" to a file<br/>2) grep the file for that port, then find the PID, e.g., say here is the part of the output:<br/><pre><br/>5859: java -Djava.awt.headless=true -DX_R_BRGD -Xms512M -Xmx1024M -Djava.io.<br/> Current rlimit: 1024 file descriptors<br/> 0: S_IFCHR mode:0666 dev:85,0 ino:980953 uid:0 gid:3 rdev:13,2<br/> O_RDONLY|O_LARGEFILE<br/><br/>....... ( 125 FD after) ......<br/><br/> 125: S_IFSOCK mode:0666 dev:313,0 ino:40404 uid:0 gid:0 size:0<br/> O_RDWR<br/> sockname: AF_INET 10.152.22.22 port: 18075<br/> peername: AF_INET 169.19.21.63 port: 41792<br/></pre><br/>Then PID 5859 is the process working with the port 18075, however, it only work for process which is viewable according to your permission setting<br/><br/>Another probably easier way, and provide more information, is using <pre>lsof -i :[port]</pre> - <a href="http://javarevisited.blogspot.com/2015/11/how-to-find-pid-of-process-listening-on-a-port-unix-netstat-lsof-command-examples.html">http://javarevisited.blogspot.com[..]-unix-netstat-lsof-command-examples.html</a> <br/><br/>If we like to check the which process id using which file, we can use fuser - <a href="http://linuxcommand.org/man_pages/fuser1.html">http://linuxcommand.org/man_pages/fuser1.html</a> <br/><br/>Check host and port that any process accessing using lsof - <a href="http://www.geekology.co.za/blog/2009/10/checking-which-processes-are-accessing-internet-on-unix-machine/">http://www.geekology.co.za[..]-are-accessing-internet-on-unix-machine/</a> <br/><br/>How do I monitor or view the thread count of a certain process - ps -o pid,comm,user,thcount -p <process id> - <a href="http://superuser.com/questions/49408/how-do-i-monitor-or-view-the-thread-count-of-a-certain-process-on-aix">http://superuser.com[..]thread-count-of-a-certain-process-on-aix</a> <br/><br/>Examples of using strace, use -e to trace function call is useful - <a href="http://www.thegeekstuff.com/2011/11/strace-examples">http://www.thegeekstuff.com/2011/11/strace-examples</a> <br/><br/>The nm commands provides information on the symbols being used in an object file or executable file. - <a href="http://www.thegeekstuff.com/2012/03/linux-nm-command/">http://www.thegeekstuff.com/2012/03/linux-nm-command/</a> <br/><br/>Use pmap -s -x to look at what's in the virtual address space of yr process and what portion thereof is resident in physical memory.<br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2015-11-09T07:34:36Z sed.txt 2015-08-21T02:01:52Z 2015-08-21T02:01:52Z <br/><a href="http://www.catonmat.net/blog/worlds-best-introduction-to-sed/">http://www.catonmat.net/blog/worlds-best-introduction-to-sed/</a> <br/><br/><a href="http://javarevisited.blogspot.com.au/2013/05/sed-command-examples-in-unix-and-linux.html">http://javarevisited.blogspot.com.au[..]-command-examples-in-unix-and-linux.html</a> <br/><br/><a href="http://www.markhneedham.com/blog/2015/08/13/sed-using-environment-variables/">http://www.markhneedham.com[..]5/08/13/sed-using-environment-variables/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2015-08-21T02:01:52Z time.txt 2015-08-20T15:40:08Z 2015-08-20T15:40:08Z <br/><a href="http://juliusdavies.ca/posix_clocks/clock_realtime_linux_faq.html">http://juliusdavies.ca/posix_clocks/clock_realtime_linux_faq.html</a> <a href="http://efreedom.com/Question/1-6814792/Clock-Gettime-Erratic">http://efreedom.com/Question/1-6814792/Clock-Gettime-Erratic</a> <br/><br/>Unix timezone - <a href="https://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/timezone.html">https://www.vmware.com[..]isdk400pubs/ReferenceGuide/timezone.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2015-08-20T15:40:08Z