Search results

From wikinotes
  • Netstat (category Pages using deprecated source tags)
    netstat shows TCP ports and their TCP-state. netstat -an # display netwk connections (listening, connected, etc) netstat -4 -f inet -n -r # display routing
    263 bytes (25 words) - 16:39, 3 July 2020
  • Zsh antigen (category Pages using deprecated source tags)
    manager for zsh. pacaur -S antigen Plugins are declared within your ~/.zshrc. source /path/to/antigen.zsh antigen bundle zsh-users/zsh-autosuggestions antigen
    562 bytes (33 words) - 17:23, 8 November 2020
  • Ruby irb (category Pages using deprecated source tags)
    ruby-irb # ~/.irbrc IRB.conf[:USE_SINGLELINE] = true # use 'readline' instead of multiline support irb irb --readline # uses readline, but disables multiline
    672 bytes (40 words) - 22:02, 17 May 2023
  • Pftop (category Pages using deprecated source tags)
    tool like top, that monitors traffic through pf firewall. 1 # 2 # 3 # 4 # 5 # packets blocked for each rule f # filter (see below) filter syntax is very
    732 bytes (72 words) - 17:02, 1 July 2021
  • Python setup.cfg (category Pages using deprecated source tags)
    Consolidates some python project dotfiles. Mostly superceeded by python pyproject.toml. [tool:pytest] python_files = *.py testpaths = tests norecursedirs
    737 bytes (21 words) - 15:07, 13 February 2021
  • Readline (category Pages using deprecated source tags)
    Reads line from a terminal, executes them. Can be configured to use vi keybindings. set editing-mode vi set keymap vi # meta+(hjkl) jumps into normal mode
    869 bytes (90 words) - 23:14, 18 June 2020
  • FreeBSD ifconfig (category Pages using deprecated source tags)
    FreeBSD uses ifconfig to manage network interfaces. manipulate interfaces within shell. # create/destroy a network interface of type 'tun' ifconfig tun
    1 KB (66 words) - 03:36, 7 August 2021
  • Vim cli (category Pages using deprecated source tags)
    vim -p a b c # open in new tabs vim -o a b c # open in vert splits vim -O a b c # open in horiz splits vim --cmd "let foo=bar" --cmd "let bar=baz" # run
    824 bytes (92 words) - 18:38, 8 April 2023
  • Php anatomy (category Pages using deprecated source tags)
    <?php class Automobile { def drive() { } }
    80 bytes (5 words) - 00:47, 9 July 2020
  • Php comments (category Pages using deprecated source tags)
    /** Do something * * @param $name * @return string */ function get_hello_message($name) { // comment /* foo bar baz */ }
    180 bytes (15 words) - 01:21, 9 July 2020
  • Gsudo (category Pages using deprecated source tags)
    sudo for windows! choco install -y gsudo
    271 bytes (7 words) - 02:08, 4 January 2021
  • NvimPlugin: telescope (category Pages using deprecated source tags)
    Extendable search. Can be powered by fzf. :Telescope lsp_workspace_symbols query=Foo::Bar::Baz
    125 bytes (15 words) - 23:35, 23 February 2024
  • Iftop (category Pages using deprecated source tags)
    S # display source port D # display destination port n # show IP instead of host name P # pause ? # display additional commands TX: transmitted RX: received
    360 bytes (24 words) - 21:34, 1 June 2018
  • Gnu ps (category Pages using deprecated source tags)
    # show the environment for a PID at the time the process was started ps -xep ${PID}
    115 bytes (16 words) - 01:59, 1 September 2023
  • Php print (category Pages using deprecated source tags)
    echo "some text\n"; pring "some text\n"; $animals = array("cat", "dog", "monkey"); print_r($animals);
    132 bytes (16 words) - 12:31, 9 July 2020
  • Vim profiling (category Pages using deprecated source tags)
    :profile start profile.log :profile func * :profile file * " At this point do slow actions :profile pause :noautocmd qall!
    152 bytes (18 words) - 00:26, 10 February 2024
  • Linux ip (category Pages using deprecated source tags)
    The linux ip command is used to manage network interfaces on linux. ip addr # list network interfaces ip set wlp3s0 up # activate network interface
    203 bytes (24 words) - 20:02, 1 July 2020
  • Linux iw (category Pages using deprecated source tags)
    iw is used to manage wireless internet connections from linux. iw wlp3s0 info # print wireless connection info iw wlp3s0 scan # scan for access points
    198 bytes (24 words) - 21:45, 1 July 2020
  • Df (category Pages using deprecated source tags)
    df lists volume information, how much room is consumed, remaining, etc. df -h # print consumption, in human readable sizes
    206 bytes (19 words) - 13:49, 20 September 2020
  • File (category Pages using deprecated source tags)
    file gives you information about the type of file. sudo file -s -L /dev/sdc1
    199 bytes (15 words) - 11:49, 9 June 2020
View (previous 20 | ) (20 | 50 | 100 | 250 | 500)