AllExperts > Experts 
Search      

Unix/Linux OS

Volunteer
Answers to thousands of questions
 Home · More Questions · Question Library  · Free Encyclopedia ·
More Unix/Linux OS Answers
Question Library

Ask a question about Unix/Linux OS
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
About nix
(Top Expert on this page)

Expertise
UNIX, programing, C, C++, awk, shell scripts, Web, HTTP, Apache, firewall, AltaVista firewall, E-Mail, sendmail, IMAP4 POP3, DNS, NTP, system administration, TCP/IP, security

Experience
UNIX
Digital UNIX
AltaVista Firewall
TCP/IP

Education/Credentials
BSCS

   

You are here:  Experts > Computing/Technology > Focus on Unix > Unix/Linux OS

Questions Answered By Expert  nix 
In Category  Unix/Linux OS

SubjectDate Asked

LVM (with RAID5)11/16/2008
  Q: Three of my hard drives (each 500GB) have been set up with RAID5. I'm aware that of the 1.5TB I ...
  A: First of all, let me point you to the fact that there are 2 definitions of a GB. Definition 1 ...
shell programs11/11/2008
  Q: Sir, how to write a shell programs for the following i) Greatest Common Divisor of the given three ...
  A: 1. function gcd() { x=$1 y=$2 while [ $x -ne $y ]; do if [ $x -gt $y ]; then ...
Linux mounting process10/31/2008
  Q: Hope you are doing well when system is booting, how does the file system mounts,when we will get ...
  A: When system boots it first looks for a file system holding the kernel image. Long time ago, there ...
server 2003 vs BSD/Linux SERVER10/21/2008
  Q: I have a HP-proliant that was set up to run winserver 2003. I cant regain the password, so I'm ...
  A: For running Windows applications on any UNIX machine you have several options. WINE ---- WINdows ...
Is it possible to change the root username in Unix/Linux?10/18/2008
  Q: Is it possible to change the root username in Unix/Linux? Thanks, lzzzz ANSWER: Hi. Usually, you ...
  A: The main problem is in mapping UIDs between your client and the NFS server. Take a look at this ...
Is it possible to change the root username in Unix/Linux?10/17/2008
  Q: Is it possible to change the root username in Unix/Linux? Thanks, lzzzz ANSWER: Hi. Usually, you ...
  A: Why would you want to change root username because of NFS? To match with NAS? I think you should be ...
Is it possible to change the root username in Unix/Linux?10/15/2008
  Q: Is it possible to change the root username in Unix/Linux? Thanks, lzzzz
  A: Usually, you can change the name of the root user. After all, a user name is what is written in ...
file system is not mounting10/8/2008
  Q: Hope you are doing well, Nix, I have installed (perl-5,XFree86) Patches on Redhat-EL4 AS, i Don't ...
  A: I would first take a look in /etc/fstab to see if there is a definition of the mount and if it ...
file system is not mounting10/7/2008
  Q: Hope you are doing well, Nix, I have installed (perl-5,XFree86) Patches on Redhat-EL4 AS, i Don't ...
  A: Installation of patches should have nothing to do with proper FS mount. It would be helpful to know ...
Linux9/29/2008
  Q: How can I configure https for apache in Red hat Linux 5 version?
  A: First of all, you need a certificate for your service. Then you should place it in a common ...
awk command9/23/2008
  Q: Nix, that worked!! Thanks. I just have a question on how it did work. Here's the command you gave ...
  A: :-) I didn't... exactly. The problem with 5th field is that it breaks the convention of the ...
unix9/22/2008
  Q: text segment-contains the executable code of a progran,several user uses the same program,this area ...
  A: Since the text segment should not change and UNIX generally should not allow for self modifying ...
awk or grep command9/19/2008
  Q: I have a task to create a file pulling 2 fields from the input file to create the output file. The ...
  A: Well, whz would zou want to change "," sequernce for "|"? The one you have here would workalmost ...
awk or grep command9/18/2008
  Q: I have a task to create a file pulling 2 fields from the input file to create the output file. The ...
  A: The answer is - you can't. I mean from syntactic point of view, how would you discern these rows: ...
Information8/23/2008
  Q: If I want to configure two LAN card in linux, how i can do it in command mode?
  A: Most modern Linux systems have a CLI based setup tool. OpenSUSE has Yast2. You didn't say which ...
What does EOT stand for?8/13/2008
  Q: I have a script that has '....yahweh << $EOT' in it. What does the $EOT stand for? Thank You, ...
  A: EOT usually means End Of Text. In your case, EOT is a variable/constant holding the string that is ...
User account in Digital unix8/11/2008
  Q: I'll have to make an User Account in Digital Unix on an Alpha which I need for our ERP system, but I ...
  A: This can be accomplished either by GUI or command line. The GUI can be invoked by typing ...
ulimit not changing7/24/2008
  Q: i want to run ulimit on a remote system using ssh, but i am not able to do it. i ran it using ssh ...
  A: Hmm, there are a subtle differences in "ulimit" between shells. There is even a standalone command ...
getting 2 emails from the same senders7/23/2008
  Q: i have an yahoo accnt , i everytime receive same 2-3 emails from the same sender who ever sends me ...
  A: If the problem persists, then it is your friends fault. He should investigate what is going on. It ...
ulimit using SSH7/23/2008
  Q: i want to run ulimit on a remote system using ssh, but i am not able to do it. i ran it using ssh ...
  A: What you are trying to do doesn't make sense. "ulimit" will set user limits for the current session ...
all the arrangement of a word7/6/2008
  Q: Can you help me write some code to list all the arrangement of a word? for example "unix" it has ...
  A: This is a bit tricky and requires some thinking. Thus the delay in my response. The only way to ...
PHP cURL7/1/2008
  Q: While crawling webpages using PHP cURL, sometimes I come across a large page that is too big, such ...
  A: If a server decides to send "Content-Length" header, it must be acurate, otherwise, what is the ...
PHP cURL6/30/2008
  Q: While crawling webpages using PHP cURL, sometimes I come across a large page that is too big, such ...
  A: There should be several things you can do. As a first patch, you can ask for the output to be ...
ulimit to limit core file size6/28/2008
  Q: -->a) I want to limit the core file size but linux is not limiting the core file size to specified ...
  A: First of all, I hope you have verified your assumptions for core file size have been verified in man ...
smallest unit6/28/2008
  Q: I am a programming new bie. I read some discuss regarding to c that the smallest unit is C is byte. ...
  A: Technically speaking, the smallest unit in C is a bit. Problem with bits is that CPUs, generally, do ...
Internet Only Ubuntu Machine6/24/2008
  Q: I am looking for the following 5 features in my new INTERNET-ONLY computer: 1. Ubuntu 2. Internet ...
  A: I'd say either custom build your PC using 2 VGA cards or go for NVidia. They have graphical beasts. ...
Linux Installtion problem6/21/2008
  Q: Sir when i am installing Linux 4.0 on my SATA HDD.then it can not detact HDD
  A: I suppose it is RedHat Linux 4.0. It is not a very old version, but still, your controller on the ...
Regarding c questions6/11/2008
  Q: 1)What is the difference between embedded systems and the system in which rtos is running? 2)How can ...
  A: 1. I think the name says it all - embedded systems are usually on-chip or in a non standard ...
