Posts Tagged With: name

Locate Files With Names Matching A Regexp

Tagged with: , , , , , , , , ,

You can use locate to find files with name that matches a said regexp…


locate -i -r '\.jpg$'
No Comments »

Find Current DNS Server

Tagged with: , , , , , , ,

The DNS servers are in the /etc/resolv.conf file – cat it to find what they are. You can edit to too – just edit the file…


cat /etc/resolv.conf
No Comments »

nslookup Network Command

Tagged with: , , , , , , , ,

Lookup hostname to resolve name to ip address and viceversa


nslookup www.example.com 	
No Comments »