≡ Menu

192

Linux / Unix AWK: Read a Text File

How do I read a text file using awk pattern scanning and text processing language under Linux / Unix like operating systems?
[click to continue…]

Debian / Ubuntu Linux: Setup NFSv4 File Server

How do I install and configure NFS version 4 server under Debian or Ubuntu Linux server operating systems using host-based authentication?
[click to continue…]

I recently installed NFS server v4 on my HP Linux server. However, I'm not able to mount it from Linux nfs4 client using the following command:

mount.nfs4 server2:/data /data

I'm getting the following error:

mount.nfs4: mounting server2:/data failed, reason given by server:
No such file or directory

How do I fix this problem?
[click to continue…]

How do I find out running processes were associated with each open port? How do I find out what process has open tcp port 111 or udp port 7000 under Linux?
[click to continue…]

Linux iptables: Port Redirection Example

How do I redirect 80 port to 8123 using iptables?
[click to continue…]

Linux: Parse an IP Address

How do I parse my Linux servers IP address using a Bash shell?
[click to continue…]

What ports need to be open for Samba to communicate with other windows/linux systems? I need to configure Linux firewall so I need the exact port TCP and UDP port numbers for SMB/CIFS networking protocol.
[click to continue…]