Regarding c questions6/11/2008
  Q: 1)How is function itoa() written? 2)Who to know whether system uses big Endean or little Endean ...
  A: 1. j = 0; while (i > 0) { rev_digits[j++] = i%10; i /= 10; } /* Now, just reverse the order ...
kill command output redirect6/3/2008
  Q: i have a doubt regarding the redirecting output of kill command i have given like this ...
  A: First of all, pkill is not a "kill" command. I'd say it is a script wrapper around kill command. ...
CHMOD5/28/2008
  Q: When I am setting folder and directory permissions, who exactly is the user, the group and the ...
  A: Every file and dir have owner and group. Permisssions apply from more specific to less specific. So, ...
Arp spoofing..5/20/2008
  Q: I would like to ask about how to prevent arp spoofing on my LAN network by using Ubuntu 8.04 ? (i'm ...
  A: The only thing that comes to mind is having a good manageable switch, which can detect and lockout a ...
configure & make error5/11/2008
  Q: this's my machines Linux ubuntu 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686 GNU/Linux ...
  A: I cannot see anything suspicious from this. The missing Makefile.in files should be harmless, since ...
ethernet up triggering another program5/7/2008
  Q: I am programming on an Atmel kit with linux kernel 2.6.20. Whenever the ethernet connection is ...
  A: The task you want to do should be done by the "up" scripts. It is relatively similar among ...
Regarding tcl script4/30/2008
  Q: I am using Red hat 4.2.2.6 Plz see the below steps; My directory name is manohar. If I type ...
  A: First of all "vi" is a "VIsual editor", it can edit, not just display files. 1. To edit TCL ...
Laptop screen4/13/2008
  Q: I just purchased a very small notebook and I was trying to use Skype on it but the skype screen was ...
  A: Sorry for not coming back to you sooner. The answer is really simple. Grab the upper left corner of ...
Cygwin & binary files4/11/2008
  Q: Ok, the general problem is this: I have some binaries and I don't know what to do with them! I've ...
  A: Well, I can see two problems here. Firstly, you could have unpacked it so the file is missing ...
ssh connection3/18/2008
  Q: I'm not sure if this question falls within your expertise but here it is anyway. I am trying to ...
  A: The problem you are experiencing is most likely on the server. Most Linux distributions these days ...
mail server problems3/17/2008
  Q: got a dialup connection to my isp,Linux mail server keeps going down sometimes display fatal x ...
  A: OK, we're getting somewhere, though not far. First of all, message "fatal X error" is most likely ...
mail server problems3/13/2008
  Q: got a dialup connection to my isp,Linux mail server keeps going down sometimes display fatal x ...
  A: I cannot answer the question since you have not provided a shred of data on your system. 1. What ...
Securing Linux3/8/2008
  Q: I would like to make my new computer more secure. My main concern is vulnerability to anyone or ...
  A: 1. NAT = Network Address Translation. Usually, you use NAT to build a transparent proxy-like ...
Shell script to get 3rd Friday of the month3/3/2008
  Q: I am trying to get first Friday of the month using following - first_fri=`date '+%m%y'|cal|tail ...
  A: After some mucking around, I found this to work: friday_num=1 friday=`date '+%m %y' | cal | egrep ...
Ubustu+XP+Security3/2/2008
  Q: To help provide clear questions I'll number the main ones. I am currently dual-booting between ...
  A: I must say I am pleasantly surprised to have someone give so many details. I'll try to give you best ...
IT2/28/2008
  Q: what are the primary functions of the operating system?
  A: Operating System or OS is a software that has direct and absolute control over the computer ...
Linux2/27/2008
  Q: Sir, I am thinking of configuring Oracle tomcat webserver ,mail server on Redhat Enterprise linux5 ...
  A: I'm not sure what you mean by "Oracle Tomcat web server". Oracle is a name for: - most famous ...
Cron job2/19/2008
  Q: Sir i created a shell like this to_day=`date|awk '{print $1$2$3}'` echo $to_day log_time=`last|awk ...
  A: It is most likely a path problem, but I would expect CRON to "sound-off" with some error report in ...
Cron job2/19/2008
  Q: Sir i created a shell like this to_day=`date|awk '{print $1$2$3}'` echo $to_day log_time=`last|awk ...
  A: There are some things that can mess up your script. 1. PATH of the cronjob does not include Java ...
Terminal Login's2/16/2008
  Q: this is jai am doing MCA.,want to know HOW THE TERMINAL SIGNALS ARE USED IN UNIX OPERATING SYSTEM., ...
  A: I'm not quite sure what you mean by "terminal signals". There is a TERM signal that can be sent to a ...
apache2/15/2008
  Q: I can't seem to find any evidence on the web of a "bug" with apache that I am experiencing. It ...
  A: If you have narrowed it down to file size then it is really obvious. Your Apache was compiled for ...
Login time2/12/2008
  Q: Sir, Can i find out the first login time of a user in a day in linux? I want to find the time ...
  A: I don't think there is such a tool on Linux. Perhaps some log analyzer. Basically, you could write ...
RE:2/10/2008
  Q: i want to practise unix since i have lost the touch, but i dont want to install a full fledged os, ...
  A: The closest thing to your "dummy unix" is Cygwin, I guess. It is a UNIX environment that runs in ...
shell script to login to Unix machine using ssh with USERNAME and PASSWORD2/9/2008
  Q: I need a shell script that could able to login to another Linux machine by entering user name and ...
  A: The only thing that can do interactive usage of other things is a utility called "expect". It is a ...
rename a file1/27/2008
  Q: im a c newbie. i would like to rename a file according to time() and localtime() and get the outcome ...
  A: It would be something like: #incluse <time.h> #define MAX_LEN 10 #define FORMAT "%m%d%H%M%S" int ...
linux,programming c,signals1/27/2008
  Q: i need some help trying to understand this programm, could you please help me??what does do this ...
  A: This program spawns 2 child processes and lets the use open pipes to communicate to each other. ...
apache, mysql, php1/24/2008
  Q: can you tell me the relation among apache, mysql and php. i want run these three in my linux ...
  A: Apache is a web server, it serves your web site and active content, like PHP. ...
linux1/21/2008
  Q: Is linux , unix-like os
  A: Short answer - YES. Linux is one of OSes from the UNIX family. It was built from the scratch, only ...
sendmail server problem1/18/2008
  Q: i have run sendmail server in my hotel but some of my friends outside of this server gets a error ...
  A: This suspiciously sounds like a firewall problem. Maybe you have some sort of a firewall blocking ...
mod rewrite1/16/2008
  Q: I am using ecommerce software that I keep in its own subdirectory called “store”. This software ...
  A: With mod_rewrite you have 2 modes for rewriting: - redirect - proxy (requires mod_proxy) Redirect ...
SSI navigation1/15/2008
  Q: I hope I'm asking this in the correct category. I am putting together a new website. The same ...
  A: It looks like you have not enabled SSI processing. 1. You must load mod_include in you Apache ...
installing1/7/2008
  Q: I recently received a cd with ubuntu and wanted to install it on an older PC that is running windows ...
  A: Mostly all Linux distros can be installed into an existing FAt/FAT32 partition and can live ...
printing in network12/31/2007
  Q: sir, we are having linux lan network, a hard disk of server is shared by the client pc conected thru ...
  A: OK. So, I'm still unclear whether you are using CUPS or LPD infrastructure. In any case, you need ...
printing in network12/30/2007
  Q: sir, we are having linux lan network, a hard disk of server is shared by the client pc conected thru ...
  A: There are a lot of details missing here, and trust me, with printing, little details are important. ...
Unix & Viruses12/14/2007
  Q: I want to ask, why UNIX is considered as Virus-UnInfectable, i.e. cannot be infected by a virus in ...
  A: Well, usually you run your UNIX/Linux as an unprivileged user account, which usually cannot alter ...
unix internals12/14/2007
  Q: why inode numbers start with 1 but not 0 ANSWER: Hi. Why wouldn't they start with 1? :-) I guess ...
  A: Processes are in one of the states: - Running - Runnable - Sleeping - Blocked - Zombie If all ...
unix internals12/12/2007
  Q: why inode numbers start with 1 but not 0
  A: Why wouldn't they start with 1? :-) I guess number 0 might signal an available i-node. 99% of UNIX ...
./11/22/2007
  Q: in the process of excecuting files after the prompt, I have to put ./ > ./file Is there anyway to ...
  A: Sure, just add the current dir to the path. Like this: PATH=${PATH}:. Of course, this means that ...
linux libraries11/20/2007
  Q: I am trying to run a small fotran code whose .x file has been copied from the machine in my lab.( I ...
  A: It is most likely that your PC at home has a different version of "GNU C lib" and that is very ...
VPS11/17/2007
  Q: Managing of VPN host I bought a Linux vpn from a web hosting ( I don’t know any things about Linux ...
  A: Firstly, I'm not sure why you would use FF on your VPS, other than to see what "the VPS can see". ...
Concerned about Boot Messages11/14/2007
  Q: nix! I have just installed FreeBSD 6.2 on my home PC. Everything is working quite well; I have the ...
  A: Nothing too critical, but it should be amended, anyway. "sm-mta" is Sendmail MTA daemon, used to ...
environment variables such as INCLUDE10/2/2007
  Q: I wonder whether OS or application define environment variables such as INCLUDE? If OS define them, ...
  A: I'm not sure what is INCLUDE env variable, there are several contexts where it could apply. Anyway, ...
tcl/tk9/30/2007
  Q: (http://www.tcl.tk/) is this script language purely made by C? (i mean in the very beginning since ...
  A: In order to understand the source code of Tcl, you need 2 things. Firstly, you need to understand ...
tcl/tk9/29/2007
  Q: (http://www.tcl.tk/) is this script language purely made by C? (i mean in the very beginning since ...
  A: Tcl/Tk are two different things, that complement each other. Tcl is a pure scripting language, while ...
hi sir9/28/2007
  Q: we have made a proxy server(EL4) in which the eth0 is 192.168.2.1 and eth1 ip is 192.168.100.5 we ...
  A: Most of the guys who mentioned "routing" were probably right. What appears to be the case is that ...
3389/tcp open ms-term-serv9/27/2007
  Q: what is this port for. i did some google wrok. but still cannot get it. does this port have ...
  A: It can be that that is MS Terminal Server on W2k3 Server. On Linux it should be something else. The ...
install screen9/26/2007
  Q: i am a unix newbie my system is SunOS 5.6 Generic_105181-39 sun4u sparc (school machine and i have ...
  A: If there is a session going on, you could rejoin it by typing "screen -r" or try to detach from it ...
install screen9/26/2007
  Q: i am a unix newbie my system is SunOS 5.6 Generic_105181-39 sun4u sparc (school machine and i have ...
  A: The simple answer is "No". Software of system orientation, like "screen" may require to be ...
install screen9/25/2007
  Q: i am a unix newbie my system is SunOS 5.6 Generic_105181-39 sun4u sparc (school machine and i have ...
  A: Well, you can try. I don't see why would "screen" require root privileges or any other elevated ...
LINUX AND UNIX9/24/2007
  Q: steps in formatting and installation of linux and unix... ...
  A: Most current distributions of Linux and some UNIX (Solaris) require you to place a bootable DVD into ...
Script9/16/2007
  Q: I would like to know how to create a scrip that I can run to open 3 command windows in my screen. ...
  A: A simple script would be: #!/bin/bash xterm & xterm & xterm & Of course, you can modify it ...
The Linux start up music9/15/2007
  Q: This is probably a strange question, but I know nowhere else to turn to. A friend of mine knows Im ...
  A: I'm not sure what your friend means by "Linux Boot-up music". While Linux boots, it initializes and ...
Linux Networking issue9/12/2007
  Q: I have a dual boot Compaq Presario Windows 98 machine. I have networking working fine on the Windows ...
  A: I'd say you have more than just NIC problem. All resources on your motherboard are unknown. That may ...
http authentication in apache9/8/2007
  Q: I have a perl script located in a protected directory (.htaccess file on an unix box). People who ...
  A: Well, a CGI script should have in it's env variables a USERNAME of the authenticated user. Password, ...
ShellScript9/4/2007
  Q: sir, will u pls send me good tutorial on unix shell scripting? regards shinil
  A: There are several good ones on the Net. http://steve-parker.org/sh/sh.shtml ...
Freebsd and Openbsd8/30/2007
  Q: Can you tell me what's the difference between them? i simplely have some experience on ubuntu linux ...
  A: Well the difference is in the OS code, the kernel and supporting libraries. Of course, a very high ...
backgrrounding a unix script with stty comman causes problems8/23/2007
  Q: Here is a small script called master (say) #!/bin/csh -f echo START stty erase '^H' echo END ...
  A: No idea why is this disturbing the backgrounding mechanism. Anyway, a stopped process can easily be ...
Which Distributions of Linux for Multi-Language Interactive Multimedia Education8/19/2007
  Q: Which Distributions of Linux for Multi-Language Interactive Multimedia Education Free Multimedia ...
  A: Personally I use Open SuSE, which has a very decent support for multimedia programs. Fedora Core is ...
NIC Drivers!!8/6/2007
  Q: My name is prasanna, and i a new bee to Linux platform. I have been struggling to install the NIC ...
  A: I've never built NIC driver myself (never had to). It looks like a standard source distribution, ...
regarding . ./8/6/2007
  Q: what does . ./ this mean and it is not ../ thing,please clarify my doubt
  A: The construct ". something" stands for: execute "something" in this shell, instead of forking a ...
What does the <<-eof do? I could not find it on google.8/5/2007
  Q: What does the <<-eof do? I could not find it on google. Thanks, lzzzz
  A: The construction: "some command sequesnce" << "some_word" blah, blah again some_word stands for: ...
"/usr/bin/bash" or exec "/usr/bin/bash" inside /etc/profile8/4/2007
  Q: I don't quite understand how the Unix shell works, if I want to run bash shell after I login, can I ...
  A: Well, that can be done, but it is not how it is intended to be used. If you want to be on a BASH ...
Do I need sendmail daemon to send messages?8/2/2007
  Q: A recent article in ACM (among other places) suggests not running the sendmail daemon, if the only ...
  A: You have three use-cases for mail. 1. you want to send an email from your workstation, connected to ...
hai sir7/30/2007
  Q: i am working with el4 server. sir i am very much confused in configuring qmail i am new to linux ...
  A: I have never installed QMail myself, especially not on RHEL4. I suggest you install it from RHEL4 ...
diskless node7/25/2007
  Q: I have pc running windows xp and another older pc with windows 98 on a bad hd. I would like to ...
  A: For a diskless workstation you need something to provide DHCP and Boot service. Whatever it is, it ...
Linux Kickstart Symlink Issue7/16/2007
  Q: I'm a system administrator and I manage a kickstart server whose primary job is to provide the rpms ...
  A: If I had to pick a suspect, I'd pick TFTP. Firstly, DHCP and DNS have nothing to do with files on ...
Linux Kickstart Symlink Issue7/16/2007
  Q: I'm a system administrator and I manage a kickstart server whose primary job is to provide the rpms ...
  A: And I must say, I am at loss. If I'm not mistaken, YUM uses HTTP, which is totally impartial to ...
regarding UFS7/6/2007
  Q: sir, what is the meaning of unified file system,how it is different from other filesystems like ...
  A: As the name suggests, it is a wrapper encapsulating all file systems known to the OS, using the ...
Linux vs.Vista and alternatives6/29/2007
  Q: What will be for you the place of Linux after the release of the new Microsoft operating system ...
  A: Sorry for not responding sooner, but yesterday there was some problem with the web site. I typed the ...
checking a tape is installed in a unix system6/28/2007
  Q: I know you can check if a CDROm/DVD is installed in a UNIX system with the eject -q option. How ...
  A: Most UNIX flavors and distros have a command "mt" (Magnetic Tape). The output format of a status ...
linux6/16/2007
  Q: Can you give me a short article that explaining system files of linux?(please dont give from ...
  A: Huh, well, I have never dug into those more than Wikipedia. True, I added some points for Tru64 UNIX ...
linux6/16/2007
  Q: Can you give me a short article that explaining system files of linux?(please dont give from ...
  A: I'm not sure what you mean by "system files". There are so many files that could fall into that ...
usermod command6/7/2007
  Q: i am very new to the world of linux. I am doing RH130 and i got confused. I am realy confused. In ...
  A: Well not quite. This is a question of semantics regarding inclusive and exclusive numeric ...
usermod command6/7/2007
  Q: i am very new to the world of linux. I am doing RH130 and i got confused. I am realy confused. In ...
  A: Well, it seams obvious, sorry. chage -m 3 stands for "set minimum number of days between password ...
Text based o. s.5/29/2007
  Q: Do you know of any operating systems that have less animations than Windows XP, etc? I assume that ...
  A: Linux can definitely be run in text-only and mixed mode. When you install it you will most likely ...
Proc5/28/2007
  Q: Sir, I have installed oracle8i on redhat linux9.0 i have to run proc programs in my system what ...
  A: Ahh, sorry. It has been a while since I last saw Oracle... So, Pro-C programs. Well they have to be ...
What does the Ctrl-U do in Unix/Linux OS?5/3/2007
  Q: What does the Ctrl-U do in Unix/Linux OS? Thanks, lzzzz
  A: There is no real consensus. Mostly it is for canceling the command typed, but not activated (pressed ...
linux cache server5/3/2007
  Q: I need help to install linux cache server with squid,but imagine some wants to do that has minimum ...
  A: If you are not familiar with UNIX/Linux and Squid AND you don't have time to become familiar, why ...
soccer simulator 3d4/28/2007
  Q: i am trying to run "robocup soccer simulator 3d 0.5.3" on SuSE 10.2. I've installed all the ...
  A: Sorry for not responding.sooner. Your problem may stem from three causes. 1. SO file not on ...
Linux i6864/26/2007
  Q: hey nix, what is this?(i686?) i just have user experience on XP. simply trying ubuntu now.
  A: Welcome to Ubuntu and Linux world. The label you saw states that the particular software product ...
VSFTPD on Ubuntu4/22/2007
  Q: I have just installed Ubuntu Server 7. I want to use this system as a FTP Server. I have installed ...
  A: Assuming that the disk is mounted at /extra, I would recommend first laying out some sort of ...
Anonymous Telnet Source IP4/21/2007
  Q: There are free HTTP proxy servers that we can use to remain anonymous (by masking IP or providing a ...
  A: Funny you should ask this question, since proxies WERE inspired by telnet gateways. A telnet gateway ...
Shell Problems4/11/2007
  Q: I have a dedicated server running windows, and a few days ago I installed a firewall on it. After ...
  A: Physical access to the machine is the best way to get you out of the jam. They should be able to do ...
Shell Problems4/10/2007
  Q: I have a dedicated server running windows, and a few days ago I installed a firewall on it. After ...
  A: Heh, this is the famous "paint yourself into the corner" activity. You've basically locked the door ...
Shell Problems4/10/2007
  Q: I have a dedicated server running windows, and a few days ago I installed a firewall on it. After ...
  A: If I understand correctly, you have a Windows box where you have some sort of a firewall which got ...
SMTP mail delay4/6/2007
  Q: I configured SMTP such a way that localhost talk to some relay server and forward the messages. The ...
  A: You didn't tell which sendmail is printing those errors. The error in question means that sendmail ...
unix4/2/2007
  Q: what is idle time
  A: Idle time is just what it's name suggests. It is the time CPU was not executing user tasks or system ...
How squid transparent in HPUX 11i3/30/2007
  Q: I have configured Squid in HPUX 11i and now i want to make it transparent is there any file or ...
  A: By transparent, I suppose, you mean users just surfing and Squid automagically caching, without the ...
where can i download UNIX OS for free from the web3/29/2007
  Q: Where can i download free unix OS from the web which does not conflict with window os (also free X ...
  A: There are many options for you. Firstly, there is a whole host of Linux distributions, so do check ...
ulimit -n problem3/26/2007
  Q: I am using “ulimit –n” to find number of file descriptor user can open. If I m running through shell ...
  A: The result of "ulimit" will depend on the initial setting of the parent process. A user's ...
networking3/24/2007
  Q: please let me know the steps for setting up DNS under unix.please tell in a little detail and in ...
  A: First, you need to draw your desired DNS setup with zones and servers. It can be as simple as one ...
Running apache with tomcat3/21/2007
  Q: I hav some static html pages and direcories in /var/www/html folder.so its contents are displaying ...
  A: You have two choices. CHOICE 1 You can run everything under TC. Setup your ROOT web application in ...
IP address3/19/2007
  Q: My isp provides me 8 dynamic ip addresses(ADSL). But i dont have a hub or ip share machines or ...
  A: There is no problem in using those 8 IP addresses, but... Well, first of all, they are dynamic, how ...
auto restore?3/5/2007
  Q: can linux do auto restore. i mean, everytime the linux reboot or restart, whatever installed ...
  A: This sounds like you need a Linux from CD. There are a number of bootable Linux CDs so you can run ...
Awk doubts3/3/2007
  Q: I facing 2 problems with awk (Solaris 9 - no gawk or nawk - and I don't know the awk version): 1) ...
  A: For specific details, you have to consult man pages. On Solaris 10, I can find only very rudimentary ...
Unix vs Linux - Process management2/26/2007
  Q: What are the differences between UNIX and Linux in terms of process management (Processes, process ...
  A: Basically, UNIX and Linux are very similar, since they descend from the same line of OSes. Now, they ...
unix2/15/2007
  Q: Mr. Nix, Thanks for your reply, but it didn't solve my problem. My first question was to limit the ...
  A: 1. TELNET I must admit I have not found anything useful on SuSE Linux. This doesn't mean there ...
unix2/14/2007
  Q: Hai, I have two questions, 1. How can i limit the number of telnet connections from a PC to the unix ...
  A: 1. TELNET This may be dependent on the telnetd you're using, but generally, there is a relatively ...
mount2/11/2007
  Q: mount -F ufs /dev/dsk/c0t0d0s0 /mnt what is that -F for? what is that ufs for? I've looked into my ...
  A: First of all, all I could find on "-F" option is "fork a mount process in the background", allowing ...
ulimit -n problem2/6/2007
  Q: I am using “ulimit –n” to find number of file descriptor user can open. If I m running through ...
  A: User limits are set usually per session. 8192 is the default, which can be set to anything not ...
ulimit -n problem2/6/2007
  Q: I am using “ulimit –n” to find number of file descriptor user can open. If I m running through shell ...
  A: User limits are set usually per session. 8192 is the default, which can be set to anything not ...
RunLevel 2 at Install CD2/1/2007
  Q: Can I enter run-level 2 via my FC6 install cd without installing FC6 into my HDD? and.. what's the ...
  A: Most likely, Run-level 2 is the rescue mode or at least very close to it. You are probably trying to ...
booting time1/24/2007
  Q: Booting time of Linux-like system seems to be longer than windows series? is that right? I try Xp ...
  A: Boot time depends on what you are trying to activate at start time. Take a look at what services you ...
Malloc1/19/2007
  Q: I want to know How Malloc() allocates memory. I want to know How it performs By operating Systems. ...
  A: Usually, a process gets a memory region allocated for it's use. That region is used by the stack ...
typeset usage in linux12/22/2006
  Q: we are in the process of porting the shell scripts written on HP-UX to redhat linux. In one of the ...
  A: I'm not sure what HP/UX version does, but it definitely doesn't do what you expect it to. Frankly, I ...
Unix programming12/14/2006
  Q: I want to know how to detect a Dead-lock situation in the above case, and how to handle it by ...
  A: There is no quick code for this. A process that dies is just like a machine in a cluster that fails. ...
Unix programming12/13/2006
  Q: I want to know If a process acquire a resource through a semaphore then it dides, then what happen ...
  A: When a process dies, all the resources it held are released, as far as locking is concerned. ...
Linux12/7/2006
  Q: I want to know how to do in a C program codding in Unix. If a Server want to know all the ...
  A: I think most modern UNIX OSes use /proc file system to access process information. "ps" does. I ...
Linux12/6/2006
  Q: CPU time, Memory usage, memory free; memory shared, memory usage for buffer, disk usage, the time ...
  A: The simplest thing to do is use "ps" and "iostat" commands on the server side. Client would use SSH ...
ulimit -n problem12/1/2006
  Q: Nix If i use ulimit -n 8912. then it would be an hardcoded value than what's the benifit of script. ...
  A: Well, not exactly. The hardcoded value is the one granted to you by the system. You cannot exceed it ...
ulimit -n problem11/28/2006
  Q: I am facing 2 problem hope u can help. 1. I am using “ulimit –n” to find number of file ...
  A: User's limits on system resources can be hard and soft limits. Hard limits are set in kernel and, on ...
AIX/UNIX script logging11/27/2006
  Q: I would like to log to a file each line run in any AIX script. I'm very new to AIX having spent ...
  A: There are a lot of ways to do what you want. Basically, any command giving output sends it to ...
typeset in Unix11/20/2006
  Q: I think it is just like static variable or perhaps global variable in C . Am I right... Kindly let ...
  A: Your hunch is correct, it is like global variable in C (static means it is visible to other ...
UNIX- file system simulation project details11/19/2006
  Q: we are a group of 3 working on a file system simulation project. we are working on a unix system ...
  A: Well, this is a big project, you should build an API library for file system access and then utility ...
typeset in Unix11/17/2006
  Q: Kindly explain me in detail:- What is typeset? In which scenario we should use typeset? Different ...
  A: "typeset" is a command to list or create variables and give them values. It has a benefit over a ...
How in shell script know about scp password prompt11/16/2006
  Q: For passworless key u can see this link http://www.mydotmac.com/passwordless_ssh_howto I cannot use ...
  A: The answer to your problem is - get the system administrator at the clients site an yank his/her ...
Linux networking11/4/2006
  Q: I am working over linux fedora core 3 and a satellite router (VSAT) iDirect 3000 series which also ...
  A: If I understand correctly, your main problem is not in generating the data file, but in transferring ...
Iptables10/31/2006
  Q: Is there a way in http_access(squid.conf) to deny subnets(rather subnets) or groups of users on ...
  A: In SQUID, you sshould use: acl instranet src 192.168.0.0/16; acl restrict_users src 192.168.10.0/24 ...
Iptables10/30/2006
  Q: You can disregard the prior 2 queations. Here is what I want to say. I have all users going through ...
  A: I'm not sure I quite understand your config. Is that machine a router or a proxy? Or both? If it is ...
Iptables10/29/2006
  Q: I want to deny several subnets to be able to see a host(ip address)from a proxy RH 7.2 server. It ...
  A: Definitely you can use IP Tables. Now, I don't have a Linux handy, but, basically just setup rules ...
C Preprocessor10/25/2006
  Q: This seems to work. Is there any way to set it not to expand include files (and just keep the ...
  A: As far as I know, it is not possible not to expand header files. Those are CPP directives, just like ...
Trouble in Installing Redhat Linux Enterprise Server 4 AS on Acer Aspire 5004 Laptop10/24/2006
  Q: I bought a Acer Aspire 5004 NWLMI. Windows XP Professional is already installed. I downloaded the ...
  A: Well, what can I say? Some things just don't work. You could try some other distro, like SuSE or ...
C Preprocessor10/21/2006
  Q: I didn't mean compiling with AGE=2. What I meant was some sort of a myfile.c >> myfile_AGE=2.c ...
  A: Of course there is. I dodn't understand your first request, now it is clear. If you wish to run ...
awk shell scripts10/20/2006
  Q: I have a large data file that I wish to automatically split into named files with the content and ...
  A: You are probably right, "awk" is a proper tool for the job. There is one other command that can be ...
C Preprocessor10/19/2006
  Q: I don't know if you're exactly the correct address for this question but i'lll give it a shot. I ...
  A: You can write: cc -D AGE=2 -o myfile.exe myfile.c ./myfile.exe On UNIX you do not have to add ...
filtering numbers10/15/2006
  Q: I want to filter only numbers from 0 to 9 from the string which contains other characters mixed ...
  A: I understand now. Well, "sed" won't help you. "awk" can do it. Of course, this is ugly. It would be ...
Advice on where to start10/14/2006
  Q: I am making the move to Linux, as I am predicting this will be the OS of choice in the future. I am ...
  A: I am pleased to hear that you have time and will to invest in Linux community. There are a lot of ...
Cron10/10/2006
  Q: let me explain my problem:- There are 16+ different database are residing on windows machine, i ...
  A: The idea of a cron job is OK. What you might wanna consider is how to schedule those 16+ jobs. If ...
unix10/9/2006
  Q: i've try'd to create 2 partitons and their is still no icon to install the software on. In disc ...
  A: Sorry for scarring you. No, it is not damaged, at least not physically. The data is gone, but you ...
unix10/9/2006
  Q: i can boot up the computer with dvd disc 1 of the software, after you click the agreement section, ...
  A: I'm not sure which UNIX we're talking about. iBooks are supposed to run MacOS (which is BSD UNIX ...
Not all web pages are opening using Mozilla Firefox on Ubuntu Linux10/8/2006
  Q: I have been running Win2K on my Intel P3 1000 MHz, 512 MB RAM PC. Recently, I partitioned my HDD and ...
  A: The first thing to figure out is what is going on with DNS resolution. Try to run commands like: ...
Cron10/6/2006
  Q: one more question i am planning to run around 16-30 cron jobs,is it fine. if i run all the crons at ...
  A: Of course, it will affect your performance. The real question here is not that, but at what time you ...
Cron10/6/2006
  Q: How many cronjobs can be run at a given point of time. Thanks Regards, Raghavendra N.
  A: Theoretically, you can run as many cron jobs as you like at any point in time. You can specify for ...
To clear file content in UNIX9/25/2006
  Q: I have tried but I am still not able to resolve my problem. I think the problem is because the file ...
  A: I'm not sure I quite understand. The command I gave you will replace the content of a file with ...
DAT tape: archive + tape info9/20/2006
  Q: I've been scouring the net trying to find the answer to this simple question...or at least what I ...
  A: Well, the short answer is "dunno". Since you are using HW compression, it is hard to say. You could ...
Changing a mount points options9/19/2006
  Q: It's a requirement for our system to comply with Information Assurance Scans. The /devices and 2 ...
  A: Most likely it will not work and most likely it has no effect. But, be my guest and test it. Try to ...
do you know anything about RAID1?9/18/2006
  Q: If I create a RAID1 with two disks in one computer, can I take one of them to another computer and ...
  A: The answer is - perhaps. RAID 1 is a mirroring setup and data is mirrored, no problem there. The ...
some problems9/17/2006
  Q: i have some problems in unix like Q-> explain the significance of ls -d .. ? Q-> explain the ...
  A: Preparing for an exam? 1. "ls -d" lists the name of a directory, instead of it's contents. 2. "cd ...
When working with both Network Adapters it works only if both are set on different IP ranges?9/8/2006
  Q: Is the following statement true? When working with both Network Adapters it works only if both are ...
  A: The answer is: "mostly". Usually, if two NICs have overlapping IP ranges, routing table is not able ...
New to programming8/30/2006
  Q: Newbie programmer just starting out. Just got fedora 5 and wondering if i need any add-ons or ...
  A: You will most likely need GNU C/C++ packages, which are freely available. You will also need a good ...
extern variables8/28/2006
  Q: extern variable means may be that variable has allocated memory in some other program that will be ...
  A: I'm assuming you are talking about C language construct known as "extern ...". When you write a C ...
sticky bit8/28/2006
  Q: while file test operations -k option is used the result will be true when the file exists && if ...
  A: Historically, "sticky" bit, displayed as "t" in "ls -l" was used to suggest to the OS that the code ...
c compiler8/28/2006
  Q: if compiler for c is written in c language which is used to compile the compiler ? also i hv asked ...
  A: The answer is, first you write a very simple C Compiler in assembler and compile the real C ...
shell script8/26/2006
  Q: can we write the code of check for whether the given number is even or odd in awk ?(not the one in ...
  A: I believe awk has a modulo operator %, like in C. If it doesn't, you can always settle for solution ...
at8/25/2006
  Q: i would like to know bout batch , at command i have tried this two commands on irix. batch command ...
  A: I've never used batch command, but if it waits for low system usage, well,... How DO you know when ...
send email from shellscript with message as output of shell script8/25/2006
  Q: I have shell script the output of which is appearing on the command line needs to be send as email ...
  A: 1. sending mail ( echo "To: Priya.D@allexperts.com" echo "From: nix@allexperts.com" ...
calculate total file size8/24/2006
  Q: When I tried the script, however, I got errors (I changed $4 to $5) as below, errors from running as ...
  A: It would appear that your machine is choking on this line: for file in `cat ${file_list}`; do Now, ...
calculate total file size8/23/2006
  Q: I want to get total size of a list of files, can you suggest a simple script to achieve this? ...
  A: Since there is no upper limit on the number of files this is the way to do it. #!/bin/bash ...
Compiling OpenGL in unix/linux machine8/20/2006
  Q: I have written a C program that uses graphic library of OpenGL . So, the first line of the code is ...
  A: Welcome to the slippery terrain of compiling under UNIX. :-) The message above simply means that CC ...
Unix/Tru64/Alpha ksh8/19/2006
  Q: Sunil again. My Tru64 has ksh and sh shells, none of them is supporting arrays while man pages say ...
  A: You are most likely NOT running a restricted shell. I do not have access to a Tru64 machine, but I ...
telnet users8/18/2006
  Q: I would like to find out the users who are using telnet to get to a system?
  A: Believe it or not, what you ask for is not easily done. You can list all logged-in users with ...
UNIX File dates8/10/2006
  Q: Answer - Hi J. I find it difficult to believe that backing files up would alter their date to ...
  A: What you are saying is most likely correct. It could be that the time value, which is a number of ...
I'M A NOOB!!! w00t! POSIX ME! ;-)8/10/2006
  Q: SUBJECT: I'M A NOOB!!! w00t! POSIX ME! ;-) MESSAGE: Hi! I'll keep this as concise as possible. :) ...
  A: 1. What is UNIX? :-) There are several brands of UNIXes, but today tehre are only two, maybe three ...
question about sell script.8/9/2006
  Q: i have a question about sell script. i want to have special line of a file in another file. in ...
  A: #!/bin/sh # # This script expects a file name for the input # Output is on the STDOUT # ...
UNIX File dates8/8/2006
  Q: On the file system, file dates have altered to show October 23,1940 on many files. What would be the ...
  A: File sync software is most likely the culprit. And your OS might be old or the software version ...
UNIX File dates8/7/2006
  Q: On the file system, file dates have altered to show October 23,1940 on many files. What would be the ...
  A: The most likely causes would be: 1. Restoring files from a weird backup 2. Hardware clock going ...
sizeof(fun)7/28/2006
  Q: the concept of padding in structure case is clear to me .but u havn't given the ans for ...
  A: As for the size of a function, well, there are tools which can display it, but from a program point ...
sizeof(fun)7/27/2006
  Q: i wud like to know that how can i find the sizeof a function . means hw much bytes are reserved by a ...
  A: The (sad?) truth is that there is no fixed standard in sizing the particular atomic type in C. It is ...
generic linklist in c7/27/2006
  Q: how to implement a generic linklist in c? if you are able to implement it then how you are able to ...
  A: It is relatively simple. typedef struct _LinkedList { /* place whatever payload you want */ ...
calender7/23/2006
  Q: i have also read the same content when i was studying unix commands on net . the problem is that how ...
  A: There are several commands to view or edit your logon profile file. Mind you, the exact file name ...
type conversion7/23/2006
  Q: i m from india. studying in mca. i understand that much i knew. but thses lines are not clear "An ...
  A: ERRNO variable is a globally defined variable available to your C program. Every function which runs ...
about unix commands7/23/2006
  Q: i have tried that command but it is successful if i want to rename a file .but it is not running ...
  A: There is only one command to do it and that one is "mv". It works on directories, just as it works ...
calender7/23/2006
  Q: by using calendar command can i programmed it in such a way to remind me on a particular date when i ...
  A: I don't have a Linux handy right now. This is what I found on the net: Before you can do the ...
type conversion7/22/2006
  Q: i have tried the code float f=2.3; int i=5; i=fl cout<<"i="<<i; i got 2. but i was expecting error ...
  A: If that was Pascal, you would certainly get an error. C and C++ wil atempt implicit conversion. If ...
Facl for7/22/2006
  Q: This time my question is related to the "setfacl" command. I was successfully able to give write ...
  A: File ownership is something you cannot divert. I believe ACL subsystem on Linux supports ACL ...
about unix commands7/21/2006
  Q: i have tried the command rm on bourne ,korn as well as on cshell for deleting files but these files ...
  A: The only command on UNIX-like OSes to remove files (and directories) is "rm". There are several ...
system programming language7/21/2006
  Q: but few points are not yet clear like Q---->"not to hide machine underneath in clouds of ...
  A: I am glad that you are interested in more than just a simple answer. I hope you don't mind an ...
Can not run a C program7/19/2006
  Q: Nix, Thanks for your reply. I have checked my system. I have installed libstdc++. find|grep ...
  A: Updating the library may cause other things to break, so be careful. First off, try to find out if ...
conio.h7/19/2006
  Q: i hv just started to work on unix shell . i made a program in vi editor in c++. but it gives error ...
  A: First of all, verify that the file IS on the system: find / -name conio.h If it is not there, try ...
system programming language7/13/2006
  Q: what is system programming language? and why c is called system programming language? thank you ...
  A: Well, there is no such thing, if we are being strict. Any language which can be used to produce a ...
Logical naming in solaris7/13/2006
  Q: wat is mean by the term 't'?when that term will change?is 'd' means the scsi id?what is the terms in ...
  A: I'm not quite sure. It could be something rare or arcane. There were controllers with several busses ...
Changing the user from within a shell script.7/12/2006
  Q: I need to run a script, The script is runned under normal user.Some part of the script is uses some ...
  A: The easiest thing to do is to setup "sudo", which allows you to specify exactly which command can be ...
root user not authorized for terminal access7/11/2006
  Q: I installed GNU software on a test machine and now I can't log on as root from a terminal. It's an ...
  A: First of all, I don't think that installing GNU software would have caused it. Most UNIX OSes have ...
