Skip to main content

kousik samanta's Library tagged linux   View Popular

03 Dec 09

Change your MAC address in Linux | Tips4Linux.com

  • If you wish to change your MAC address in Linux, all you have to do is bring the interface down then use the hw ether switch:


    ifconfig eth0 down
    ifconfig eth0 hw ether 02:01:02:03:04:08
    ifconfig eth0 up

27 Nov 09

hostname completion with zsh - nion's blog

"I think this is old but I am blogging it anyway, haven't seen it often in zsh rc files.

local knownhosts
knownhosts=( ${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*}%%\ *}%%,*} )
zstyle ':completion:*:(ssh|scp|sftp):*' hosts $knownhosts



Enables host completion for ssh, scp and sftp based on what you have in your known_hosts.
Don't forget to set HashKnownHosts no in ~/.ssh/config "

nion.modprobe.de/...tname-completion-with-zsh.html - Preview

ssh sftp linux completion

02 Oct 09

Getting Started with Sed

"An introduction to sed"

www.cs.hmc.edu/...sed.html - Preview

sed unix linux ubuntu

  • An introduction to sed
14 Mar 09

setting a static IP in Kubuntu 8.10.... - LinuxQuestions.org

  • Your interfaces file needs the auto line, which should bring it up at boot time:


    Code:

    auto lo
    iface lo inet loopback


    auto eth0

    iface eth0 inet static
    broadcast 192.168.1.255
    address 192.168.1.6
    netmask 255.255.255.0
    gateway 192.168.1.1
    Please edit it and save the changes.



    Your /etc/resolv.conf file should read like this:


    Code:

    nameserver 192.168.1.1

    Because that is the LAN IP of your router which should route DNS requests to your ISP's DNS server, and relay the result back.



    This (nameserver in resolv.conf) is usually set for you automatically if you are using DHCP, but you have to set it manually if you prefer a static LAN IP.



    Then do a

    Code:

    sudo /etc/init.d/networking restart
1 - 20 of 104 Next › Last »
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo