1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Interesting Linux commands to remember.

Discussion in 'Random' started by sbagmeijer, Aug 21, 2015.

  1. sbagmeijer

    sbagmeijer Machine

    Just some commands to remember as they could be useful again perhaps :).

    tcpdump to get the http header on interface "lo" and port "5601" (to see reverse proxy headers):
    tcpdump -i lo -s 1024 -C 1024000 -w /tmp/capturenginxheaders dst port 5601
    mkdir -p /mnt/memorydisk
    vi /etc/fstab
    tmpfs  /mnt/memorydisk tmpfs  nodev,nosuid,noexec,nodiratime,size=[MEMORY AMOUNT]M  0 0
    Last edited: Aug 21, 2015

Share This Page