Logical naming in solaris7/11/2006
  Q: what is the terms in c0t0c0d0 means in solaris?I know the expansion of all the terms(c,t,d,s)I know ...
  A: c - controller t - ? (trunk?) d - device s - slice (partition) Logical names should be: cXt0d0s0 ...
Shell Scripting7/11/2006
  Q: My query on a unix shell script is as follows :- #check if script is blocked ...
  A: Try printing something in case of "YES". It looks like "YES" is being missed in both cases. The ...
Remote Incremental BackUp7/7/2006
  Q: I am working as a system administrator (Linux) I need to know how to make remote backups, I will ...
  A: I'm not sure what capabilities free backup utilities free software have, but incremental backup ...
How to make a program using UNIX script7/3/2006
  Q: SCRIPT #1 Create a menu driven script that will simplify the use of the following commands (grouped ...
  A: I have been swamped with work these days, sorry for late response. In your case I'd go for a shell ...
why linux?6/30/2006
  Q: I bought a used ibm notebook with windows xp pro, etc. and now windows has decided that this is not ...
  A: If your windows is genuine, you should have a serial number and some paper document with a hologram. ...
Linux Beginner Question6/26/2006
  Q: I was thinking about switching from Windows to Linux and have no knowledge of linux other than there ...
  A: Sorry for the late response. I'm not sure what happened, I answered the question, but I guess it ...
