Kindly use the code tags for commands and codes which you are using in the posts, also you can review your post before click on Submit Reply by clicking on Preview Post. Following may be helpful for you.
Code:
awk '{print $(NF-1)}' /etc/redhat-release
This should show the version of Linux Server release.
I'm having some probs and i know in unix i can do a dos2unix command and fix it, and it looks like that may be my problem now, but linux doesn't have dos2unix of course, anything comparable? (4 Replies)
hi,
i am looking through the perl documentation in the man pages for the first time but I have looked at some other reference giudes before (at a glance) and remember that there is a find command used by perl can any one give me a structured example of that command and how it works and if possible... (2 Replies)
Hi All,
I need to know RedHat linux version installed on a different servers.
I know uname -a or /proc/version
Is any other command to know the Linux version????
When we telnet to any of the Linux server, the version shows very clearly like
Red Hat Enterprise Linux ES release 3 (Taroon... (1 Reply)
I have ubuntu 10.4 on my system and want to download newer Ubuntu version like 11.04.
Is there any linux command(something like apt-get source used for downloading kernel source) using which I can download directly the newer ubuntu relaease? (2 Replies)
Hello.
From a script, a command for a test is use :
find /home/user_install -maxdepth 1 -type f -newer /tmp/000_skel_file_deb ! -newer /tmp/000_skel_file_end -name '.bashrc' -o -name '.profile' -o -name '.gtkrc-2.0' -o -name '.i18n' -o -name '.inputrc'
Tha command... (3 Replies)
Hi All,
I am able to find the weblogic version in Centos 7 by using below command
but i am not sure what is java -cp is doing in below command.
Can someone please help. unable to find info from java man page as well.
# cd /opt/oracle/weblogic/wlserver*/server/lib && java -cp... (1 Reply)
Discussion started by: sravani25
1 Replies
LEARN ABOUT DEBIAN
modinfo
MODINFO(8) modinfo MODINFO(8)NAME
modinfo - Show information about a Linux Kernel module
SYNOPSIS
modinfo [-0] [-F field] [-k kernel] [modulename|filename...]
modinfo -V
modinfo -h
DESCRIPTION
modinfo extracts information from the Linux Kernel modules given on the command line. If the module name is not a filename, then the
/lib/modules/version directory is searched, as is also done by modprobe(8) when loading kernel modules.
modinfo by default lists each attribute of the module in form fieldname : value, for easy reading. The filename is listed the same way
(although it's not really an attribute).
This version of modinfo can understand modules of any Linux Kernel architecture.
OPTIONS -V --version
Print the modinfo version.
-F --field
Only print this field value, one per line. This is most useful for scripts. Field names are case-insensitive. Common fields (which may
not be in every module) include author, description, license, parm, depends, and alias. There are often multiple parm, alias and
depends fields. The special field filename lists the filename of the module.
-k kernel
Provide information about a kernel other than the running one. This is particularly useful for distributions needing to extract
information from a newly installed (but not yet running) set of kernel modules. For example, you wish to find which firmware files are
needed by various modules in a new kernel for which you must make an initrd/initramfs image prior to booting.
-0 --null
Use the ASCII zero character to separate field values, instead of a new line. This is useful for scripts, since a new line can
theoretically appear inside a field.
-a -d -l -p -n
These are shortcuts for author, description, license. parm and filename respectively, to ease the transition from the old modutils
modinfo.
COPYRIGHT
This manual page originally Copyright 2003, Rusty Russell, IBM Corporation. Maintained by Jon Masters and others.
SEE ALSO modprobe(8)AUTHORS
Jon Masters <jcm@jonmasters.org>
Developer
Lucas De Marchi <lucas.demarchi@profusion.mobi>
Developer
kmod 06/19/2012 MODINFO(8)