You are here:
| Subject | Date Asked |
| Some direction regarding Unix basic utilities | 1/10/2012 |
| Q: I wondered if you could share or point me at some suitable material regarding some questions I have ... A: Well, without consulting MTA logs, you're left with "poke the black box in the dark room" technique. ... | |
| A Maximalist window manager? | 12/15/2011 |
| Q: I googled someone said stumpwm is a maximalist wm. what does that mean? A Maximalist window ... A: I guess you translated it right. This is from their website: <b>Stumpwm is a tiling, keyboard ... | |
| Xen | 11/20/2011 |
| Q: Please tell me the advantage of Xen virtualization over other same competing technology. I use ... A: Xen is a bit older, as far as I know. I have run VirtualBox and Xen on a couple occasions, no big ... | |
| Help needed quickly please | 11/13/2011 |
| Q: Dir Sir, I'm having a weired trouble..... I have a dual boot installed ( windows 7 along with linux ... A: Firstly, does Win7 work OK? Meaning, is this something local to the Linux installation or hardware ... | |
| Linux command inside of C code | 11/12/2011 |
| Q: I've got a two part question. Is is possible to reboot a linux device via a mac or IP address? And ... A: The answer is "maybe". If the Linux box (don't know what is a "linux device") exposes a service ... | |
| open source eCommerce software | 10/23/2011 |
| Q: I need a handy ware to do some display products ,shopping carts. ... A: I can really comment only the things I have seen. We are currently working with Apache OFBiz. It is ... | |
| debug | 10/16/2011 |
| Q: What would you suggest to do to find problem if,for example, I issued a command in shell like ... A: First of all, if you have problems running a command, do not start it in the background. So, drop ... | |
| Virtual Serial Port | 10/8/2011 |
| Q: I want to create a software to read data from /dev/ttyS0 (serialdevice) The problem is that device ... A: Well, there is a problem to your approach. All files in /dev/ directory correspond to a device ... | |
| ubuntu dual monitor | 10/3/2011 |
| Q: I had my computer with ubuntu 10.04 on it and 2 monitors working perfectly fine. I had to move to ... A: Not sure how to help. I have not been dealing with GUI on Linux much. I do have OpenSUSE and dual ... | |
| sco openserver | 9/23/2011 |
| Q: i have a linux sco server that will not take our password anymore. i need to get into the patients ... A: I do not quite understand what you mean by "it will not take password". Do you get a prompt for ... | |
| sed regex match | 9/19/2011 |
| Q: echo "xx8:11vv" |sed 's/.*\([0-9]*:[0-9]*\).*/\1/' why cannot the "8" be matched? it only turn out ... A: I'm not sure I know the source of the problem, but it looks like a bug in SED's RegEx. Look at this: ... | |
| write permission of new disk | 9/12/2011 |
| Q: I added a new disk to my debian system. But ordinary users cannot write to it. How to do it? chmod? ... A: Well, sure, chmod would do it. It definitely depends on what you want to achieve. If all users are ... | |
| Connection Problem | 8/8/2011 |
| Q: I am trying to connect a Windows XP laptop to a server, so I can use the browser to "see" what I am ... A: Heh. The wire pairs need to be reversed or something. You can look it up on Wikipedia, if you like. ... | |
| Connection Problem | 8/6/2011 |
| Q: I am trying to connect a Windows XP laptop to a server, so I can use the browser to "see" what I am ... A: First of all, can you "get" to the "server"? I mean, ping it. This may be less than reliable test, ... | |
| Case study | 7/28/2011 |
| Q: Sir i have to submit a case study and also along with its implementation sir please guide me in ... A: Well, pick a subject that you know the most about. Or, if you like a challenge, pick one that you ... | |
| Spring Framework | 7/28/2011 |
| Q: Sir i have confirmed it is Spring Framework.i have to give seminar on Spring Framework of Java ... A: Wait a minute! You have to GIVE a seminar on Spring Framework and you have NO IDEA what it is??!!! ... | |
| License | 7/24/2011 |
| Q: When some specific software is licensing to BSD rather than GPL? What's the first thing coming to ... A: The main difference is in repercussions it has on the software using it. In both cases you are free ... | |
| Operating Systems Booting through USB Tape Device | 7/19/2011 |
| Q: Every Operating System has different File Systems Format. As we know Tape Devices, a secondary ... A: The short answer to your original question is still "no". BIOS in a standard PC is incapable of ... | |
| Operating Systems Booting through USB Tape Device | 7/18/2011 |
| Q: Every Operating System has different File Systems Format. As we know Tape Devices, a secondary ... A: Whether or not one machine can boot from a tape (be it USB or SCSI), depends greatly on its firmware ... | |
| Perl string question | 6/25/2011 |
| Q: what's the equivalent code of Perl? sed -i 777,2545!d somefile Obviously it extract lines of ... A: Well, frankly, I never needed it. I could do all I needed with just shell, awk, sed and other ... | |
| Perl string question | 6/19/2011 |
| Q: what's the equivalent code of Perl? sed -i 777,2545!d somefile Obviously it extract lines of ... A: I have never used Perl, but I can tell you what this does. Edit inline "somefile" (means: edit on ... | |
| a problem with GNU Screen | 5/16/2011 |
| Q: I met trouble like this: -- qw@slk:~$ screen -ls There are screens on: 2737.cal ... A: Hmm, no idea, really. Works like a charm on my machine (OpenSUSE 11.3). Perhaps you could take a ... | |
| bash scripting | 4/22/2011 |
| Q: more of a forensic script question heres a script i did #!#!/bin/bash ... A: In short: with extreme difficulty. Long answer is, XXD is is a nice utility, but if you concatenate ... | |
| Scala | 4/2/2011 |
| Q: My friends strongly recommend Scala to me. But I found it takes position 44' in tiobe index ... A: Well, most people are, I guess, content with Java. And there is also a huge inertia of companies. ... | |
| Unix basics | 3/27/2011 |
| Q: 1.What is different between Commands and Utilities? 2.What is different between common Unix Commands ... A: This looks like a homework question, so please consult your notes. 1. This is really debatable, ... | |
| for loop in sh | 3/25/2011 |
| Q: How do I do this in bourne shell? ------------------ #!/usr/bin/perl for my $a (300...400) { print ... A: Bourne shell has no equivalent for this, but hen, you will rarely see Bourne shell used. Today ... | |
| queue | 3/2/2011 |
| Q: i'm new in c++. can you please explain me briefly what is FIFO, LIFO and Priority Queue. what are ... A: Real world metaphores? Well their names are real world metaphores: FIFO = Queue LIFO = Stack ... | |
| queue | 2/28/2011 |
| Q: i'm new in c++. can you please explain me briefly what is FIFO, LIFO and Priority Queue. what are ... A: Those three are known under different names: Data structures, Collections,... All of them hold other ... | |
| grub and a 2T hdd | 2/21/2011 |
| Q: I did a little google. Looks like grub cannot handle maybe a size close 2T linuxpartion. but I didnt ... A: It appears that such partitions can be created and booted off. You need to use "parted" command to ... | |
| installation of software from tar.gz files | 2/8/2011 |
| Q: how do i install software form tar.gz files? A: *.tar.gz is a file that represents a GZipped TAR archive. Effectively, it is a ZIP file. So, on ... | |
| terms in 7z | 11/12/2010 |
| Q: I use 7z in linux. I met a term called 'solid archive'. what is that? A: Solid archive means that all files in the archive are compressed as one block of data, as opposed to ... | |
| Linux partitions and Windows | 10/29/2010 |
| Q: I certainly appreciate it very much! I am very much into Linux but unfortunately I need Windows ... A: Heh, welcome to the slippery world of security. First of all, the only computer that is 100% safe ... | |
| Unix Scripting | 10/21/2010 |
| Q: I am very new to shell scripting. I have a directory /source/adapter/sent I want to be able to ... A: OK, so if all of that is one line, then something like this would do: #!/bin/bash cat $1 | while ... | |
| redhat ping unable | 10/17/2010 |
| Q: .. I had Redhat 4 on Vmware and I can ping from it to other IP's but on one can ping on it ..... ... A: Sorry for late response. Email acted up and thought this was SPAM. Firstly, you didn't tell me what ... | |
| apache config for url | 10/15/2010 |
| Q: nix I have a website (www.saltonatale.ch) which is programmed to scroll down to the bottom ... A: First of all, a rewrite rule should look like this: RewriteRule ^http://www.saltonatale.ch/$ ... | |
| Viewing the content of ./a.out | 10/15/2010 |
| Q: In linux OS,we run c programs and executable file ./a.out will be created,Is there any method to ... A: The a.out (or any other name you choose for your output) is a binary file. I'm not sure what you ... | |
| Interrupt vs normal function | 10/8/2010 |
| Q: Can you please let me know the clear differences between the interrupt and normal function call in a ... A: There are several things that fit this description. 1. Call to a shared library If your program is ... | |
| dd and umount | 9/10/2010 |
| Q: when I dd if=/dev/hdb4 of=/tmp/a.iso. should I umount hdb4 first? A: It would be highly advisable to at least do "fsync", to flush buffers, but if there is some activity ... | |
| Korn shell | 8/7/2010 |
| Q: Can you tell me what is the advantage of ksh over other shell language?(like bash,sh) thanks A: It seems that most advantages are tied to programming aspects of the language, like associative ... | |
| best OS for programming | 7/30/2010 |
| Q: I'm on my way to take C/C++ courses. So the school suggests Unix as the development platform. So ... A: Strictly speaking, only AT&T System V is a real UNIX. All other s are either derivatives with ... | |
| add mutiple users on debian | 7/22/2010 |
| Q: I am using debain Lenny. How do I add more than one user at one time with all the same ... A: The only option I am aware of is to write your own script for that. List your usernames in one file, ... | |
| Moving to Linux | 7/2/2010 |
| Q: I am curious about changing my operating system to Linux. Can you tell me will I get any benefits ... A: The main benefits of Linux are: - free (usually) - more secure - a strong base of server programs ... | |
| Which one is CPU temp in lm-sensors | 6/26/2010 |
| Q: This is my sensors out put. I'd like to know which one is CPU temp. thanks. temp1: +40.0 C ... A: I think your system is not showing CPU temperature, but cannot be sure. Can you read it in your ... | |
| virtualbox -- VT-x | 6/22/2010 |
| Q: Please take a look at this link ... A: Sorry for late response, lost track of that email. Anyway, although it is bizarre that VBox would ... | |
| remote login - FreeBSD vs OpenBSD | 6/8/2010 |
| Q: I found that in default setting FreeBSD does not allow root login. But OpenBSD does. I read some ... A: Hmm, well, generally, not allowing root login means one more hurdle to overcome, if you want to hack ... | |
| vserver in debian | 2/23/2010 |
| Q: I read this on debian wiki LinuxVserver - Mostly used on servers - Not really a virtualization, ... A: I'm not sure what they mean by it, but most likely, it will be removed. There are better ... | |
| Shell Script | 2/23/2010 |
| Q: Nix, Thank you for your time in advance, I'm trying to learn shell scripts for the first time, I ... A: #!/bin/bash clear if [ $# -gt 1 ]; then echo "Only one optional parameter allowed." exit 1 ... | |
| bash scripting | 1/29/2010 |
| Q: sh which i just created the script needs to ask for a name, phone number, date of birth, which i ... A: A slight mixup, I'm afraid. You should add a line to your script bdayadd.sh, like this (I imagine ... | |
| Linux or Solaris | 1/27/2010 |
| Q: Hey Nix, I am an expert just like you but on Microsoft platform. Now I want to learn ... A: Contrary to your opinion, venturing into Windows administration might not be a bad idea, from purely ... | |
| bash scripting | 1/22/2010 |
| Q: i have created a file name simple1.sh in the pico editor im trying to just a. Display a list of all ... A: OK, I can see some very basic errors here. First of all, "echo" will echo what you give it and it ... | |
| on UNIX programming | 1/21/2010 |
| Q: sir, currently I m working on Suse 9.3 linux version. and i hv problem in running C/C++ in Linux. I ... A: You should got to Yast2 and choose Software Package Management and then choose to install GCC and ... | |
| Windows to Linux | 12/31/2009 |
| Q: I have been using Windows Xp and Vista for the past 5 years and now I would like to switch to Linux ... A: Since you already have a working OS, I would recommend downloading some decent book on Linux, like ... | |
| wget something | 12/19/2009 |
| Q: I use wget http://www.some.net/bbs/attachment.php?aid=262007. But only to download HTML document ... A: Three things may interfere with your download. 1. It may be the wrong link 2. You may need a cookie ... | |
| trace init | 12/12/2009 |
| Q: Is it possible or how to trace init? Since every process,in my understanding,will be spawned after ... A: If by "trace init" you mean trace the init process, the one with PID 1. It is near to impossible to ... | |
| files ownship | 12/6/2009 |
| Q: i cp a configuration file from root to a user,that's, in /home/. yes we saw this -rw-r----- 1 ... A: There is no problem, or at least, not immediate. If other users need access to that file AND they ... | |
| Linux Red Hat 9.0 Firewall/Proxy | 12/1/2009 |
| Q: I seem to be running out of space in my firewall. When using the command df. It tells me I have ... A: First of all, you should measure how much space is occupied by those files and see if you are seeing ... | |
| Time drift | 11/25/2009 |
| Q: I install debian (lenny) in VMWARE ACE 6.3 I met a time drift of 7 seconds per day. Is it posible to ... A: I do recall some time drifting on VMWare Workstation, myself. And I did run into a message about ... | |
| Memory Access by a C/C++ program | 11/21/2009 |
| Q: I am needing a piece of code or instruction to generate my own one for to find that during the ... A: I'm not entirely clear on what you're asking. Do you want to monitor your own code or some other ... | |
| multiple arguments to a sciprt in bash | 11/16/2009 |
| Q: How you feed multiple arguments to a script in bash? like ./script One Two Three Four ..so on (with ... A: This highly depends on your definition of "feed". Even what you did here can be handled: cat ... | |
| UNIX | 11/9/2009 |
| Q: Sir i use UBUNTO. Sir i want to Develop a Client Server Application using Linux FIFOs. Following ... A: For inter-process communication, you can use 2 things: IPC Message Queues and files. For message ... | |
| Development machine | 11/1/2009 |
| Q: I want to build a PC with several OS in it. At least Linux, and Windows (not sure which Windows ... A: If your hardware is 64bit, then you can install a 64bit OS. Most Linux distributions have 32bit and ... | |
| DNS and FTP | 10/30/2009 |
| Q: Below is what I know about how DNS and FTP are used. My question is, where do they fit in the OSI ... A: OK, the interaction with the TCP/IP is via network stack, whatever it is. This may sound vague, but ... | |
| DNS and FTP | 10/29/2009 |
| Q: Below is what I know about how DNS and FTP are used. My question is, where do they fit in the OSI ... A: ISO OSI model is a relatively formal model and TCP-IP doesn't insist on all 7 being used. Basically, ... | |
| edit stuff | 10/29/2009 |
| Q: there exist a script looks like this expect { -re ".*X.*" {send "A-specific ";sleep 1} -re ".*X2.*" ... A: If the size of the block is fixed, it should be pretty easy. Say the script is in script.expect ... | |
| modern use of Lisp | 10/18/2009 |
| Q: what are the modern use of Lisp? I know of long before it was used in such EMACS-related. But in ... A: Functional languages are climbing, since they scale well in multicore systems. As for LISP, there is ... | |
| Calling excel macro from shell script | 10/14/2009 |
| Q: Is there anyway to call an excel macro from unix shell script? Thanks in advance. A: Not that I know of. Even if you load the Excel file into OpenOffice Calc, which what you will have ... | |
| Which laptop should I buy for Linux Live? | 10/13/2009 |
| Q: I'm new to the world of Linux. I'm used to using Windows OSes but I would like to enter the Linux ... A: Well, it doesn't say what Linux packages it has and I suspect, not many. It is more for a controller ... | |
| Which laptop should I buy for Linux Live? | 10/12/2009 |
| Q: I'm new to the world of Linux. I'm used to using Windows OSes but I would like to enter the Linux ... A: It is quite possible to create a "RAM drive" and it could be that some live CDs even do that. Well, ... | |
| Which laptop should I buy for Linux Live? | 10/11/2009 |
| Q: I'm new to the world of Linux. I'm used to using Windows OSes but I would like to enter the Linux ... A: OK, I'll try to address your query. First of all, I've never had a laptop - just plain desktop ... | |
| ssh sniffer | 10/10/2009 |
| Q: If I use ssh (from machine A)to enter other machine, can the root or system admin(of machine A)use ... A: First of all, there is no such thing as "SSH sniffer". SSH uses strong asymmetric cryptography and ... | |
| list 30 days file | 10/5/2009 |
| Q: I am trying to write a script to delete every files in a directory except those that are less 30 ... A: The easiest thing to do is to use a very useful command, "find". find /your/dir -type f -ctime +30 ... | |
| iptables | 9/28/2009 |
| Q: I would like to write a rule to accetp 87.106.*.* How simply do I express? A: This highly depends whether or not you're using some sort of firewall configuration software, like ... | |
| auto login | 9/25/2009 |
| Q: I am using debian. I install it with only base system that's I dont have x or desktop in it. ... A: You have several options at your disposal. 1. Use "mgetty", like you did with Debian 2. Use "ageety ... | |
| migrting sendmail into postfix | 9/15/2009 |
| Q: i have currently sendmail server in Linux 7.2. Which is my mail server for the users, there is ... A: Migrating from Sendmail to Postfix can be easy or difficult, depending on your exact Sendmail setup. ... | |
| Shell Scripting and redirection... | 9/3/2009 |
| Q: I am trying to create script that tail's a file, grep's for patterns and outputs the matching lines ... A: What you're describing should not be happening. I don't have a Linux at hand right now, but if ... | |
| Unix Shell Script | 8/30/2009 |
| Q: I have written this script. I am having issues getting the "if's" to execute. Please advice. ... A: ? Perhaps you could re-arrange the code? Put the "IF" section after the entry of the grade line. ... | |
| hi | 8/27/2009 |
| Q: hen i go to ssh secure shell client and login with my pass and type these commands $cp ... A: Sorry for not responding to your previous question sooner, had some medical problems. Now's fine. ... | |
| hi | 8/25/2009 |
| Q: when i go to ssh secure shell client and login with my pass and type these commands $cp ... A: Well, not sure, but what is the output of "ls" command? Is it showing "availcredit01.cpp" file? I ... | |
| how to set up cron in python script | 8/20/2009 |
| Q: nix i want to set up a cron deamon to it executes a python script periodically, say every 10 ... A: The correct way to do that is to use utility named "crontab". It will actually bring up a vi editor ... | |
| auto login | 8/7/2009 |
| Q: I am using debian. I install it with only base system that's I dont have x or desktop in it. ... A: Well, it can be done, but it is discouraged for security reasons. Still, if you really want it, here ... | |
| Linux | 8/7/2009 |
| Q: What is Linux mean? what do we use Linux for? How to use Linux software? A: Linux is a name for several things. 1. Linux is a free open source operating system that follows ... | |
| Precompiler | 7/31/2009 |
| Q: I installed the precompilers on my unix system and when I try to compile a procobol program I get ... A: The error is relatively clear, but not really very informative. You have, somehow, managed to have ... | |
| Passwords | 7/10/2009 |
| Q: Where does Unix/Linux store windows user passwords/credentials? Is it a file? If it is: Is the file ... A: Heh, that is a tricky question. Generally speaking, "security through obscurity" is frowned upon. ... | |
| Passwords | 7/10/2009 |
| Q: Where does Unix/Linux store windows user passwords/credentials? Is it a file? If it is: Is the file ... A: Traditinally, UNIX stores passwords within /etc/passwd, which is world readable, because it contains ... | |
| UNIX beginners doubt | 7/8/2009 |
| Q: Please, tell me which book preferable to read so that it should be easy to understand. ... A: I'm not sure what is your main goal. If it is the Linux/UNIX administration, then one of these would ... | |
| which os is stable?? | 6/26/2009 |
| Q: i am really confused to choose os to run my dns, email and web server. which os is more strong and ... A: The old adage sazs that the Ćbest OSĆ is the one zou know how to use. Of course, having a ... | |
| about shell scripting | 6/24/2009 |
| Q: sir , i don't know anything about shell scripting.I am studying in M.C.A. 2nd year.please tell me ... A: I would recommend getting a good book on the subject. Or at least read some tutorial on the Net. ... | |
| shell scripts - arrays | 6/22/2009 |
| Q: I am drafting a script to check the runtime of a process. Since there is more than one instance of ... A: Not sure I understand what you want, but if you want to check for each of several instances if it ... | |
| Running DOS .bat file from Linux | 6/2/2009 |
| Q: nix, I have a .bat file on windows that I need to execute on a Linux box. I am new to Linux so I ... A: First of all, if that *.bat file is a text file with MS-DOS commands, then you will have to rewrite ... | |
| aix telnet logout hangs | 5/21/2009 |
| Q: I have a question about AIX Telnet Logout process. I have a software which need to telnet to AIX ... A: Could zou tell me if the shell process remains active on the server or does your client hangs? If ... | |
| Find path | 5/20/2009 |
| Q: How to find true path to file(which located on web server in unknown directory) when I download ... A: What you want cannot be achieved. The web just doesn't work that way. And it would make sense if it ... | |
| send an email to external email id | 5/4/2009 |
| Q: I am using HP-UX as operating system and i need to send an attachment to an email id(external mail ... A: Your best option is to use some normal mail client like Mozilla Thunderbird or anything with GUI. ... | |
| aix shell script - sed -s | 5/1/2009 |
| Q: In a Korn shell script I have, cat ../header | sed -e 's/flag1/$cnumb/g' > header.txt The ... A: Well, that IS strange. I do not have Korn shell, but on BASh on Cygwin (Windows) it works like a ... | |
| aix shell script - sed -s | 4/30/2009 |
| Q: In a Korn shell script I have, cat ../header | sed -e 's/flag1/$cnumb/g' > header.txt The ... A: Hmm, strange, but try this: cat ../header | sed -e "s/flag1/${cnumb}/g" > header.txt I mean, it ... | |
| aix shell script - sed -s | 4/28/2009 |
| Q: In a Korn shell script I have, cat ../header | sed -e 's/flag1/$cnumb/g' > header.txt The ... A: The trick is in the ''. When you surround a parameter (or a part of it) with '', variable ... | |
| tcl mingw build fails while the ActiveState build succeeds | 4/23/2009 |
| Q: This is a little bit windows specific but any help I will be happy to see. I use tclsh from mingw ... A: I guess that is the "so long and thanks for all the fish" message ("Hitchiker's guide to the galaxy" ... | |
| tcl mingw build fails while the ActiveState build succeeds | 4/21/2009 |
| Q: This is a little bit windows specific but any help I will be happy to see. I use tclsh from mingw ... A: I've never tried to build TCL on MinGW, I must admit. The problem zoućre describing definitelz ... | |
| How to run ldapenum and bf_ldap | 3/13/2009 |
| Q: I am studying computer security, and I would ask about the following tools as I download them, but I ... A: If you wish to run Perl scripts on DOS, there are 2 things you can do: 1. Install Perl for DOS 2. ... | |
| file permission | 3/13/2009 |
| Q: A perl script creates some files and makes them chmod 0666, no problem. These files are users ... A: File permission are set upon file creation, determined by the "umask" or explicitly, using some ... | |
| unix | 3/13/2009 |
| Q: Write a shell script file to read 5 student names (First and Last name) and their grades using a ... A: I'm usually not inclined to doing homework, but... #!/bin/sh count=1 # This will clear ... | |
| I/O port programming | 3/7/2009 |
| Q: How are you? I would like to start learning I/O port programming. I'd like to write software that ... A: I'm not sure what you wish to achieve. In both Windows and Linux, OS controls the I/O ports. You ... | |
| ipfw update | 3/7/2009 |
| Q: I'm maintaining a Unix server (Mac OSX 10.5.6) that has a static external IP. The ipfw firewall is ... A: Since IPFW works with IP addresses, rather than computer names, you would have to periodically ... | |
| sed substitution | 3/6/2009 |
| Q: I can't figure out how to do the next with sed: if a figure has a comma as separator (French style) ... A: Utility "sed' is a bit limited in what it can do. On some OSes it does support full RegEx, but not ... | |
| rm linux command | 3/5/2009 |
| Q: this question could be a little simple. I have google but i don´t find the answer. I want to delete ... A: No such thing as far as I know. "-i" will prompt you for each file, not just the first one. I mean, ... | |
| partitioning | 3/2/2009 |
| Q: How are you? I have Windows Vista running on Dell Vostro that has 2 hard drives. I would like to ... A: If you have two drives and one of them has an unoccupied space/partition, just create/use the free ... | |
| VMWARE | 2/26/2009 |
| Q: I use Vmware for a period of time. recently I try their so-called 'share folders' I read the user ... A: The answer is yes. From Linux's point of view, a shared folder is just another file system of a ... | |
| Regarding stack - General Question!! | 2/25/2009 |
| Q: Are there separate stacks for processor and main memory..If so why and what are their roles?? A: I don't quite understand your question. A stack is a memory data structure, where the last placed ... | |
| About NTP Server | 2/21/2009 |
| Q: I have 12 pc & in all pc I install RHEL 5 server.One of those Pc I want to configure local NTP ... A: Not sure how RHEL does it, OpenSUSE has it under Network Services. Basically, you will have to ... | |
| Operating systems general question!! | 2/13/2009 |
| Q: In a resident OS which all parts (like compiler, linker, loader, assembler)should be present all the ... A: What would be a "resident OS"? Or perhaps I should ask, what is a non-resident OS? Since all of them ... | |
| Password protection | 1/31/2009 |
| Q: I have a PC running Linux and as a concerned parent would like to know if I can password protect the ... A: Of course you can - I am surprized you're asking. I guess you have enabled "automatic login" on your ... | |
| batch file | 1/31/2009 |
| Q: I have been asked a question from you about batch file, i got a answer but its not up to the my ... A: A slightly different ball game... I suggest you write all the response you would type in a file and ... | |
| batch file | 1/29/2009 |
| Q: i want to write a batch file through which i can extract a file from the ftp server. thank ... A: It is relatively simple. First, you need to place a ".netrc" file in your home that contains: ... | |
| network codes | 1/26/2009 |
| Q: I am a new lerner in the network world, so I would be grateful if you explain the meaning of each ... A: If you're seeing those packets, then they are not blocked. The sequence looks normal, I'd say. It ... | |
| network codes | 1/24/2009 |
| Q: I am a new lerner in the network world, so I would be grateful if you explain the meaning of each ... A: ? What is there to discuss? It is a simple fragment of regular HTTP traffic. I can form no oppinion ... | |
| scheduling in linux | 1/21/2009 |
| Q: I need to know how to simulate FIFO policy using “scheduling and not using the real time of linux ... A: You didn't say "FIFO policy of what". RT extensions of any OS really have very little to do with ... | |
| sed escape ^@ | 1/14/2009 |
| Q: The input file has a string of ^@^@^@^@ in it which I want to remove. I can do it in vi using ... A: This type of input is not normally expected, so finding out which char it is, could be troublesome. ... | |
| How to boot from a C program? | 1/13/2009 |
| Q: I have done a sample program to print a string on the screen by using inline assembly. I made sure ... A: I'm not sure what you refer to by "headers", since header files in C, usually with extension *.h, ... | |
| UNIX | 1/10/2009 |
| Q: what is the minimum hardware requirement for unix A: For running Linux, it depends. If you are willing to sacrifice GUI, any PC that can physically work ... | |
| Memory utilization by Unix server | 12/23/2008 |
| Q: Can u please suggest me easier way to find out the memory utilization on a server such as total ... A: Some of the commands you may find useful are: top vmstat uptime w Understanding what is going on ... | |
| Thread mutex question | 12/9/2008 |
| Q: I need your help to get started :) Using synchronization with mutexes, I need to come up with a ... A: Just searching for "posix thread mutex" gave 3 excellent links: ... | |
| sed or awk | 12/3/2008 |
| Q: this is a piece of document(copied from IRC channel in Xchat in XP version) i would like to edit by ... A: Well, since the character length seams to be constant, the easiest this is to use awk: awk '{ ... | |
| telnet to hostname 25 problem | 12/3/2008 |
| Q: i have problem in my senamil server. doing "telnet localhost 25" is ok but doing "telnet hostname ... A: First of all, can you ping that host? If you can, see if mail server is listening on all IPs: ... | |
| Knowledge | 11/30/2008 |
| Q: upon viewing your areas of expertise, I wonder how you acquire all of that information. Was it ... A: My formal education was BSCS. After that I worked 9 years as a UNIX system administrator. Last 5 ... | |
| Linux Mint | 11/30/2008 |
| Q: My brother gave me his old Dell laptop with Linux Mint installed. I have a wireless network here at ... A: First of all, you need to know parameters of your wireless network, so you can configure your Linux. ... | |
| unix command | 11/28/2008 |
| Q: my question is.. $cal `date "+%m 19%y"` this is a unix command and he output of this ... A: Those 2 signs are specific to the "date" command. It is the specification of the "date" command that ... | |
| tar -atime-preserve Usage Question | 11/19/2008 |
| Q: I can’t seem to preserve the atime of files when archiving and extracting. Can somebody show me what ... A: Hmm, that still doesn't look like we have it. This is what I found: --QUOTE-- ctime -- In UNIX, it ... | |
| tar -atime-preserve Usage Question | 11/17/2008 |
| Q: I can’t seem to preserve the atime of files when archiving and extracting. Can somebody show me what ... A: Are you sure you are seeing atime? Mind you, there are 2 times associated with each file: ctime ... | |
| 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 programs | 11/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 process | 10/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 SERVER | 10/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 mounting | 10/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 mounting | 10/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 ... | |
| Linux | 9/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 command | 9/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 ... | |
| unix | 9/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 command | 9/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 command | 9/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: ... | |
| Information | 8/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 unix | 8/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 changing | 7/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 senders | 7/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 SSH | 7/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 word | 7/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 cURL | 7/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 cURL | 6/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 size | 6/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 unit | 6/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 Machine | 6/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 problem | 6/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 questions | 6/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 questions | 6/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 redirect | 6/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. ... | |
| CHMOD | 5/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 error | 5/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 program | 5/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 script | 4/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 screen | 4/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 files | 4/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 connection | 3/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 problems | 3/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 problems | 3/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 Linux | 3/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 month | 3/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+Security | 3/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 ... | |
| IT | 2/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 ... | |
| Linux | 2/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 job | 2/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 job | 2/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's | 2/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 ... | |
| apache | 2/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 time | 2/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 PASSWORD | 2/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 file | 1/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,signals | 1/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, php | 1/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. ... | |
| linux | 1/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 problem | 1/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 rewrite | 1/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 navigation | 1/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 ... | |
| installing | 1/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 network | 12/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 network | 12/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 & Viruses | 12/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 internals | 12/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 internals | 12/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 libraries | 11/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 ... | |
| VPS | 11/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 Messages | 11/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 INCLUDE | 10/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/tk | 9/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/tk | 9/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 sir | 9/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-serv | 9/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 screen | 9/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 screen | 9/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 screen | 9/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 UNIX | 9/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 ... | |
| Script | 9/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 music | 9/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 issue | 9/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 apache | 9/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, ... | |
| ShellScript | 9/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 Openbsd | 8/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 problems | 8/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 Education | 8/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/profile | 8/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 sir | 7/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 node | 7/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 Issue | 7/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 Issue | 7/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 UFS | 7/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 alternatives | 6/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 system | 6/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 ... | |
| linux | 6/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 ... | |
| linux | 6/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 command | 6/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 command | 6/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 ... | |
| Proc | 5/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 server | 5/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 3d | 4/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 i686 | 4/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 Ubuntu | 4/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 IP | 4/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 Problems | 4/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 Problems | 4/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 Problems | 4/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 delay | 4/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 ... | |
| unix | 4/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 11i | 3/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 web | 3/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 problem | 3/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 ... | |
| networking | 3/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 tomcat | 3/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 address | 3/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 doubts | 3/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 management | 2/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 ... | |
| unix | 2/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 ... | |
| unix | 2/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 ... | |
| mount | 2/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 problem | 2/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 problem | 2/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 CD | 2/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 time | 1/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 ... | |
| Malloc | 1/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 linux | 12/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 programming | 12/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 programming | 12/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. ... | |
| Linux | 12/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 ... | |
| Linux | 12/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 problem | 12/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 problem | 11/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 logging | 11/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 Unix | 11/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 details | 11/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 Unix | 11/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 prompt | 11/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 networking | 11/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 ... | |
| Iptables | 10/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 ... | |
| Iptables | 10/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 ... | |
| Iptables | 10/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 Preprocessor | 10/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 Laptop | 10/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 Preprocessor | 10/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 scripts | 10/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 Preprocessor | 10/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 numbers | 10/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 start | 10/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 ... | |
| Cron | 10/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 ... | |
| unix | 10/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 ... | |
| unix | 10/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 Linux | 10/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: ... | |
| Cron | 10/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 ... | |
| Cron | 10/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 UNIX | 9/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 info | 9/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 options | 9/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 problems | 9/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 programming | 8/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 variables | 8/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 bit | 8/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 compiler | 8/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 script | 8/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 ... | |
| at | 8/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 script | 8/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 size | 8/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 size | 8/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 machine | 8/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 ksh | 8/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 users | 8/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 dates | 8/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 dates | 8/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 dates | 8/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 c | 7/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 */ ... | |
| calender | 7/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 conversion | 7/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 commands | 7/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 ... | |
| calender | 7/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 conversion | 7/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 for | 7/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 commands | 7/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 language | 7/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 program | 7/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.h | 7/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 language | 7/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 solaris | 7/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 access | 7/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 solaris | 7/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 Scripting | 7/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 BackUp | 7/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 script | 7/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 Question | 6/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 Question | 6/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 partition | 6/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 Linux | 6/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 network | 6/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 system | 6/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.2 | 6/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.2 | 6/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 ... | |
| internet | 6/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 command | 6/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 commands | 6/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 Windows | 6/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 issues | 6/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 Windows | 6/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 ... | |
| Linux | 6/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 ... | |
| Linux | 6/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 issues | 6/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 ... | |
| Linux | 6/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 issues | 5/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 webmin | 5/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 mail | 5/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 mail | 5/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 script | 5/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 script | 5/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 script | 5/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 question | 5/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 script | 5/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 problem | 4/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 script | 4/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 checkin | 4/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 ... | |
| Linux | 4/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 problem | 4/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 problem | 4/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 limitation | 3/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 Question | 3/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 burn | 3/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 ... | |
| rm | 3/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 ... | |
| rm | 3/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 installation | 3/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 installation | 3/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 Ghost | 3/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 root | 2/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 installation | 2/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 installation | 2/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 root | 2/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 ... | |
| mutex | 2/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 Apache | 2/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 quotes | 2/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 scripts | 2/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 scripts | 2/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 script | 2/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 scripts | 2/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 size | 2/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 scripts | 2/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.txt | 1/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 httpd | 1/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 C | 1/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 Administration | 1/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? | 1/17/2006 |
| Q: nix! I am really hoping that you can help me, as I am a newbie who is out of his depth. ... A: What's the weather like in Canada? Now, for your problem. (sigh) It looks not opaque, but muddy as ... | |
| Capturing output of a command into a variable | 1/16/2006 |
| Q: No, I am not trying to create an alias. I want the output of: grep ^Listen ... A: OK. You did not say what was happening, so I'll give one additional observation: no quotes. You ... | |
| Capturing output of a command into a variable | 1/14/2006 |
| Q: Again a doubt related to the C shell (sorry to bother you again - but I really don't understand why ... A: I'm not sure what the intended purpose of that is. You're trying to set an nevironment variable ... | |
| Exporting variable outside C shell script | 1/13/2006 |
| Q: This time my question is based totally on the C Shell. My requirement is that I want to retain the ... A: The short answer is, not that way. The long answer is that the environment is a property of a ... | |
| Dedicated server | 1/9/2006 |
| Q: "Hello, I am currently a network +, A+, driven computer freak. However, I am going to be getting a ... A: First, you need to configure your Apache (I assume it is Apache) to serve a particular virtual host. ... | |
| linux downloads on windows system | 1/3/2006 |
| Q: i recently downloaded ubuntu linux install on my windows xp system. the linux install download has a ... A: *.iso is a standard extension for an ISO-9660 file system image, also known as CDFS. That is a ... | |
| Can multiple computer programs be associated with a single process? | 12/27/2005 |
| Q: i'm a student studying operating systems. I'm currently reviewing my notes to prepair myself for an ... A: The definition of a program is "a set of files that, when properly invoked, will allow the operating ... | |
| Accessing line PREVIOUS to regexp using sed/c shell | 12/27/2005 |
| Q: My need to to be able to access (modify) a line previous to a certain regexp in a text file using ... A: fellow Java developer. I was just about to suggest "awk", but if that is not the option, then there ... | |
| Linux Programming | 12/26/2005 |
| Q: I was a vb programmer & want to try with LINUX . But I dont know how. 1-What is the best language ... A: 1. For system stuff, C and C++, it is most portable and easy to interface with other packages. 2. ... | |
| C++ and file permissions in UN*X | 12/26/2005 |
| Q: when i execute the following code online, the new file that is produced haha.txt's file permission ... A: For seteuid() to work, the user must be "root" or the file must have SetUID flag on the executable. ... | |
| Unix | 12/19/2005 |
| Q: Where do I find Unix for tryout? My machine is i686 . Why is everybody talking about SCO only? Is it ... A: ??? Ever heard of Linux? No, seriously, Linux is a free UNIX and has been around for at least 10 ... | |
| learning | 12/17/2005 |
| Q: wondering if you could help, Do you know what a good way to learn C++ ? Are there any good web sites ... A: First of all, to learn the language, get a good book. WROX Publishing has a superb edition of books ... | |
| UNIX/IRIX | 12/2/2005 |
| Q: Is it possible to switch users without closing the programs that are running on a system? A: ? If you are refering to switching to a new X Session, then I guess not. It is possible, however, ... | |
| Unix Administration | 11/23/2005 |
| Q: My Unix server (HP-Unix Vers. 10.0) running of HP D class 9000 Servers, keeps shutting down itself ... A: The first thing to do is look at the logs. I do not have a HP/UX system, but some of the more common ... | |
| Running shell programs and .profile | 11/17/2005 |
| Q: I think I did not presently the questions clearly. Please provide answers at your convenience. 1. ... A: 1. When you type just "test.sh" it will launch a separate process, load shell and source the given ... | |
| Running shell programs and .profile | 11/16/2005 |
| Q: I have three questions. 1. What is the difference between running a shell program as test.sh and ... A: Answers. 1. The difference is in the name, obviously. 2. To execute it in THIS shell, not in a ... | |
| iso | 11/7/2005 |
| Q: I don't have a cd burner. I want to know how to use an iso without a cd burner. I think it is ... A: Oops! Well, you can mount an ISO image file, but if it is installation medium, it has to be booted ... | |
| One shell command | 11/6/2005 |
| Q: nix, To transform adsf.asdf asdf.ewr afds.c asfasf.wer asdfas f to adsf.asdf o asdf.ewr o afds.c o ... A: I would tend to disagree with "It's not what awk is meant for". It is what AWK is meant for, line ... | |
| One-line command | 11/3/2005 |
| Q: Nix, I have the following text file: asfd.txt ytreyrtey.csv aslsajfdlsaf.c sadfkjsdf.h sadfdsafa ... A: Search me... I've tried every possible combination, but still no luck. I've never had any success ... | |
| xargs with grep and {} | 10/27/2005 |
| Q: The solution that you gave me didn't work. The reply is: grep: unknown option -- t I think it's ... A: Looks like you did not type it correctly, but it is a common mistake :-) The "find" part is ... | |
| use of newid and sys -lu | 10/6/2005 |
| Q: is it something related to access rights from the user i specifid nokia111 and nokia 222, and wat is ... A: "su" is Switch User or Set UserID, basically it allows you to run a program or enter a new users ... | |
| bash shell script | 10/4/2005 |
| Q: .. I'm messing with this as the specs said the java app had to have a shell script wrapper... I ... A: Sorry for misleading you. The correct method is: java.lang.Runtime.exec( String cmd ); ... | |
| bash shell script | 10/3/2005 |
| Q: Hey Nix! Thanks very much for helping out (again)! I'm having a bit of trouble with a shell script ... A: Why are you messing with this? If Java GUIapp is to be the front end, then let it be the front end. ... | |
| Web Hosting | 9/11/2005 |
| Q: I am wanting to start an online dating/matchmaking site. Some people have told me that I will need ... A: Sorry for responding so late, the vacation date didn't kick in properly. What you need is a hosting ... | |
| xdm stop. | 9/10/2005 |
| Q: I am using Suse 9.1 and was wondering if you know what script to edit so xdm does not start after I ... A: Try to find something in /etc/sysconfig/* It holds various config scripts, which are used by the ... | |
| sendmail installation and upgrade | 9/6/2005 |
| Q: - Hi. This is a different question from what i have been asking usually. I need learn about the ... A: The use of those directories is a convention, not a system imposed rule. /bin, /usr/bin - normal ... | |
| mounting windows partition | 8/22/2005 |
| Q: I have Windows XP and Linux Fedora (kernel 2.6) in my laptop Amd Athlon64 3200XP, I would like to ... A: Any particular reason why it didin't work? I must observe that the syntax is slightly wrong - Linux ... | |
| Linux | 8/22/2005 |
| Q: How do I switch from Windows to Linux? Steve A: Well, pick a good distro and install it. Preferably on a clean HDD. You might not want to erase your ... | |
| Question about sendmail | 8/19/2005 |
| Q: When I change my mail server from exchange 2000 to sendmail. How can I transfer all user account, ... A: With some difficulty. First off, Sendmail is just and MTA - Mail Transfer Agent. It transfers ... | |
| testing shell scripts | 8/18/2005 |
| Q: Nix! Thanks so much! That was so fast! Unfortunately I can't get it working... if i type a.out a ... A: Hmm, it works at my site.... There are two things you canuse to debug a shell script, I use them ... | |
| How to find files which are created based time as parameter. | 8/2/2005 |
| Q: I wanted to know a Unix command through which I can find out the files created within specific time ... A: Most commonly, there is no such command. Some versions of "find" utility have -cmin options, but not ... | |
| Broken pipe error | 7/29/2005 |
| Q: I have been getting this kind of error. I have been making use of this coding but it keeps shooting ... A: That error message is not really helpful, I guess it is kind of generic "I don't like something" ... | |
| Send Mail / DNS | 7/27/2005 |
| Q: I have set up an Authoritative DNS server and Mail Server (Send Mail). I have registered the domain ... A: Reverse DNS zones are very similar to forward zones. They too have a hierarchy and any zone can be ... | |
| Cron Job limitation & Cron job duplication | 7/3/2005 |
| Q: 2 questions under Solaris 8 :- 1. How to increase the no. of cron jobs that can be executed ... A: 1. I'm no Solaris expert, but if there is an option 'queuedefs' which limits the number of cron jobs ... | |
| linux remote booting on dump terminals | 7/2/2005 |
| Q: I have to configure Redhat linux 9.0 so as to install linux based remote bootnodes (eg:- 50 linux ... A: For this you'd best setup DHCP/BOOTP/TFTP server. The only way to accomplish this is: 1. A diskless ... | |
| Generating unix disk IO | 6/29/2005 |
| Q: I would like to generate lots of disk io programmatically on a tru64 unix system. How can I ... A: Well, reading and writing large amounts of data to files is good way of doing it. It all depends how ... | |
| unix | 6/25/2005 |
| Q: 1. Linux is said to be portable, because it was written in C . how portability is accomplished ? ... A: Linux is portable AS LONG AS you have a decent C compiler for the given platform and sources for ... | |
| awk script | 6/24/2005 |
| Q: Followup To Question - I am trying to write an awk script that takes a phone number and depending ... A: I hope that the separator character is TAB, because 3rd row has a space in the first column :-) ... | |
| Email Server | 6/23/2005 |
| Q: Sir, I need to setup a Linux email server. Every incoming and outgoing emails should automatically ... A: You can do two things. 1. Setup a dual-head mail server and Procmail This would mean actually ... | |
| mod_rewrite question | 6/21/2005 |
| Q: -) I would like to ask about special configuration of mod_rewrite. I tried to figure it out several ... A: Your rules look OK to me. You should see what actually happens when you try that second URL. So try ... | |
| Shell Script Solaris 5.8 | 6/17/2005 |
| Q: How should i compare Newline Character in Shell Script? Suppose i find a new line character by tail ... A: Comparing newline char is very difficult. You can try from some other tool, like "awk" or using ... | |
| SSI on Apache | 5/10/2005 |
| Q: Aloha, I can not seem to get SSI (env) to work. I would like to diplay the server time etc. To see ... A: Heh, you got some things messed up. First of all "mod_include.c" is a C source file for that Apache ... | |
| I-nodes | 5/7/2005 |
| Q: Hope u r fine :) I have an assignement to learn about i-nodes. I mean what r they, what is their ... A: Well, i-nodes are an index structure that holds links to blocks of each file in the file system. ... | |
| Windows to Linux platform script | 4/20/2005 |
| Q: I have been running a DOS batch file on a Windows platform to run a few routines. I am now moving ... A: #!/bin/bash # (cd /XPL/eXplorer/system ; tar cf - .) | (cd /XPL/eXplorer/"system backup" ; tar xpf ... | |
| Unix | 4/16/2005 |
| Q: How to get the Unix source code ? I think it is free A: There are several flavours of UNIX around. And a definition of what a "UNIX" is is also debatable. ... | |
| Unix Programming | 4/16/2005 |
| Q: I have not done unix programming. I would like to know how to write "Producer-consumer problem" ... A: Well, I haven't done Mutex programming myself, either. See man pages for mutex calls: "man -k ... | |
| Help! | 4/15/2005 |
| Q: But in my situation, I have been formatting my system over and over again (between the 2 boxes, at ... A: If you wish to go from a clear-box, I see no reason to not use the latest and greatest of all ... | |
| Help! | 4/15/2005 |
| Q: I have OpenBSD and I'm trying my hardest to get a working mysql, php, and apache installed on it, ... A: Boy, you've made a mess. Get yourself a clean unformatted disk and install the target OS with ... | |
| User account problem | 3/19/2005 |
| Q: I am using Mandrake Linus 9 in my home and I made 2 users for me and my brother. One day, my brother ... A: Those two files are - "/etc/Passwd TeMPorary" and "/etc/Group TeMPorary". They usually indicate that ... | |
| Writing a simple UNIX shell script | 3/18/2005 |
| Q: How do I write a shell script file to read 10 student names (First and Last name) and their grades ... A: 1. suppose file is of form "Name Surname Grade" #!/bin/zsh sum=0 min=10000 max=0 n=10 i=0 ... | |
| Avoiding Rekeying Long File Name | 3/11/2005 |
| Q: I'm using the Korn Shell. I frequently have to look at this directory: ... A: There are three solutions. Solution 1 ---------- Description: Create a symbolic link in your ... | |
| regarding editing the Linux system files like inittab fstab etc | 3/6/2005 |
| Q: i need some tips regarding editing the linux system files for eg::changing the contents of inittab ... A: What exactly do you need? Those are simple TXT files, you can use any text editor, like "vi" or ... | |
| browser | 3/5/2005 |
| Q: Is that possible to browse www without installing desktop environment (like gnome,kde)? Just install ... A: Well, first of all, there are graphical and text oriented browsers. Graphical require some GUI ... | |
| extracting data from files | 2/7/2005 |
| Q: i have a file that needs data extracted for exp. this is the data file that is generated..... ... A: Hmm, a tough one. Basically, the idea is: 1. Merge double-lines into single-lines 2. Sort 3. Break ... | |
| Changing EUID | 2/5/2005 |
| Q: Can u help me how to change a process's EUID when logged as a normal user having no special ... A: No go, sorry. UNIX is rather strict about it. A process can change it's EUID to either RUID (UID of ... | |
| installation | 2/3/2005 |
| Q: Sir, I have istallad red hat linux9.it does not play vido song but it plays some type of adio ... A: 1. the best I've heard of is MPlayer, try to locate RPM for it. Go to www.rpmfind.net and locate RPM ... | |
| cannot access my web server | 1/26/2005 |
| Q: I set up a Apache server on RedHat 7.3 at my home. I have ADSL line with a router. I assigned an ... A: Firstly, you must be able to ping your public IP from the net. BTW, what type of connection do you ... | |
| Apache | 1/25/2005 |
| Q: how can i configure the Apache web server. Am using a suse9.1 i have been trying and read the man ... A: Firstly, it must be installed, check installed RPMs. Then, it must be enabled, check services. Then ... | |
| shell script | 1/21/2005 |
| Q: i want to read a file and word count it ;then store the data.and call it "a" then read another file ... A: You didn't say what was the result. Word counting is done with 'wc -w'. I guess you're trying to ... | |
| to see partition of fat 32 from linux | 1/21/2005 |
| Q: sir, i have installed red hat linux,but it does not show me other partitions like C,D.i have ... A: You should identify the partition, first. C: should be /dev/hda0 D: should be /dev/hda1 ... Then ... | |
| to see partition of fat 32 from linux | 1/17/2005 |
| Q: sir ,Ihave three quertion. 1: i have intallad linux.the file system of my partition is fat32.i ... A: 1. All recent Linux distributions support FAT32. Try "mount /dev/hdXY /mnt", where X is "a, b, c, ... | |
| Shell script regarding sqlldr | 12/21/2004 |
| Q: I have a problem with loading data from different 'dat' files into diff. tables(oracle) for which I ... A: Whnever you use "<<", the string at the right side is the "End of input" marker. What you typed in ... | |
| Finding number average from text file | 11/29/2004 |
| Q: I have a Unix text file with a column of numbers. I'm trying to create a script that will read this ... A: For this, AWK is your friend. sum.awk ------- { if (NR == 1) { sum=min=max=$1; } ... | |
| rs232 comunication using C/C++ | 11/24/2004 |
| Q: I have a problem about how to write a rs232 communication program with C/C++ in Unix/Linux. Are ... A: All I/O in Linux (and UNIX in general, and any decent OS) is handled through kernel. No user process ... | |
| Setting up Apache webserver and a common Linux question | 11/18/2004 |
| Q: I am a Fedora Core 3 Linux user in server mode on a PIII machine. This server is suppossed to act as ... A: ANSWER 1 -------- Whatever you install, be it on Windows or Linux, may, but doesn't have to, appear ... | |
| warnings during compilation | 11/8/2004 |
| Q: Followup To Question - Sir, if (bp=(scn_buffPool_t*)malloc(sizeof(scn_buffPool_t))) { ... A: Well, "malloc()" on Tru64 returns "void *", but I suspect the same is true of any UNIX. ... | |
| warnings during compilation | 11/8/2004 |
| Q: Sir, Iam porting the source application from tru64 os to debian linux kernel 2.6 and iam getting ... A: Without seeing the code in question, I cannot say for sure. Looks like some function is returning a ... | |
| Bind DLZ | 11/4/2004 |
| Q: Nix, I have Mandrake 10, and I was working on installing bind with mysql dlz according to this ... A: Since I've never done this, I can offer only advice, not guidelines. First off, does the web site ... | |
| file transfer | 10/28/2004 |
| Q: i am writing a client server program and i need to give permision to the client to read or update a ... A: There is no special function in C++ for locating a file on a remote host. Your best bet is to use ... | |
| Apache and VirtualName | 10/28/2004 |
| Q: I'm setting up Apache and doing VirtualNames. ie. I'm wanting to point 3 or 4 websites / domain ... A: The key would be to read the docs. Honestly. The subject is not a simple one. Go to Apache's web ... | |
| __RPCC() | 10/19/2004 |
| Q: Could you clarify me whether __RPCC() of TRU64 O.S API is supported by Debian linux. If not any ... A: What Tru64 version is this? I have both 4.0D and 5.1B, but both of my 5.1B machines are down (no ... | |
| How to automatically mount my cdrom when I insert a cd in Redhat Linux AS 3? | 10/18/2004 |
| Q: How to automatically mount my cdrom when I insert a cd in Redhat Linux AS 3? Thanks, lzzzz A: You need an entry in your /etc/fstab, like this (this is from SuSE Linux): /dev/cdrom /media/cdrom ... | |
| Automatic FTP a file from an NT server to a Unix server on a weekly basis | 10/7/2004 |
| Q: I wonder if this is doable, if yes, is there any security issues associated with this type of job? ... A: If you're talking Linux, it is perfectly doable. With other flavours of UNIX it might be a bit more ... | |
| kernel comands!!? | 10/2/2004 |
| Q: ! thanks for providing this service.i wanted to know if you can help me out with my project which is ... A: Those are not "kernel commands". There is no such thing as "kernel commands". Kernel has it's own ... | |
| ceaser cypher program | 10/1/2004 |
| Q: I'm trying to make a script that will encrypt text using the ceaser cypher method. I want to know ... A: Very difficult in ordinary shell. There is a "tr" command, but it is static. You could write an awk ... | |
| HPUX anonymous users | 9/28/2004 |
| Q: That's correct. After they log in as anonymous, they type "user" and the system asks for their ... A: Like I've said, it smells like something specific to Solaris or FTP that came with Solaris. FTP that ... | |
| UNIX commands | 9/20/2004 |
| Q: How do you display the size of files that have the .jpg extention and names ending with a digit? ... A: ANSWER 1 -------- ls -l *[0-9].jpg | awk '{print $9 "\t" $5}' ANSWER 2 -------- sort phonebook | ... | |
| awk rand() | 9/20/2004 |
| Q: I made this program that generates random numbers from a file. But, I'm having problems making the ... A: First of all, there is nothing wrong with randomness if the numbers repeat themselves. But if you ... | |
| moving files in Unix | 9/18/2004 |
| Q: I am moving programs from $HOME/bin to $HOME/bin/internet. How can I ensure that the users of the ... A: Since I do not understand the intended purpose, I cannot comment. There is no way to make any kind ... | |
| difference between linux and unix? | 9/16/2004 |
| Q: Sir I am studying comuter science.I wanty to ask question that what is the main difference ... A: Heh, that's a trick question :-) UNIX is a name for a familiy of operating systems. You could say ... | |
| Regular expression | 9/12/2004 |
| Q: I need a regular expression for parsing an xml tag with its data for example <name> nix </name> ... A: DON'T DO THAT!!! There are perfectly normal XML tools, like Xalan+Xerces which can do that in a ... | |
| Spam | 9/8/2004 |
| Q: I have installed Spamassassin on redhat9.0 and configured /etc/procmailrc to stop spam mails. I am ... A: You can't stop all the SPAM. There is no program in the world that can detect every SPAM, since it ... | |
| knoppix 3.6 - how to extract file from one device to another using tar | 9/7/2004 |
| Q: it worked!! I just have a followup question for you -- when the files extracted I received some ... A: Those are not errors, just warnings. "tar" is informing you that the timestamp on those files is ... | |
| knoppix 3.6 - how to extract file from one device to another using tar | 9/6/2004 |
| Q: I am working on a pc that is booted to a Knoppix 3.6 cd. I have a file "hdg1-20021204.tar.gz" ... A: OK, first of all, "tar" doesn't work on partitions, it works on files. It cannot write to a raw ... | |
| port a hard disk already installed to another machine | 9/2/2004 |
| Q: Is it possible to install hp-ux 11 os on a hard disk on one machine and use this hard disk on ... A: By "moving", you mean booting that disk in another machine? Well, the first big question is "is ... | |
| About junk characters | 8/23/2004 |
| Q: I have a file genarated by a redirection on a solaris box. But the problem is I am seeing some junk ... A: In "vi", probably not. Try to use "tr" utility. I use it when MS-DOS TXT file is transfered without ... | |
| 2 questions thanks | 8/21/2004 |
| Q: 1. Do you know of any open source development tools for linux, im new to linux, i know i few ... A: ANSWER 1 -------- For C++ there should be some cemmercial environments, but I'm not aware of them. ... | |
| unix | 8/21/2004 |
| Q: what is the expansion for UNIX? (ie) COBOL- COMMON BUSINESS ORIENTED LANGUAGE. UNIX - ? A: Well, it all started with another OS - Multics. It was supposed to be a "Multi-purpose", ... | |
| Remote login | 8/18/2004 |
| Q: I already have a network properly configured on Linux and access to Internet is OK. I've to login to ... A: "Network unreachable" sounds bad. It should be "Host unreachable", but it could still be that all is ... | |
| Delete a folder with files in it in linux. | 8/15/2004 |
| Q: I want to remove some folders on my server. But i don't want to go inside each folder to remove the ... A: "rm -r <dir name>", but be careful - this WILL recursively remove all files in that (those) dir(s). ... | |
| Delete all files Except the Latest 3 | 8/10/2004 |
| Q: The following did not work for me. The error i got was "[: too many arguments". Please help. I use ... A: My guess is you've mis-read my answer, but I can't blame you - many people do. And sometimes ... | |
| sendmail installation and upgrade | 8/9/2004 |
| Q: Am very new to Unix.I ,however ,have an assignment to upgrade sendmailfrom version 8.11 to 8.13. ... A: It's a rather old version of Solaris, you could do yourself a favour and upgrade to 9 or possibly ... | |
| %date:~-4% | 8/6/2004 |
| Q: This is actually a DOS question, since there isn't a DOS section I figured I might as well give it a ... A: Not being an MS-DOS batch expert,... Well, firstly, "%...%" sequence on WinXP/2K/... is used to ... | |
| How many different development tools are there for unx ? | 8/1/2004 |
| Q: I am a student at the university of phoenix taking a class on Unix. I am trying to write a ... A: Well, first of all, there is a "native UNIX" set of tools, that almost any UNIX will have: - CC/GCC ... | |
| Sendmail checking senders reverse DNS error | 7/28/2004 |
| Q: This is my first time using allexperts - I hope you can help me! I've got sendmail [version: ESMTP ... A: Well, this is a mandatory feature. If you wish to allow "your" users to relay mail from their ISP ... | |
| Detecting System Idle Time In Linux | 7/25/2004 |
| Q: .. I have a qustion about detecting 'idle times' in Linux. I work for a software company which is ... A: Huh, you might look into X Windows hooks, since it is controlling Mouse/Keyboard. Just a side-note, ... | |
| Time Sync between Linux and Windows NT | 7/21/2004 |
| Q: Greetings. I want to time sync between linux machine and windows NT machine. I can time sync ... A: Well, I've never really plunged myself into this teritory. Rather, I've skimmed the surface. ... | |
| about error "./findjar.sh: line 11: [: too many arguments" | 7/14/2004 |
| Q: I wrote a shell script as follows, then I use it like "./findjar.sh Platform", but I got error like ... A: Well, line 11: if [ 'jar tf $name | grep $1' ]; then "[" is a short form of "test", try "man test" ... | |
| sed substitution 1 file into 2nd file - multiple | 7/12/2004 |
| Q: I have 2 files. File1 format: File2 format: 07-01-2003 field1 07-01-2004 ... A: I'm not sure I understand the form of the second file. If it is what I think it is, list of fields ... | |
| sorting a file basing on its 1-35 character position in each line | 7/9/2004 |
| Q: Is there any option in sort command or any ther command to sort a file basing on x to y char ... A: No, that cannot be done ellegantly. You could try two things. 1. play with "sort flags", try to ... | |
| mail server setup | 7/7/2004 |
| Q: . assuming i am using sendmail that cames with linux. 1.do you mind eleborate a little on step 5 ... A: Step 2 should have given you more information. Basically, "sub-files" are TXT files in the expected ... | |
| Introduction | 7/5/2004 |
| Q: Sir, What is main difference between unix and linux.Why we use linux and unix.Which is the best ... A: UNIX is a general specification of an operating system. There are several "flavours" or ... | |
| swap | 6/28/2004 |
| Q: i have a redhat linux 9.0 box.with 128mb of ram and 256mb swap. when i open the system ... A: Why should you? The idea of Virtual Memory IS to keep as much as possible in the RAM (which is ... | |
| Hard links | 6/24/2004 |
| Q: Hard links can't be created across the filesystem , but if we have mirrored the disk then can we ... A: I'm not sure what you refer to with "mirrored disk". From UNIX point of view, hard links can be ... | |
| NIC config | 6/23/2004 |
| Q: how can i configure 2 ip_addresses in one nic/ethernet card. in redhat linux 9.0/8.0 and in ... A: It is known as an "alias". You configure it like this: # ifconfog eth0 192.168.1.20 # ifconfig eth0 ... | |
| Unix commands | 6/21/2004 |
| Q: I don't know anything about Unix, just wanted to know some commands here. For example: Below I must ... A: Sorry for responding late, had some connection problems. 1. Here goes, you were unclear whether 20 ... | |
| mail server setup | 6/19/2004 |
| Q: I just want to know how do i setup up a mail server;sendmail, step by step. I mean from the very ... A: You didn't say if you're using OS supplied packege or you're building your own. Linux and many other ... | |
| Linux & Unix?? | 6/18/2004 |
| Q: Can you tell me what's the differences, advantages, disadvantages, and the minimum skill to modify ... A: Differences? Advantage - you can make your own changes/features. Disadvantage - YOU will have to ... | |
| Command for finding a word in a directory | 6/3/2004 |
| Q: find: -exec not terminated with ';' I tried the command again and put ; after -exec but it gave me a ... A: There is something fishy going on. Let me clarify. "-exec" predicate requires an executable ... | |
| c shell scripting | 5/28/2004 |
| Q: ..thank your effort but i think as i said before that the first script is not a shell script(.txt) ... A: Hmm, well you could try parsing it, but I'm not sure on the syntax, maybe "eval" can do it, but I'm ... | |
| c shell scripting | 5/27/2004 |
| Q: ..i have two scripts: the first one has many lines and each mass of these lines comprise one entry ... A: Script 1: "script1.sh" ---------------------- #!/bin/bash ... | |
| Ksh script problem | 5/17/2004 |
| Q: Nix, I wrote a compiler for Pascal in Java, and I thought it would be cool if I made a shell script ... A: That first "not found" message points to a source of problem. I guess it comes from that "if" line, ... | |
| sed substitute | 5/14/2004 |
| Q: I need a script to load all records from a text file into another text file but when the text string ... A: sed 's/08\/01\/2004/09\/01\/2004/g' input_file.txt > output_file.txt I would advise you to: - get ... | |
| real and effective user id | 5/14/2004 |
| Q: I often confuse between real and effective user id of a process. Could you please clarify me what is ... A: Each UNIX proces has 3 UIDs associated to it. Superuser privilege is UID=0. Real UID -------- This ... | |
| I don't understand the syntax: 'basename $i UIN'uin, I don't understand the syntax: 'basename $i UIN'uin, | 5/13/2004 |
| Q: I don't understand the syntax: 'basename $i UIN'uin, could you please give me some explanation? ... A: Well, you can always look at man pages for details. ;-) "basename" will strip off any leading ... | |
| windows like network | 5/11/2004 |
| Q: i want to setup a completly wireless lan in my office. how do i setup a linux server such that it ... A: The way MS Active Directory does it is Kerberos 5. As for "network profiles", you can setup a ... | |
| shell scripting | 4/29/2004 |
| Q: Nix, You seem to be annoyed with my question and supposition. I am not waging a war on scripting, ... A: Sorry if I sounded annoyed. I am too much in conceptual software designing, right now (I try to ... | |
| shell scripting | 4/29/2004 |
| Q: Nix, I greatly appreciate your prompt response, but I have to respectfully disagree regarding ... A: I thought I made myself clear. "sort" did what you asked. Period. The fact that the subset of rows ... | |
| How to do global search and replace using find and sed etc.? | 4/28/2004 |
| Q: How to do global search and replace using find and sed etc.? Thsnks, lzzzz A: Since "sed" operates on streams (STDIN/STDOUT), it would need at least two commnds to "edit a file". ... | |
| shell scripting | 4/28/2004 |
| Q: I need to sort the following file by 2nd column ONLY, using delimeter character "|": | apple | pear ... A: It appears you do not understand the semantics of "sort by column X". "sort" did what you asked it ... | |
| Linux Network Command | 4/24/2004 |
| Q: I am a student new to the Network Environment. And i wish that you could answer a few question of ... A: IFCONFIG -------- 1. MTU = Max Transmission Unit (max packet size) 2. "metric" is used for routing ... | |
| What does "." mean? | 4/22/2004 |
| Q: nix, In your last email, you told me that typing ". ./dirstack.ksh" would enable to excute the ... A: When you type: ./dirstack.ksh it will launch another shell process and feed it the given shell ... | |
| pushd and popd in Korn shell | 4/20/2004 |
| Q: nix, Okay, that worked. My functions work when I call them in the same file as dirstack.ksh, but ... A: Well, if you place those function definitions in a separate script and execute ". <script name>", it ... | |
| pushd and popd in Korn shell | 4/20/2004 |
| Q: nix, I am 100 per cent sure that the logic of my code is right, it is just the call to cd is not ... A: Then try without $(...). I'm not sure what it does exactly, but in normal shells "(...)" means ... | |
| pushd and popd in Korn shell | 4/19/2004 |
| Q: I'm implementing popd and pushd for Korn shell for a class. Here's is the code: ... A: Firstly, why are you doing the "cd", if you just want to push a dir onto the stack? Or is it ... | |
| Quick Question | 4/16/2004 |
| Q: You have been such a great help to me in the past I have one more question.I was curious what are ... A: This is a snippet from man page: The commands grep -E and grep -F are equivalent to the obsolescent ... | |
| Grep or awk command | 4/14/2004 |
| Q: i have one text file for Ex: (abc.txt) and it contains the data like this abc.txt aaa pe 90 bbe ... A: First of all, that script is not checking for "pe" in second column, but in all columns. That is why ... | |
| Linux server configuration for 50 diskless client | 4/12/2004 |
| Q: I have Redhat Linux 9.0 installed , I want to configure 50 diskless client which will connect to ... A: For diskless stations you need DHCP and BOOTP/TFTP servers on the master server. DHCP will give them ... | |
| Getting "Segmentation Fault"s when using Bash built-in commands | 4/10/2004 |
| Q: I'm using Mac OS X 10.3.3's BSD Unix system (Darwin) on a G4 iBook and recently when using what I ... A: "ls" and "cp" are mos commonly NOT internal coomands of any shell. The only command that HAS to be ... | |
| Apache & MySQL using Webmin | 4/10/2004 |
| Q: I just installed Linux Suse 9.0. When I experimented Apache and MySQL, the following error message ... A: Most likely there is some mixup about shells on your box. Line 1 in 99% of cases has a declaration ... | |
| Hello Nix, I have a query... | 4/6/2004 |
| Q: I have a query in one of the shell scripts as : /usr/bin/ftp -v 2>${SFAHOME}/${job_name}.$$.msg < ... A: The evaluation goes from left to right. The meaning of "2>&1" is "redirect STDERR to STDIN's ... | |
| unix programming | 4/6/2004 |
| Q: Sir, First of all thanku for answering my previous 2 questions. First script has worked ou ... A: I've seen these questions before. Your professor should change the exam/homework questions once in a ... | |
| RedHat Linux 9 DNS Server, etc | 4/4/2004 |
| Q: I am still working with linux and trying to teach myself, but one of the hardest things i have come ... A: Well, first of all, you need to setup Apache to serve desired virutal host. Docs on that subject in ... | |
| send mail using c Programming | 3/25/2004 |
| Q: How to write c program for sending mail? A: Unless you can find some SMTP cleint libraries, you're hosed. Of course, if you're on UNIX, you can ... | |
| Invalid file name formats in Unix | 3/24/2004 |
| Q: but if i don't give quotest like <program name> abcdef 101010 where in program name is the program ... A: You can always surround with quotes. Always. Even this is OK: $> vi "my program.sh" ... ... make a ... | |
| Invalid file name formats in Unix | 3/24/2004 |
| Q: I would like to know various invalid file formats in Unix. for example if i want the file name to ... A: You CAN have a file name like that: touch "abcdef 1010" will create an empty file with that name ... | |
| Quick Question | 3/19/2004 |
| Q: I hope this email finds you well.I have a question that i'm hoping you can help me with. What do ... A: ANSWER 1 -------- Nemver heard of "unmask", you probably mean "umask". This is "User MASK" and ... | |
| Compiling C program in cygdrive | 3/18/2004 |
| Q: I have downloaded some C code from the internet, but it seems as if it was written for UNIX, ... A: "Makefile" lists rules for building targets. One target can (and usually does) depend on other ... | |
| sharing printer | 3/17/2004 |
| Q: I have server computer (Linux OS) client computer (Linux OS). I have configure a NFS to sharing ... A: Most commonly, a LPD on one machine doesn't accept remote jobs, by default. You have to cohfigure it ... | |
| ports vs sockets | 3/17/2004 |
| Q: no troubles really...just a general question. What are the differences between an open socket and a ... A: Well, an open port means that some process is listening on that port, ready to accept connections ... | |
| unix programming | 3/13/2004 |
| Q: Sir, First of all thanku for answering my previous 2 questions. First script has worked ou ... A: SCRIPT 1 -------- #!/bin/sh OLD_PROMPT="${PS1}" PS1="bourne" export PS1 /bin/sh ... | |
| Linux 2.6 Kernel | 3/12/2004 |
| Q: I just want to know what are the differences between the Linux 2.6 Kernel and other Kernels ... A: There is hardly an adequate comparison. LINUX kernels are monolitic in their architecture, while ... | |
| Re0Booting Solaris ver 8 and lost information | 3/11/2004 |
| Q: I was wondering if you could please help me with a question. I recently moved a sun server and when ... A: This error could simply mean that the file system is mounted. I believe that a file system has to be ... | |
| Shell Script | 3/10/2004 |
| Q: I am a student and I have been asked to do the following programs. 1. Write a shell script file. It ... A: SCRIPT 1 -------- #!/bin/sh echo "Enter a letter: \c" read answer letter='echo "${answer}" | cut -c ... | |
| Apache | 3/2/2004 |
| Q: I installing apache and IIS for on my windows 2000. but I cannot get them to work properly. Can they ... A: They both serve the same purpose - they are Web Servers. You can have them both up and running, just ... | |
| Syslogging through Linux | 2/25/2004 |
| Q: OK. I want to use iptables. I need to configure so that the computer 192.168.10.1 can send ... A: I don't have a Linux handy, right now. Take a look at /etc/sysconfig/iptables it should contain ... | |
| domains, nameservers | 2/24/2004 |
| Q: I have several domains at godaddy.com.. As I am a student with little money, although I could pay ... A: The whole "thing" about virtual hosting is this: 1. have a decently setup web server 2. configure ... | |
| .bashrc | 2/24/2004 |
| Q: Pls tell me how excute the .bashrc file i have created alias for cp and mv in .bashrc for verbose ... A: You do not execute ".bashrc" file, it should be setup to execute automatically, via ... | |
| Please explain the following command | 2/22/2004 |
| Q: I need to understand what the following does and would appreciate any help u can give. I tried to ... A: 1. search ("s") for the end of the line ("$") and place a space there. 2. wrap lines to the width ... | |
| Quick Question...Last one for awhile | 2/20/2004 |
| Q: One more question.Could you please tell me what these mean: grep 'This is the time' ... A: 1. Look for a line containing "This is the time" in the named file 2. Going from line 3 to the ... | |
| Quick Question | 2/20/2004 |
| Q: I was wondering if you could tell me what this symbol means: >> ? Also,this from the command prompt; ... A: ">>" is used to reirect output of a command into a file, appending it at the end. "rm -ir ... | |
| (opa, ovo je pravo iznenađenje) Hvala... | 2/19/2004 |
| Q: (opa, ovo je pravo iznenađenje) Hvala na odgovoru ali imam još jedno pitanje: Naime, chat ima ... A: Heh, to uputstvo zahteva malo pojasnjenje. :-) Onaj tvoj direktorijum koji sadrzi WEB-INF bi trebao ... | |
| Help me if you can. I'm... | 2/19/2004 |
| Q: Help me if you can. I'm a user on a web hosting machine. I'm trying to install a java chat on my ... A: I suspect we can slip to serbian (or croatian) language, but "when in doubt, stick to english". ... | |
| 2/19/2004 | |
| Q: i have 3 computer with linux OS, 1 is my server and 2 workstation/client. i have setting up the ... A: You should first make sure that the server is as secure as possible - it will be visible from the ... | |
| NFS | 2/17/2004 |
| Q: hi, i am john here, i have some question to ask regarding the port mapper. i have already configure ... A: If it is sometimes, then it is not a setup issue. At least, not on the NFS part. I'd look at two ... | |
| DNS setup | 2/13/2004 |
| Q: Nix, sorry about that, my question was confusing. Here are my configuration files. Here is the kind ... A: One thing that eludes me, what is exactly your setup? The error message would indirectly indicate ... | |
| DNS setup | 2/12/2004 |
| Q: I am trying to set up a DNS server for shambhalatoronto.org. I have had my named.conf and ... A: DNS is using both UDP and TCP port 53, so that is what your firewall should let through (or NAT, if ... | |
| Sharing Printer and sendmail configuration | 2/10/2004 |
| Q: I have NFS network in my home. 1 computer as server and 3 computer as workstation. now i have ... A: For printer sharing you should setup Samba on the computer owning the printer and redirect your ... | |
| Shell Scripting | 2/10/2004 |
| Q: The convention below is fine, but the error message is still appearing. Are you aware of any way in ... A: Korn shell is telling you where the error is - line 24. What is on that line? My bet would be, ... | |
| Shell Scripting | 2/10/2004 |
| Q: This is what I am trying to do: echo Enter username [default = test]: read line if [ -n $line ]; ... A: It is a good practice to surround strings with quotation marks. Usually, "echo" works fine, but ... | |
| Quick Question | 2/10/2004 |
| Q: I was hoping that somebody could tell me what the following utilities do: sort -r +4 ... A: sort -r +4 -5 /home/dir1/abcfile Sort ("sort") in reverse order ("-r") using 4th and 5th ("+4 -5") ... | |
| Internet configuration | 2/10/2004 |
| Q: I have using computer that contain Windows2000 and Lunix verision 8.0 red hat operating system( dual ... A: You didn't say which connection to the Intenet you're using, but I cannot imagine ANYTHING that ... | |
| traffic shaping + squid cache proxy | 2/9/2004 |
| Q: This is my system: [web]-----8080----[eth0 linux eth1]----80---network other traffics will ... A: You didn't say which Linux distro you're using, but I'll give you some hints: - Linux Kernel v2.4 ... | |
| accessing hardware ports | 2/8/2004 |
| Q: hi i'd like to know how to identify the address of my parallel port so that i can send and receive ... A: What do you mean by "address of parallel port"? Different OSes have different designations for ... | |
| Unix form feed re-ask | 1/7/2004 |
| Q: I sent this to you back in July of last year, but can not seem to find the answer you sent, so I am ... A: Hmm, it must have been a long time ago. I don't remember this question. But it was July,... Anyway, ... | |
| counting the number of matching patterns in a file | 12/23/2003 |
| Q: Hey there!! I know how to count the number of lines that matches the pattern using "grep ... A: The problem here is that all useful utilities work on lines, not on words. I can see two ... | |
| String search in 2+GB file using GREP | 11/15/2003 |
| Q: I also send this question to Dharmender Rai as he can give me perl solution AND your expertise may ... A: The only thing that comes to ming is substituting "grep" with "awk", using awk script: search.awk ... | |
| unix processes | 11/9/2003 |
| Q: I am working on a project in which l have to create processes using fork()and then these processes ... A: "mmap()" maps a file into a virtual memory address space of a process. You first open a file, then ... | |
| UNIX/Linux | 10/29/2003 |
| Q: Sorry, dumb question to follow. Is it possible to restore a file deleted with the 'rm' command? If, ... A: The most general answer is "no". The more detailed answer is that it depends on the file system and ... | |
| /sbin/iptables -L | 10/21/2003 |
| Q: [root@localhost sysconfig]# /sbin/iptables -L Chain INPUT (policy ACCEPT) target prot opt source ... A: [1] "opt" - "options" (this case) or "optional" [2] this means "log packet to syslog facility, ... | |
| Viewing and SCO OpenServer Partition in Windows XP/2k3 | 10/16/2003 |
| Q: I have a hard disk with the SCO OpenServer OS installed and I want to copy all the data to another ... A: I'm not aware of anything that can read SCO's UFS format. You could try two things: 1. Boot SCO and ... | |
| unix | 10/11/2003 |
| Q: my questions are I) what are the commands to 1) see whether a port is free or used 2)To see number ... A: I.1. Try "netstat -a" it should list all ports occupied an in use. I.2. Try "ipcs -a" II.1. ... | |
| Calling a DOS Batch file wirhin awk | 10/9/2003 |
| Q: A query I have is as follows. I have a DOS Batch File (ABC.BAT) which I run on it's own with a ... A: How can you run both "awk" and *.BAT together? You have CygWin? Anyway, you have several ways of ... | |
Answers by Expert:
Top Expert on this page
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
UNIX
Digital UNIX
AltaVista Firewall
TCP/IP
Education/Credentials
BSCS

©2012 About.com, a part of The New York Times Company. All rights reserved.