0

Linux modprobe Command Examples to View, Install, Remove Modules

Thanks to the geek stuff modprobe utility is used to add loadable modules to the Linux kernel. You can also view and remove modules using modprobe command. Linux maintains /lib/modules/$(uname-r) directory for modules and its configuration files (except /etc/modprobe.conf and /etc/modprobe.d). In Linux kernel 2.6, the .ko modules are used instead of .o files since that has additional information that the kernel uses to load the modules. The example in this article are done with using modprobe on Ubuntu. 1. List Available Kernel Modules modprobe -l will display all available modules as shown below. $ modprobe -l | less kernel/arch/x86/kernel/cpu/mcheck/mce-inject.ko… Continue Reading

0

UNIX / Linux: 10 Netstat Command Examples

Thanks to the geek stuff Netstat command displays various network related information such as network connections, routing tables, interface statistics, masquerade connections, multicast memberships etc., In this article, let us review 10 practical unix netstat command examples. 1. List All Ports (both listening and non listening ports) List all ports using netstat -a # netstat -a | more Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 localhost:30037 *:* LISTEN udp 0 0 *:bootpc *:* Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path unix 2 [… Continue Reading

0

RPM Command: 15 Examples to Install, Uninstall, Upgrade, Query RPM Packages

Thanks to think geek RPM stands for Red Hat Package Manager. With root privilege, you can use the rpm command with appropriate options to manage the RPM software packages. In this article, let us review 15 practical examples of rpm command. Let us take an rpm of Mysql Client and run through all our examples. 1. Installing a RPM package Using rpm -ivh RPM filename has packagename, version, release and architecture name. For example, In the MySQL-client-3.23.57-1.i386.rpm file: MySQL-client – Package Name 3.23.57 – Version 1 – Release i386 – Architecture When you install a RPM, it checks whether your… Continue Reading

0

How to Backup Linux? 15 rsync Command Examples

Thanks to the geek stuff rsync is used to perform the backup operation in UNIX / Linux. rsync utility is used to synchronize the files and directories from one location to another in an effective way. Backup location could be on local server or on remote server. Important features of rsync Speed: First time, rsync replicates the whole content between the source and destination directories. Next time, rsync transfers only the changed blocks or bytes to the destination location, which makes the transfer really fast. Security: rsync allows encryption of data using ssh protocol during transfer. Less Bandwidth: rsync uses… Continue Reading

0

Sanyo’s Gopan Cooks Rice…Into Bread

Sanyo’s Gopan Cooks Rice…Into Bread Like rice, but prefer to munch on a sandwich? Not a problem with the Gopan Rice Bread Cooker, a clever little kitchen gadget that turns grains of rice into loafs. Created by Sanyo, the appliance looks to solve a food problem currently happening in Japan: fewer and fewer people are eating rice. According to the company, present consumption of domestic rice has been halved compared to 1962, creating a negative impact in the local agriculture. With the device, they’re hoping to revitalize the Japanese market for the staple Asian food by adapting to consumer’s changing… Continue Reading

0

NFS locking down ports for SLES

When you run NFS server it will pick random ports for mountd and nlockmgr which can change upon reboot causing nightmares when the nfs is going through a firewall. You can lock these ports down so that its not random anymore edit /etc/sysconfig/nfs and put in the following STATD_PORT=4001 LOCKD_TCPPORT=4002 LOCKD_UDPPORT=4002 MOUNTD_PORT=4003 and restart the nfs services now if you look at the port assignments via rpcinfo you will see that mountd and nlockmgr is locked into a specific port # rpcinfo -p program vers proto   port 100000    2   tcp    111  portmapper 100000    2   udp    111  portmapper 100003    2   udp  … Continue Reading

1

How to clear hung nfs mounts in linux

Whenever there are network changes or hiccups on systems with NFS mounts the NFS mounts itself will get hung so when you are doing df it will never complete and your session will get hung also. A easy solution to resolve the hung mounts is to look at /etc/mtab and look for nfs entries and identify which ones are having the problem and remove those entries from /etc/mtab.  Take note of the ones thats removed and do a umount -l <mountpoint> and after you got all of the hung nfs mounts you should be able to do df again. We… Continue Reading

0

Seafood Linguine

Ingredients 2 oz Extra Virgin Olive Oil 10 Shrimp 16 Clams 8 oz Scallops 1 pinch Salt 1 pinch Black Pepper 6 oz Roasted Tomatoes, Drained 2 tbsp Basil 1/2 cup Chardonnay 1 cup Garlic Olive Oil Sauce 8 oz cooked Linguine 1 oz Baby Arugula, Rinsed, Stems removed 1 Italian Parsley Sprig Directions In a hot sauté pan, heat the oil and add the shrimp, scallops, clams, salt and pepper. Sear seafood until the shrimp and scallops are no longer opaque and cooked approximately 75 percent through. Julienne the basil. Add the roasted tomatoes, basil and wine to the… Continue Reading

0

Red Lobster Cheddar Bay Biscuits

Red Lobster Cheddar Bay Biscuits Ingredients: 2 cups Bisquick biscuit mix 2/3 cup milk 1/2 cup cheddar cheese (shredded) 1/4 cup butter (melted) 1/4 teaspoon garlic powder 1/4 teaspoon dried parsley Method: Preheat oven to 450 degree. Mix biscuit mix, milk, and cheddar cheese until soft dough forms; beat vigorously for 30 seconds. Drop dough by spoonfuls onto ungreased cookie sheet. Bake for 8-10 minutes or until golden brown. Mix melted butter, garlic powder, and dried parsley; brush generously over warm biscuits before removing from cookie sheet. Serve warm. Make 10-12 biscuits.