Basic Unix Question6/23/2006
  Q: My question is basic unix question i have been working on windows os for a while. i would like to ...
  A: 1. You usually do not "need" UNIX. But are you willing to pay for the same service on Windows? Most ...
Linux partition6/21/2006
  Q: Nix I am not a Linux Admininstrator but only a user. I bought a PC linux with 80gb HD and RH9 ...
  A: First of all, you (generally) cannot extend an existing partition. Yes you can change partition ...
Installing Downloaded Programs on Linux6/17/2006
  Q: How do I install downloaded software for Linux on my Linux System? I'm talking about utility tools ...
  A: This vastly depends on the form of the software package. If it is RPM (*.rpm) that should be ...
NAT for private network6/15/2006
  Q: I am a Linux systems administrator but I've had some trouble figuring out how to use NAT to get it ...
  A: I have never setup NAT manually. I have always used some firewall templating software, like ...
new to operatting system6/14/2006
  Q: sir, i want to learn linux. i dont know any operating system in particular. should i learn ...
  A: Linxu and UNIX share a lot of common elements and learning one means covering a lot of ground of the ...
remote SSH from cygwin to AIX 5.26/14/2006
  Q: I have a ksh script in the AIX. I use SSH cygwin from windows XP PRO and remotely execute the ...
  A: I sugest you log on using SSH and type "printenv" to see what environment variables you have defined ...
