6 FAQ tagged "cat_command"
Viewing 1-6 of 6 FAQ -- 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 [...] - Find out my Linux distribution name and version :
Q. How do I find out what version of Linux distribution I’m using from the shell prompt?
A. To find out what version of Linux (distro) you are running, enter the following command at the shell prompt:
$ cat /etc/*-release
Output on RHEL 5
Red Hat Enterprise Linux Server release 5 (Tikanga)
Output on Ubuntu 7.10
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION=”Ubuntu 7.10″ - How to: Create Files in Linux from a Bash Shell Prompt :
Q. I’m new to Linux and installed CentOS on my Laptop. How do I create a file from bash prompt without using GUI tools?
A. Linux / UNIX offer many command line tools and text editors for creating text files. You can use vi or JOE text editor. It is a terminal-based text editor for Linux/Unix [...] - Printing output of c program to a file in Linux :
Q. I’ve written a small program that does something useful for me. I always get output on screen. Sometime I need to send output to a file. How do I print output of my program to a file w/o making any changes to code?
A. Bash shell (and many other modern UNIX shell) supports the concept [...] - Understanding Linux / UNIX Relative Pathname :
Q. Can you explain the term relative pathname under UNIX or Linux oses?
A. The relative pathnames are opposite to absolute pathname. A reative pathname does not begin with a slash ( / ). Generally you specifies location relative to your current working directory. This is most useful to short a path name. For example if [...] - Linux display CPU information - number of CPUs and their speed :
Q. How do I display CPU information such as the number of CPUs and their speed?
A. Proc (/proc) file system provides easy information about CPU and their speed.
The proc filesystem is a pseudo-filesystem which is used as an interface to kernel data structures. It is commonly mounted at /proc. Most of [...]
Viewing 1-6 of 6 FAQ - ( see all popular tags )


Recent Comments
Today ~ 3 Comments
Today ~ 57 Comments
Yesterday ~ 9 Comments
Yesterday ~ 7 Comments
Yesterday ~ 1 Comment