UNIX Frequently Asked Questions
Note!!!
This faq would never be complete. However I need your comments and questions to make it better.


  1. I am a newbie to UNIX, where do I start?
  2. Is UNIX tough?
  3. Will this FAQ cover stuff like copying files?
  4. I accidentally created a file with name beginning with `-', how do I remove it?
  5. I want to start writing a shell script, where do I start?
  6. Is Netscape open source?
  7. What is Mozilla?
  8. How can I resize my Netscape window, which runs, out of my screen?
  9. Why do I get a lot of warnings from Netscape about freeing allocated resources?
  10. Why does my Netscape give a warning every five minutes about failure to save book marks?
  11. Why does my Netscape crash every so often under Linux/GNU, do I need to upgrade?
  12. How can I list the directory contents in color in Linux/GNU?
  13. I have aliased my rm to rm -i, now is it safe if I do a rm -rf?
  14. How can I know if my friend is logged in some machine in my lab?
  15. I don't understand the stuff with setting DISPLAY when starting a remote graphics program?
  16. What is X windows?
  17. Why is the concept of GUI so tough on UNIX?
  18. What exactly is a window manager?
  19. How can I change my window manager?
  20. My backspace key works as del under X, what do I do?
  21. How do I display a background image under CDE (HP-UX/Sun default WM)?
  22. How do I change the cursor in X windows from the symbol X?
  23. What the hell is an X-Term?
  24. What is XDMCP?
  25. I fired up a process, now when I do a ps it shows only a few processes but not my original process?
  26. What exactly is a search path?
  27. What are the ways to modify the search path on different shells?
  28. There is an executable in my current directory, why do I have to a ./ to run it?
  29. I know that a particular program is installed on my computer, how do I find if it has a man page also?
  30. How do I ask man to automatically search for man pages in a location?
  31. What the hell is info?
  32. Why are the permissions on a directory and file different?
  33. I want to give everybody access to my directory, why doesn't a simple read permission work?
  34. I want to recursively give permissions to everyone for accessing a directory, is there a command? How do I do it?
  35. I just want emacs to show colors, what do I do?
  36. Why I don't see colors after ls on a non-Linux/GNU system?
  37. What exactly is Linux/GNU?
  38. What is the difference between Solaris and SunOS?
  39. What are environment variables? How do I set them?
  40. What are the DISPLAY and TERM environment variables for?
  41. I have a shell script, which needs to set a few environment variables and then exit, how do I do it?
  42. Why does bc, show the result of 1/3 as 0 instead of .333..?
  43. What exactly are sed and awk?
  44. What is spam mail?
  45. What is mail filtering?
  46. I want to filter the mail, which I receive, is there a smart way?
  47. How do I setup an auto-reply for my mail account?
  48. I am going for a vacation, I donot want my mailbox to overflow, what do I do?
  49. What is a daemon, why is it so called?
  50. Why is the MPEG movie, which I play from the server so slow?
  51. What the hell is a library?
  52. Why does my compilation terminate with an error message about some missing library?
  53. What is the difference between a shared and static library?
  54. What the hell is exactly TCL/Tk?
  55. What is the difference between Sun ucbcc and Sun Workshop compiler?
  56. Where exactly is the Sun Workshop compiler installed?
  57. I can do a telnet to another machine, now I want to move a file to it, what do I do?
  58. What are widget libraries, why do we need them?
  59. I just installed a new program in my bin directory, the permissions are correct, auto-file name completion works, yet the systems says unable to find file when trying to execute it?
  60. I have set the LD_LIBRARY_PATH and LD_RUN_PATH variables under HP-UX still I get the library not found error?
  61. Why does xmms crib about incorrect ownership, when I run it remotely?
  62. How do I find out what exactly is installed on my computer in Linux/GNU?
  63. How do I change my default shell?
  64. I have installed the GNU shell tcsh in my directory, however when I do a chsh for this shell why does the program crib about incorrect shell?
  65. When I press the del or backspace key why do weirdo characters appear?
  66. What does installing a program/package mean?
  67. Why is installing a program/package under UNIX not so simple as on Windows?
  68. Is there some secret to installing programs under UNIX?
  69. Can I run windows programs on my UNIX workstation/server?
  70. I want to be a system administrator where do I start?
  71. What is the difference between a Hacker and a Cracker?
  72. What is OpenGL?
  73. Is OpenGL available on UNIX/Linux/GNU systems?
  74. What exactly is Mesa?
  75. What is meant by graphics performance?
  76. What is the best way to measure the performance of X windows?
  77. Is there a presentation package available on UNIX?
  78. What is Star-Office?
  79. What is a kernel module?
  80. What do I need to know to write a kernel module?
  81. I want to write a kernel module, where do I start?
  82. What is the difference between block devices and character devices?
  83. What is a FIFO?
  84. What is NIS?
  85. What is NFS?
  86. What is DNS?
  87. How can I find the registration information for a particular domain?
  88. What is system name resolver?
  89. What is a binary?
  90. How can I open zip files?
  91. Can I view doc files on UNIX?
  92. How do I take personal backups?
  93. What is tar?
  94. Who is Richard Stallman?
  95. What is xdm?
  96. What is Lynx?
  97. How do I download all the visible contents of a web site for offline browsing?
  98. What is fire walling?
  99. What is a proxy server?
  100. Can I send mail from any machine connected to the Internet?
  101. What is MIME?
  102. Who is Larry Wall?
  103. What is PERL?
  104. What is CGI?
  105. Why is PERL so intricately related to CGI?
  106. What is JavaScript?
  107. Is Java similar to JavaScript?
  108. Who is Linus Torvalds?
  109. Why is a Linux system called as a Linux/GNU system?
  110. What is GNU?
  111. What is free software foundation?
  112. How good is gcc as compared to other vendor specific compilers (e.g. Sun Workshop Compiler)?
  113. What is a cross-compiler? Can gcc be used as a cross-compiler?
  114. What is gdb? How tough is it to use gdb?
  115. Are there any good front-ends to gdb?
  116. How good is ddd (Data Display Debugger)?
  117. Why are there so many shells on UNIX?
  118. What is the difference between a hub a switch and a router (should this question be here?) ?
  119. When I do a telnet ip-address it works on a Sun machine however when I do telnet machine-name it doesnot. The same telnet machine-name works from another machine. What is the problem?
  120. By mistake a cat'ed a .o (or binary) file. Now the whole display is garbage. Is there any way to recover apart from starting a new terminal?
  121. How do I turn on the key repeat mode in X windows?
  122. I have attached an external CD drive to my Solaris workstation. I want to install a new OS and thus want to boot from this CD drive. However it still tries to take the old CD drive when I issue the command boot cdrom. What do I do?
  123. I want some stuff to be done automatically when I log into an X windows system. How do I do it? (Note: this stuff cannot be put in you .cshrc or .bashrc).
  124. What are X resources? How do I figure out what all resources are available for a particular client?
  125. What is a shebang? Why is the first line necessary for a shell script?
  126. What is a X-station?
  127. What is ALSA (Advanced Linux Sound Architecture)?
  128. I have a SiS 6215 card (long obsolete) how do I configure it for X-windows on Linux/GNU?
  129. How can I restart X windows (XFree86) in to use more colors (pixel depth)?
  130. How are fonts supplied on an X windows system?
  131. How can I figure out which all fonts are available on an X windows system?
  132. I have downloaded a few fonts how do I install them (root/non-root methods)?
  133. How can I use windows True Type fonts on UNIX?
  134. True Type fonts are really cool, still why don't UNIX guys use True Type fonts?
  135. Where can I find more fonts on the net, specifically which type of fonts should I look for?
  136. I have Windows NT on my system what steps do I need to take to install linux (Now nothing new -:))?
  137. I have a hard disk with 20GB+ capacity. The hard disk originally had windows NT (or 2000) and 98 (or millemium), however when I tried to install Linux/GNU, everything messed up. Now the disk shows only 2-3GB space and both Linux/GNU and Windows fdisk fail. What do I do?
  138. I forgot the root password of my UNIX system (covers Linux/HP-UX/Solaris), what do I do?
  139. Is there any way to figure out whether my C/C++ program leaks memory in UNIX (should this question be here?)?
  140. Why do my NFS clients crib about not being able to get a request slot (exact message "can't get a request slot")?
  141. I have just moved my NIS server from a SunOS/HP-UX machine. ypinit -m worked fine even the server came up, still when I do a ypcat passwd I get an empty list, what could be the problem?
  142. How can I open Excel/Word files in UNIX?
  143. What is wordview, how good is it?
  144. How stable are Staroffice 6.0 and Koffice?
  145. Are there any free search engines available which I can download and install at my site?
  146. How good is ht://Dig as compared to other such technologies (e.g. ultraseek)?
  147. Can ht://dig index my word/pdf/postscript files? What about gzipped pdf and ps files?
  148. How is Linux/GNU able to print postscript/pdf/image files directly (using lpr) whereas other unices (SunOS/HP-UX) are not able to do so?
  149. What is a license daemon? What is lmgrd?
  150. By mistake I changed the permissions on /usr (or /bin) now when I execute any command it gives error (even ls doesn't work), what do I do?
  151. What is LHA? How do I open an LHA archive?
  152. How can I use the find command effectively, e.g. to change permissions on all the files (not directories) etc.?
  153. I bought an internal modem by mistake, how do I configure it under Linux/GNU?
  154. Is there a way to make my Linux/GNU box act as an answering machine?
  155. Why is there no /dev/audio in HP-UX servers. How come they are still able to play audio/video files?
  156. What is meant by text formatting?
  157. What are TeX and LaTeX?
  158. Is there any WYSWYG front-end to LaTeX?
  159. Where can I find some good tips for using LaTeX?
  160. Is there some sample document format available to start using LaTeX?
  161. What are the alternatives to LaTeX? Should I use/learn them? How good is emacs ps-renderer?
  162. What is a versioning system?
  163. What is the difference between rcs and cvs?
  164. How good is cvs?
  165. What is cvsweb?
  166. I configured cvsweb on my machine, still I get empty directory listings? What is the most likely cause?
  167. What is xargs?
  168. How can I supply stuff automatically to some command which expects interactive input (e.g. ftp, telnet)?
  169. Is it possible to separately redirect stdout and stderr in C-shell (tcsh, csh)? How do I do it?
  170. I have a HPUX server, while booting the machine is stuck and the panel shows Init C300. What do I do?
  171. How do I find out what all is installed on a SunOS/Solaris machine?
  172. How do I find out path to the various SCSI devices installed on an HPUX machine?
  173. I am trying to use the sun pkgadd utility. However it repeatedly says that there is no package in /var/spool. Is there some simple way to use it?
  174. How can I find the list of all the installed packages on a Sun system?
  175. Is something similar to SAM available on Sun?
  176. Howdo I change the hostname of a Sun machine?
  177. How do I change the hostname of a HP machine?
  178. I have a Linux/GNU NIS server running on my network, then also my HP server is unable to detect it. What is the possible cause?
  179. My Sun machine was participating in a NIS. However now the machine is a standalone, how do stop ypbind from starting automatically at boot?
  180. Why does the file locking fail with a Linux/GNU NFS server and Sun/Solaris client? What can I do to make the file locking work?
  181. I have unsetenv a variable still when I do a echo $variable-name it echoes some value. What is the possible cause?
  182. I have observed that on some UNIX machines I am able to run a program in the current directory with just program name command, while on others I have to give a ./program name. What is the problem and how to remedy it?
  183. I messed up my /sbin/init or /etc/inittab, now nothing works. What do I do?
  184. What is the difference between which and whereis? How come whereis is able to find the command whereas which is not?
  185. What is type in BASH? How can I get more help on it? Man says it is unable to locate a man page for it.
  186. Which is the best (?safest?) version of gcc to use as of now (2002)?
 
 
 


Last Updated May 14, 2021 © Anup Gangwar, Department of CSE, IIT Delhi
CSE Valid HTML 4.0! Valid CSS!