remote SSH from cygwin to AIX 5.26/13/2006
  Q: I have a ksh script in the AIX. I use SSH cygwin from windows XP PRO and remotely execute the ...
  A: The most likely cause of your grief is the environment. Most likely there is some other environment ...
internet6/12/2006
  Q: If I use a Linux "Live CD" on my networked computer at work, would it be less detectable than ...
  A: Short answer, maybe. :-) Well, let me state some obvious facts. If you're gonna be on the Net, you ...
vi command6/7/2006
  Q: I am trying to edit the /tmp/list file and change the setting of the PASS_MAX_DAYS to 100. i have no ...
  A: From "vi" editor, it would be invoked from the command mode and then type: :%s/PASS_MAX_DAYS ...
Linux commands6/6/2006
  Q: I am using Ubuntu linux and I try to find the command in the shell: -Display the name of the current ...
  A: This works an any UNIX. 1. pwd 2. find / -name "*myfile.list" 3. MYID=test; export MYID The last ...
Linux and Windows6/5/2006
  Q: I think what I meant was to have the Linus box act as a server and the Windows machines can access ...
  A: In that case, look for tutorials on these subjects: - Apache (Web service) - Samba (Windows ...
fdisk/ntfsresize issues6/4/2006
  Q: I figured out the issue. The partition table was completely OK, I had done that part right. ...
  A: This is bordering my area of expertize, I've never actually setup a dual boot system, since I always ...
Linux and Windows6/4/2006
  Q: My knowledge on Linux is very limited. But I'd like to add a linux machine (Ubuntu may be) in my ...
  A: Well, there are several tutorials, depending on what you consider "Windows talking to a Linux ...
Linux6/4/2006
  Q: Thats not the case at all. I have actually fixed the problem now. What i did was at the boot disk's ...
  A: I'm glad you solved the problem. Yes, "fdisk /mbr" is the equivalent of Linux "lilo" command, so you ...
Linux6/1/2006
  Q: That much worked, my only other problem was when I deleted linux GRUB corrupted and wouldn't boot ...
  A: You don't need to "uninstall" grub - what purpose would that serve? You want to install Window XP on ...
fdisk/ntfsresize issues6/1/2006
  Q: *** "What most likely happened is that you have made your NTFS partition the second one, while Linux ...
  A: Sorry for my late response. Got swamped with work. Partition table is just a table with 4 entries ...
Linux6/1/2006
  Q: My question is fairly simple. I need to format a hard drive running Ubuntu Linux, this is installed ...
  A: It saddens me to hear that you're deleting Linux. :-) Well, you are free to choose, I use Win XP as ...
Wanting to switch to Linux with a new computer.5/31/2006
  Q: Wanting to use a Linux OS on a new computer. Using win98 now on my current computer. Wondering ...
  A: 99% of PCs out there can be made to work with Linux. The main problem is in drivers. For WinModem, ...
fdisk/ntfsresize issues5/30/2006
  Q: What I Did: (1) Booted from the Knoppix Linux LiveCD, ran “ntfsresize” from the Root ...
  A: If you can access your data on the NTFS partition from Knoppix, that is good news indeed. It means ...
Problem in sendmail and webmin5/22/2006
  Q: We are having a linux mail server in which we have configured our email clients. In one of ...
  A: A repeated mail can be caused by two things. Firstly, it might just be that he has received 1000 ...
redirecting root's mail5/19/2006
  Q: i'm using a linux box (SuSE 10) as a PDC and file-server for my home LAN - no email services, which ...
  A: By legitimate host, I refer to both a FQDN that exists (is resolvable by DNS) and one that will ...
redirecting root's mail5/19/2006
  Q: i'm using a linux box (SuSE 10) as a PDC and file-server for my home LAN - no email services, which ...
  A: Well, you could setup masquerading - there is some of that stuff in YAST2. That way your mail will ...
Bash script5/18/2006
  Q: Hey Nix, Another quick query! Sorry to bombard you when you have so much work! But after I've ...
  A: If you wish to read a line in the middle of that loop, just do it: cat ${file} | while read line; ...
bash script5/18/2006
  Q: !! I'm making slow progress... I really appreciate that :-) This is what I have atm: #!/bin/sh ...
  A: If you want to avoid using temp file, just pipe it: reqs='echo ${line} | grep -c "{requirements}"' ...
Bash script5/17/2006
  Q: Hey Nix, I asked a question yesterday and I have a brief follow up... I've discovered that: grep ...
  A: Cycling is relatively easy: grep '\begin{requirements}{' requirements.tex | cut -d { -f3 | cut -d ...
linux server question5/16/2006
  Q: Thanx for your answer. I didn't know it will be so complicated. Was thinking there will be some kind ...
  A: The strating point is always the head, in one of these locations: /etc/httpd/httpd.conf ...
bash script5/16/2006
  Q: I'm having trouble with a shell script that I need to write. I need to parse 2 files... the first ...
  A: I'm a bit tired right now, but I'll give you two ideas. Firstly, you could stick with your script ...
mail bouncing problem4/30/2006
  Q: We are getting some mail bounce problem, sometime we received the mail but sometime the mails are ...
  A: It would be good to do two things. First check your server logs to see if: a) the mail in question ...
Rename file by script4/19/2006
  Q: if I have two files in one directory SHPMNT_RETAIL_1029.200604180355510 ...
  A: It is relatively simple. today='date +%Y%m%d_%H%M%S' count=0 for file in SHPMNT_RETAIL_1029.*; do ...
problem using rcs checkin4/14/2006
  Q: I am checking in and checking out code using RCS. I first did make a copy using a script provided ...
  A: This is a bit unusual, but with non-server version control systems, anything is possible. I would ...
Linux4/6/2006
  Q: I want to learn to use Linux. But I want to avoid formatting my hard drive and then partitioning the ...
  A: There must be someone up there watching us... Right this moment I am doing that :-) There are 3 ...
ftp problem4/5/2006
  Q: I have tried to add in the 'open erptransfer.na.plexus.com' and 'ftp erptransfer.na.plexus.com' , ...
  A: OK, try the basics, can you see the host in question (over the net). Try these commands: 1. See if ...
ftp problem4/4/2006
  Q: I try to establish connection between Windows 2000 and Unix through command line FTP but error ...
  A: What you describe doesn't look right. Assuming "erptransfer.na.plexus.com" is the hostname of the ...
How can search engines work so fast?3/30/2006
  Q: Im not sure who/where to ask this of, plz advize if is out of your expertise:: When one searches the ...
  A: Thousands is more likely. You see, it is impossible to store all the data in one DB, so what such ...
How can I login to another unix machine from one session with out giving the pwd?3/20/2006
  Q: I have to connect to one remote machine from an unix machine using SSH command. I am executing the ...
  A: When you connect to another machine, you either have to give some credentials that you can access ...
