≡ Menu

cat command

Faillog in Linux: Display Records of Login Failure

I'm running RHEL on HP server. This server allows to login to reset of the LAN from the Internet. How do I find out failed login records under Linux operating systems?
[click to continue…]

HowTo: Use cat Command In Linux / UNIX

How do I use cat command in Linux? How do I use cat command in UNIX? How can I use cat command in UNIX or Linux shell scripts?
[click to continue…]

Show Linux Partitions Command

How do I display or show a list of all hard disk drive partitions under Linux operating systems?
[click to continue…]

Unix / Linux: Save Output To File

I am new Linux and Unis shell user. In Unix or Linux, how do I save outputs in an external file say data.txt?
[click to continue…]

Linux Command: Show Linux Version

What command I need to type to display Linux kernel version and other information such as Linux distribution name? How do I check Linux kernel version number?
[click to continue…]

UNIX Cat All Files In A Directory

How do I combine all text files in a directory into a single file and ftp that file to another server?
[click to continue…]

Linux Find Out CPU Support 36-bit Physical Addressing Or Not

Q. Physical Address Extension (PAE) refers to a feature of x86 and x86-64 processors that allows more than 4G bytes of physical memory to be used in 32-bit systems. The x86 architecture presently uses only 36 bits out of 52 bits possible. On x86-64 processors, PAE is obligatory in native long mode; currently 40 bits are used out of 52 bits possible. How do I find out if my Linux kernel supports 36-bit or more physical addressing?
[click to continue…]

How To Test Linux Operating System for IPv6 Networking Support

Q. Before I can start using IPv6 on a Linux server, how do I test, whether my Linux server system is IPv6 ready or not? If not, how do I enable IPv6 support under Redhat Enterprise Linux version 5?
[click to continue…]

Linux list all IROs currently in use

Q. How do I list all IRQs currently used under CentOS Linux?

A.. There is a file called /proc/interrupts. The proc filesystem is a pseudo filesystem which is used as an interface to kernel data structures. It is commonly mounted at /proc.

This is used to record the number of interrupts per each IRQ on (at least) the i386 architecture. Very easy to read formatting, done in ASCII.

Display /proc/interrupts

Use cat or less command:
$ cat /proc/interrupts

           CPU0       CPU1       CPU2       CPU3
  0:        187          0          0          0   IO-APIC-edge      timer
  1:      39922          0          0          0   IO-APIC-edge      i8042
  7:          0          0          0          0   IO-APIC-edge      parport0
  8:          4          0          0          0   IO-APIC-edge      rtc
  9:          1          0          0          0   IO-APIC-fasteoi   acpi
 12:     846774          0          0          0   IO-APIC-edge      i8042
 14:     105048          0          0          0   IO-APIC-edge      libata
 15:          0          0          0          0   IO-APIC-edge      libata
 16:    1069722          0          0          0   IO-APIC-fasteoi   libata, uhci_hcd:usb4, nvidia
 17:     105382          0          0          0   IO-APIC-fasteoi   eth0
 18:      83040          0          0          0   IO-APIC-fasteoi   uhci_hcd:usb2, libata
 19:          0          0          0          0   IO-APIC-fasteoi   uhci_hcd:usb1, ehci_hcd:usb5
 20:     474168          0          0          0   IO-APIC-fasteoi   uhci_hcd:usb3, ohci1394, ra0
 21:      10117          0          0          0   IO-APIC-fasteoi   bttv0
 22:     594327          0          0          0   IO-APIC-fasteoi   HDA Intel
NMI:          0          0          0          0
LOC:    1754492    1545836    2085855    1878596
ERR:          0
MIS:          0

HowTo: Find Out My Linux Distribution Name and Version

How do I find out what version of Linux distribution I'm using from the shell (bash) prompt?
[click to continue…]