Skip to content

CCIE23050.com CCIE Network blog HTTP://1806971003

CCIE23050.com

  • Home
  • About Me
  • Contact Me

Tag: Linux

Linux IPTraf

Posted on November 1, 2016 by admin

IPTraf is a Linux app for looking at network traffic.

To install.

ubuntu:~$ sudo apt-get install iptraf

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following packages were automatically installed and are no longer required:

linux-headers-2.6.35-22 linux-headers-2.6.35-22-generic

Use ‘apt-get autoremove’ to remove them.

The following NEW packages will be installed:

iptraf

0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.

Need to get 165kB of archives.

After this operation, 745kB of additional disk space will be used.

Get:1 http://us.archive.ubuntu.com/ubuntu/ maverick/main iptraf i386 3.0.0-7 [165kB]

Fetched 165kB in 1s (135kB/s)

Selecting previously deselected package iptraf.

(Reading database … 216593 files and directories currently installed.)

Unpacking iptraf (from …/iptraf_3.0.0-7_i386.deb) …

Processing triggers for doc-base …

Processing 1 added doc-base file(s)…

Registering documents with scrollkeeper…

Processing triggers for man-db …

Setting up iptraf (3.0.0-7) …

to run

ubuntu:~$ sudo iptraf

Posted in IP, LinuxTagged Linux

syslog commands

Posted on November 1, 2016 by admin

cat ASA1.log | grep exceeded | tail -n 100 | grep -v ‘Scanning’
cat ASA1.log | grep shun

Posted in LinuxTagged Linux

Linux locate command

Posted on November 1, 2016 by admin

A neat feature to find files.
first update the database
ubuntu$ sudo updatedb
ubuntu$ sudo updatedb
[sudo] password for user:
Now you can run the locate command to find any key word you want.
ubuntu:$ locate dynamips
/usr/bin/dynamips
/usr/lib/pymodules/python2.6/dynamips_lib.py
/usr/lib/pymodules/python2.6/dynamips_lib.pyc
/usr/share/doc/dynamips
/usr/share/doc/dynamips/README.Debian
/usr/share/doc/dynamips/README.gz
/usr/share/doc/dynamips/README.hypervisor.gz

Posted in LinuxTagged Linux

Curl web browsing.

Posted on November 1, 2016 by admin

ubuntu:~# apt-get install curl
ubuntu:~# curl http://www.ccie23050.com/?p=129

Posted in F5, LinuxTagged Linux, URL

Ubuntu from PKCS12 to Certificates crt file and private key

Posted on November 1, 2016 by admin

openssl pkcs12 -in cert1.p12 -out cert1.crt.pem -clcerts -nokeys
openssl pkcs12 -in cert1.p12 -out cert1.key.pem -nocerts -nodes

Posted in Linux, SecurityTagged Linux

Ubuntu Certificates crt file and private key to PKCS12

Posted on November 1, 2016 by admin

ubuntuccie23050:~/certmi$ cp cert.crt cert.pem
ubuntuccie23050:~/certdir$ ls
cert.crt cert.pem private.key
ubuntuccie23050:~/certmi$ openssl pkcs12 -export -in cert.pem -inkey private.key -out keyandcert1.p12
Enter Export Password:
Verifying – Enter Export Password:
ubuntuccie23050:~/certmi$ ls
cert.crt cert.pem private.key keyandcert1.p12
ubuntuccie23050:~/certmi$ exit

Posted in Linux, SecurityTagged Linux

Posts navigation

Newer posts

Follow Me

  • YouTube
  • LinkedIn

Location

  • 10809 Executive Center Dr, Little Rock, AR 72211
Proudly powered by WordPress | Theme: micro, developed by DevriX.