Domain controller with resource access limitation3/15/2006
  Q: I have to install a domian controller/NAT server/Firewall/Router/DHCP server/DNS on linux (FC4) ...
  A: I have read your question, but some things remain to be specified. Are you going to use strict proxy ...
Newbie FreeBSD/Linux Question3/8/2006
  Q: nix! I am trying to compile the program JACK that is required for the midi sequencer Rosegarden. ...
  A: What the instruction meant was to run "configure" with that switch. About 99% of freeware packages ...
download and burn3/8/2006
  Q: still learning. i want to download some unix or linux OS and files - but i want to download it on ...
  A: You can safely download and burn Linux ISO images on any OS; Windows, Linux MacOS - I did it once on ...
rm3/7/2006
  Q: .. It didn't actually work though... I was still asked the question, even with the -f flag... Is ...
  A: What you're describing is weird. Try to execute "alias" shell builtin command and see what aliases ...
rm3/7/2006
  Q: This may seem like a very simple thing to solve, but looking on google hasn't given me any answers. ...
  A: Please keep in mind that that command is dangerous if used carelessly. Most of the time, there is no ...
What is the meaning of the $ in the front of the follwing command?3/6/2006
  Q: What is the meaning of the $ in the front of the follwing command? $./smbpasswd Thanks, lzzzz
  A: I cannot find any reference to what you'v written. Could it be that you've misread it? Usually ...
program installation3/3/2006
  Q: Followup To Question -Followup To Question -Hi, I have recently installed WordPerfect Linux into ...
  A: Well, this is bordering my knowledge territory. For any shortcut you'd need an executable. My bet ...
program installation3/3/2006
  Q: Followup To Question -Followup To Question - Hi, I have recently installed WordPerfect Linux into ...
  A: Good to hear it is working. As to making shortcuts on the desktop, well, I don't have a Linux ...
Linux Equivalent to norton Ghost3/1/2006
  Q: I use norton Ghost in windows do you know of any program that is similar to nortin ghost that can be ...
  A: I'm not sure, but there could be a version of GHost for Linux. Anyway, for backups you should use ...
SSL configuration failed!!2/28/2006
  Q: Currently I'm trying to configure the Apache server and Tomcat. But during startup time the process ...
  A: First of all, if you're building your own version of Apache, why are you going for OpenSSL 0.9.6m ...
Can't log on as root2/27/2006
  Q: nix: Thanks for the suggestions. It doesn't look good... 1) No, /usr/local/bin/sh is not there. ...
  A: Well, it doesn't look good, but it could be that there is a different syntax to be used. See in man ...
program installation2/27/2006
  Q: I have recently installed WordPerfect Linux into Redhat 9, and I want to get the shortcuts onto the ...
  A: I advise you to use terminal application. That way you'll be able to see the error and successful ...
program installation2/25/2006
  Q: I have recently installed WordPerfect Linux into Redhat 9, and I want to get the shortcuts onto the ...
  A: If it is a RPM package, finding it is easy. Run: rpm -a -a | grep perfect and locate the name of ...
Can't log on as root2/24/2006
  Q: nix! I have another, bigger problem. When I was trying to change my shell and examine my path, I ...
  A: It would appear you have changed the user shell for your root account to something that doesn't ...
How do I run GnomeLogAlyzer?2/24/2006
  Q: nix! I have a really simple newbieHow do you run a script? I have been googling all afternoon ...
  A: The trick is, you forgot to set execute permission on your script. Unlike DOS, in UNIX each file can ...
mutex2/23/2006
  Q: What's the difference between semaphore and mutex ,as both are used for providing synchronisation?
  A: Semaphores are used for resource locking, most commonly seen in producer-consumer type of problems. ...
SSI in Apache2/22/2006
  Q: I believe a previous questioner has asked about enabling SSI in Apache 2 on Linux Mandrake 10.1. I, ...
  A: The above setting should turn on SSI for /index.shtml ONLY. So, any other file will not be processed ...
Sed escape character for double quotes2/7/2006
  Q: This time I am struggling with a sed script (trying to replace a regexp with double quotes with ...
  A: Running sed scripts from command line is usually troublesome. There are two things you can do. Try ...
init scripts2/5/2006
  Q: You're still talking over my head, though. Let me see if I've got this: old='pwd' is apparently ...
  A: The reason why I'm using two tars is because copy would run over the ownership and permissions on ...
init scripts2/4/2006
  Q: Woah, that's awesome. You really put some work into this. Unfortunately, I'm pretty ignorant and ...
  A: OK, these scripts were meant to be tailored by you to fit your situation. I have chosen to save the ...
Unix shell script2/4/2006
  Q: I just started learning UNIX basics,presently I am working on shell scripts.Can you suggest me ...
  A: Without an escape key you're toasted. You could try to type ^[ but I'm not sure if it will work. ...
init scripts2/3/2006
  Q: DeepFreeze is not available for Linux, which is why I need a custom solution. Which particular init ...
  A: Ah, I didn't realize that. Sorry. Well, you could have two scripts for taking the snapshot and ...
compier warning during porting of code to Linux, warning: cast to pointer from integer of different size2/3/2006
  Q: This question is about compier warning during porting of code to Linux. The compiler warnings are as ...
  A: This may not be a bug, but it is an ugly hack. There are (even system) functions which return a ...
init scripts2/2/2006
  Q: What's a hook? I don't think my distro has a GUI config for startup scripts, but all Linux distros ...
  A: When your Linux starts up, it calls a number of init scripts. One of these scripts is for ...
Password Checker...1/31/2006
  Q: I need some help in writing a secure username/password checker using C/C++. I need to start by ...
  A: As for encrypting, the most common approach is to encrypt the password portion, using MD5. MD5 hash ...
chmod 2666 test.txt1/27/2006
  Q: I usually see the usage of the command chmod as follows, chmod 666 test.txt but today I saw its ...
  A: 6 = (binary) 110 = rw- 0666 = (binary) 000.110.110.110 = rw-rw-rw- 2666 = 0666 + Set Group ID on ...
nobody permission and library access through httpd1/24/2006
  Q: I am currently running a FreeBSD Box. and would like to use ImageMagick run on the web, thus by a ...
  A: Sorry for the delay. First of all, I hate installing into /usr/local/. Don't get me wrong, that dir ...
Unix file-systm simulation in using C1/22/2006
  Q: I have undertaken an assignment to simulate the unix filesystem. i am using a gnu C compiler on a ...
  A: The short answer is "it depends". It depends on what you refer to, when you say "simulate". You ...
Interactive File Deletion! Please Help!1/22/2006
  Q: I have an urgent question regarding a school assignment I've got due in a couple of days. I am ...
  A: Sorry for the delay, forgot to turn on my vacation message. Well, that should be a simple task, ...
All the possibilites?1/21/2006
  Q: I would like to know what file the Tab or Esc button goes to display all the possibilites? Thanks ...
  A: I assume you are talking about BASh or ZSh expansion via Tab key? What the shell will look for ...
Database Administration1/21/2006
  Q: We have Unix installed on our server, and unfortunately our Unix Database Administrator left under ...
  A: Sorry for the long delay. I can figure out you are running SCO UNIX, but not which RDBMS. Generally ...
Why doesn't my email work anymore?1/20/2006
  Q: nix: I told you I was a newbie! :) Okay, so I tried to connect to SMTP again, this time typing ...
  A: Sorry for the long delay, I went on a vacation and forgot to turn on AllExperts vacation message. ...
Why doesn't my email work anymore?1/19/2006
  Q: Nix! Okay. I tried the SMTP and POP connections as you advised me: $ telnet smtphm.sympatico.ca ...
  A: As for the connection dialogue, well you were supposed to send commands :-) Every line that starts ...
Why doesn't my email work anymore?1/18/2006
  Q: nix! Thank you for responding so quickly. And the weather is surprising mild here in Toronto for ...
  A: The weather here is also unusually mild here, no snow, just rain, here and there. I guess that ...
Why doesn't my email work anymore?