Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1251.

Solve : help in cli?

Answer» PRETTY simple question, but I don't know the answer...
how do you make a page stop SCROLLING after it's filled up? or how do you SCROLL up in the command line when you do a command like ls --help and there's too much information to be displayed in one screen?
more or LESS, unless its not what your question asked.Thanks, I FIGURED out what I needed. Shift+PgUp/PgDown lets you scroll up/down through previous screens.
1252.

Solve : Virtual dirve?

Answer»

Can i install xubuntu in virtual drive if yes how to once i tried EVERYTHING done only the mouse didn't work

i was running OS Xp at the same time i was using LINUX but WITHOUT mouse now is there nay solution for mouse too

thank you What program do you use to set up virtual drives?i'm using pc virtual drive 8.1 my friend gave me and i'm waiting for a good REPLY of you guys thank you in ADVANCE I'm not aware of "pc virtual drive 8.1" program.Yes it is possible:

http://www.youtube.com/watch?v=PSxN0cg76Cc&feature=related

1253.

Solve : PROBLEM WITH DRIVERS WHILE INSTALLING FEDORA 7&8?

Answer»

myself yakubpasha ...
i am having a problem after INSTALLING FEDORA 7&8
problem:
at the time of veryfication or user PROFILE i am not able 2 type anything using KEYBORD EVEN mouse is also not working how can i overcome with this problem?
and my keyboard & mouse are working perfectly
///////////////////////////////////////////////////////////////////////////
keybord&mouse::: I-BALL
motherboard ::: INTEL D102GGC2
PROCESSOR ::: PENTIUM-D 2.6GHZ DUALCORE
HARDDISK ::: ATA-160GB
RAM ::: 512MB DDR2(4600+SPEED)
////////////////////////////////////////////////////////////////////////////
please suggest me...!!!!!!!!!

1254.

Solve : need olderst os?

Answer»

i need an oldest OS " Linux , UNIX , ... "
i have old pc
>piii 450mhz
>128mb ram -->(64+64)
>2gb hdd

i use it for testing
thanks
what do you want to do with it? testing what? any new version of linux will run fine on it if you don't install the graphic intensive environments.
try puppy linux, popcorn, dsl.... you could probably even install opensuse on it if you don't include KDE or gnome, but include windowmaker.
but new Linux need more ram and CPU
i test your order and say the result
OK
any new linux can survive and thrive on the computer specs you listed if you leave out kde or gnome. Even with them, it would be alright.Quote from: michaewlewis on May 21, 2008, 09:17:11 AM

any new linux can survive and thrive on the computer specs you listed if you leave out kde or gnome. Even with them, it would be alright.

Agreed. I've run Gnome successfully on much more "beastly" machines than that one. It may require a text-based installer and a good deal of patience for installation, but it will run fine.Way back in the last century I used Mandrake 7 with KDE on a K6-2 450 MHz machine with KDE and Gnome, but I think the RAM is going to be the bottleneck here, I had 256 MB

I've ran opensuse on a pc with SIMILAR specs as well...... actually, I set up a computer for my 4 year old nephew with the exact same specs except a larger hard drive, and put opensuse on it with kde. All of the games worked good enough for a 4 year old.
I did that a little more than a year ago.I currently have a Dell Dimension R450 with a PENTIUM II 450mhz and before I added more RAM it had 128MB. With the 128 memory I had Xubuntu installed. To install it you can't use the liveCD but the alternate install CD. I'm not sure how much hard drive space it used. My wife is using a laptop with a faster P-III 750mhz but only 192MB RAM and is running Ubuntu 8.04 (Gnome desktop) on a 10GB HD.

On such a small drive I'd likely have to agree with the previous suggestion of using Puppy, DSL, Popcorn or one of the other minimalist Linux distros.

Other than the above I'd FIND a larger hard drive in the range of at least 10GB to be useful.
1255.

Solve : ADVENT IN TO LINUX?

Answer»

HELLO FRNDZ NEW TO WORLD OF LINUX HOW TO INSTALL LINUX FEDERO CORE 4 ALREDY HAVING WINDOWS XPQuestion.... Why Fedora 4 instead of the most current Fedora 9?
Download the newest version of fedora and check the WIKI. http://fedoraproject.org/wiki/Quote from: khasad2006 on May 16, 2008, 11:30:50 AM

HELLO FRNDZ NEW TO WORLD OF LINUX HOW TO INSTALL LINUX FEDERO CORE 4 ALREDY HAVING WINDOWS XP

watch out I believe linux commands are case SENSITIVE, so you might WANT to let go of shift and/or TURN off caps-lock.
1256.

Solve : How to Boot Linux Program?

Answer»

My father is working on a project that uses small linux. The thing is where new to it COMPLETELY, how do you make it so that when you turn the OS on it lanuches a PROGRAM to run?He doesnt want a gui with it which is probably alot of code to remove. HE want it to boot the program when he starts it. He wants to have it on a thumb drive. If this helps or changes anything.It's not CLEAR what you are asking. Do you want a particular program to start running when you boot the PC without even logging in? Lots of daemons do that. Are you talking about a program like Apache web server? That's a daemon that is normally configured to do exactly that.

If not a daemon, what program or APPLICATION is it that you want to run? Can you describe the objective?He doesnt want a login ether, that stripes alot of code off. But he wants to keep it so that it loads a single program. No, I dont think it is.

1257.

Solve : Ubuntu format?

Answer»

how do i FORMAT my hard drive using ubuntu?There's a LOT of articles on the internet for how to format a drive in LINUX. Follow the link:
Yahoo! Search

1258.

Solve : Multimedia keys?

Answer» FRIENDS how can i use MULTIMEDIA keys on keyboard in LINUX i am using mandriva2008

More information is NEEDED.... What brand/model keyboard is it?
1259.

Solve : How do I store a real number into a variable??

Answer»

Hi!!

When I DIVIDE a number such as 20 / 100, the value that gets stored in a variable is just the integer part, i.e 0.

I used var=`expr 20 / 100`
Instead of storing 0.2, it stores 0. I need to USE the real value in further calculations.

Please HELP...you can LOOK into bc command
Code: [Select]echo 'scale=2;20/100' | bc

1260.

Solve : How do I count lines on a file??

Answer»

Hello!

Can you pls tell me how I can count LINES from a file and store the numeric value in a variable without including the string part?
I used the wc command but it wasn't useful bse it also stored the string part!
Example, variable=wc -l MYFILE, resulted into 5 myfile.

How can I get it to store only 5?

Pls help...you can count lines and get the number of lines in a few ways
CODE: [Select]wc -l file | cut -d" " -f1
wc -l file | awk '{print $1}'
awk 'END{print NR}' file
grep -c . file
doing homework huh?
Hi and thanks very much for your help!! The code worked!
It's ODD that I lost my dog Scooby a week ago, and now SOMEONE with a username - ghostdog helped me out in my homework!

Thanx again

1261.

Solve : Ubuntu Drivers?

Answer»

So I just set up a dual boot on my dell inspiron 1521 with 2gb ram and a 160gb harddrive.I got all the drivers and for my vista PARTITION but with ubuntu 8.04 I do not.The reason is because I dont have access to the internet.I can get internet, but Id have to have the wireless drivers set up, either that or I could plug into the router at school.But when I plugged into the router at home it wouldnt connect to the internet so I dont know.I heard that if you want internet to work with ubuntu you have to have it plugged into the router while downloading ubuntu, is this true?Is there anyway to get the drivers without internet on my inspiron 1521, like download the drivers on another computer then copy them to a cd and move them to my inspiron 1521?Ive really had trouble with this so please HELP, BTW yes I did have ubuntu before but someone helped set it up and then the harddrive failed and so I jsut got another one from deell and set up the dual boot.PLEASE HELP.Quote from: cheese11 on MAY 12, 2008, 02:15:29 PM

I heard that if you want internet to work with ubuntu you have to have it plugged into the router while downloading ubuntu, is this true?
No. The method of downloading the Ubuntu iso file, and the computer it's downloaded on have absolutely nothing to do with the installation.

Tell us about the network at home. You have a router, but is it connected to an always-on internet service like cable, FiOS or DSL? I assume there is a cable modem. Are there other PCs connected to the router that work?

The normal configuration is for either the router or cable modem to do network address translation (NAT -- this allows multiple PCs to share one real IP address) and to act as a DHCP server to tell the PCs what local IP address to use. Yours is almost certainly setup this way by default. Do you know if it's been changed?

What does the command /sbin/ifconfig eth0 show? Is an address assigned? The second line should say something like this:
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0

If an address is assigned, what does the command netstat -nr say? There should be at least two entries: one with gateway 0.0.0.0 and one with destination 0.0.0.0.Ubuntu should already have the drivers for that laptop. It's just a matter of turning on the wireless ADAPTER.

On the upper right of your screen you should see an applet icon for networking. If you right click on it you it should give you the option to enable networking and enable wireless networking. If these are not checked, check both then left click and you should be able to SELECT your wireless network. (due to my set up I could have gotten my left and right backwards ) .

Hope this helps.

We have Ubuntu on my wifes laptop and Kubuntu on our desktops.
1262.

Solve : Triple-Booting Vista, XP, and Linux?

Answer»

I recently acquired a new PC with Windows Vista on a 320 GB drive. My goal is to install Windows XP and Ubuntu Linux, but also keep Vista. I haven't powered it up yet, but I assume that the C: drive is taking up almost all 320 GB. Here is my plan of action:

1. Use Partition Magic to shrink the Vista partition to 100 GB, leaving 220 GB free.
2. Install Windows XP into a new 100 GB partition, leaving 120 GB free.
3. At this point, when the PC boots, it will give me the option to choose Vista or XP, correct? Will BOOT.ini be automatically updated when I install XP?
4. I will then install Ubuntu, and its Grub should overwrite Windows' boot.ini, and give me the choice to boot to Ubuntu, Vista, or XP.

Am I missing anything? THANK you.I'm not sure if you can have more than three partitions on a hard drive. (Anyone know for sure?)
You're going to need two partitions for linux, unless you're planning on not having a swap. (bad idea)
My recommendation: Get another hard drive.
Also, linux will not do anything with the boot.ini file. It writes a boot loader to the mbr. So when you START the computer, you'll get grub and if you select windows, you'll get the windows boot options. You might be able to get rid of the boot.ini file if you just want to use grub, though. Don't take my word for it though.
I think vista might be able to shrink partitions by itself. I know the 2008 server beta can. Right-click on my computer and click manage, then go to disk management. Play around with that a LITTLE and find out.
You can have 5 partitions on a HD. The only limit is that you can only have 4 primary partitions, which should be enough for your plan. Your plan sounds fine michaewlewis. Grub should detect your windows installations so you should be able to boot all your OS from grub.Actually if it were my computer, I would have a separate hard drive for each os and split each one into at least two partitions. One for the os, and one for files (and one for swap in linux). That way if I ever need to reformat and reinstall the os, I could do it without losing any data. Also, if one of the drives fails, I wouldn't have to install all of them again.

1263.

Solve : Linux reading windows files CAN YOU DO IT??

Answer»

Am i doing this right ?A new topic would have been better than creating a poll.
Use the mount command:
mount /dev/hda1 /windows/C
Yes you can do it. There is a package you can install that will let you. I don't remember exactly what it is, do a google and you can find it.

Keep in mind - this is still in Beta. It's possible you can lose data.Quote from: SilentAssasin64 on July 12, 2007, 10:43:50 AM

Yes you can do it. There is a package you can install that will let you. I don't remember exactly what it is, do a google and you can find it.

Keep in mind - this is still in Beta. It's possible you can lose data.
Don't need any packages for suse10.2, it's all included. not sure about other flavors
Quote from: michaewlewis on July 12, 2007, 10:58:06 AM
Quote from: SilentAssasin64 on July 12, 2007, 10:43:50 AM
Yes you can do it. There is a package you can install that will let you. I don't remember exactly what it is, do a google and you can find it.

Keep in mind - this is still in Beta. It's possible you can lose data.
Don't need any packages for suse10.2, it's all included. not sure about other flavors


Really? Haven't USED SuSE since 9.2. With Ubuntu you can only read, not WRITE, out of the box.its the suite of ntfs-3gYou might WANT to take a look at the new Linux Mint (Cassandra)...I believe it's possible in that distro.

If not, check Wine or CrossTalk.Weti - Knoppix will read what is on your HD now. You can read it and BURN it to CD/DVD if you have an available burner. Knoppix runs from a CD, no installation needed.
1264.

Solve : FileSystem Monitor Script Issue..Pls Help??

Answer»

I have a Script that monitors a FileSystem named /Monthly; works
great but I need to monitor
/Daily/All ....

Can you help me tweak something here that I dont see

MSG=`df - Ik|awk '$6~/Monthly$/{gsub("%"," ");
if ($5>20){print "FS:Monthly filesystem is "$5"%"}}'`
if [ "$MSG" != "" ]
then echo $MSG | mail [emailprotected]
fi
-------------------------------------------------------------
I need to check another filesystem called /Daily/All


Thanks for your help
so change Monthly, to Daily in the awk script. Quote from: OpenwareTech on April 29, 2008, 08:14:13 AM

MSG=`df - Ik|awk '$6~/Monthly$/{gsub("%"," ");
if ($5>20){print "FS:Monthly filesystem is "$5"%"}}'`
if [ "$MSG" != "" ]
then echo $MSG | mail [emailprotected]
fi
I'm only casually acquainted with awk, but I can certainly see what's going on here.

At the highest level, you are storing the OUTPUT of a command into an environment variable named MSG. The back quotes (`` ) run the command and return the text.

But I suspect you have not quite correctly copied the command that pipes into awk, that is, "df - Ik". The closest sensible command would be "df -ik", which shows how many inodes, or directory entries, are used up. The $5 part of the awk print command would grab the fifth output COLUMN from df, which is the percentage.

As for the change, I think the previous answer was CORRECT, just change the directory.

BTW, did you really intend to give your cell phone number to the world?
1265.

Solve : Help me how to setup an MS-Outlook server?

Answer»

Pls Help me how to setup an MS-Outlook SERVER in FEDORA 6.0 What do you mean? Are you TRYING to set up just any email server or what?
If so, go in the DIRECTION of SENDMAIL or postfix.

1266.

Solve : Help making custom distro?

Answer»

I am [trying to] make a DISTRIBUTION of Linux based on Ubuntu, that will come with all the necessary things like libdvdcss, gstreamer, lame, azureus, frostwire. I have all the DEBIAN files and I have the ISO itself, along with it's decompressed contents. I also have the disc if necessary. Now one thing, when the installer scans the CD, does it scan for ALL files, or only ones from a certain list. And when I'm DONE, how will I put the boot sector back on? If it just scans for ALL packages in /pool/main, then I can just put the DEBs there and have them install like all the normal packages, if not, I have found another file, that looks exactly like the APT information, and specifies the exact location. I also found some files in each tarball (I got most of them by apt-get source and alien) that look similar, but say 'hash' INSTEAD. Do I add the hash to the APT list, and the DEB to the pool? Or do I do something completely different? I'm confused. If it helps, I have the source files, should I need them again.Perhaps this might answer some of your questions.
https://help.ubuntu.com/community/LiveCDCustomization?action=show&redirect=LiveCDCustomization%2F6.06
I admire you for trying to put together your own distro, I have tried in the past but always failed, time being a major FACTOR.

1267.

Solve : Ubuntu Startup Problems?

Answer»

I am looking to run a bash script at LOG in with Ubuntu 7.04. How do I make that happen?Taken from Ubuntu Forums - User amicitas
http://ubuntuforums.org

Re: logon or login script?
There are a COUPLE FILES that are sourced on login (either to your desktop manager, or to a terminal).
https://wiki.ubuntu.com/environment_variables

If you are using bash, the global login FILE is /etc/profile, and the user login files are ~/.bash_profile

(NOTE that .bash_profile is different from .bashrc in that .bash_profile is only sourced on login (or on the start of a login terminal). .bashrc will be sourced for any kind of terminal startup.)

Help?

1268.

Solve : Wireless Internet Not Working with Ubuntu?

Answer»

I am trying to FIND out why the WIRELESS internet on my laptop is not working. After searching google I found these TWO commands lspci and lshw -c network. But I still can't find out why it won't connect.

When I use the lspci command it shows that it is detecting the wireless network card. Then when I enter the sudo lshw -C network command right after the password it says *-network DISABLED. I think this is why I am not able to access the internet. Could someone help me enable the connection? It is not encrypted.

Code: [Select][emailprotected]:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
03:01.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller (rev 40)
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express (rev 02)
0c:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01)

Code: [Select][emailprotected]:~$ sudo lshw -C network
[sudo] password for paul:
*-network DISABLED
description: Wireless interface
product: BCM94311MCG wlan mini-PCI
vendor: Broadcom Corporation
physical id: 0
bus info: [emailprotected]:0c:00.0
LOGICAL name: eth1
version: 01
serial: 00:16:ce:73:66:ba
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=bcm43xx driverversion=2.6.22-14-generic latency=0 link=no module=bcm43xx multicast=yes wireless=IEEE 802.11b/g
*-network
description: Ethernet interface
product: NetXtreme BCM5752 Gigabit Ethernet PCI Express
vendor: Broadcom Corporation
physical id: 0
bus info: [emailprotected]:09:00.0
logical name: eth0
version: 02
serial: 00:15:c5:39:70:ef
capacity: 1GB/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.77 firmware=5752-v3.19 latency=0 link=no module=tg3 multicast=yes port=twisted pairI had a similar experience with a laptop on which I ran Ubuntu. Ubuntu DETECTED the physical hardware for the laptop's internal wireless card (atheros) but had no drivers to install for it.

I plugged in an Ativa brand wireless card to the PCMCIA slot of the laptop, and Ubuntu detected hardware and installed drivers for the Ativa card. (I forget what chipset/architecture the Ativa card was.)

Can you borrow or try another wireless card on your laptop to see if Ubuntu will detect and install drivers for it?Is the router set up with an SSID?
If so you will need to put it in your network settings so the laptop can tell the router it is allowed to access the network. I can see many routers on our wireless but all but one requires at minimum the SSID to be sent including my own.

Is your network adapter using Athros chipset? if so have you tried the MadWifi app? It's available in the Ubuntu repositories and hasworked wonders for a few of my friends who's wireless had similar problems.
For info aboutMadWiFi see http://madwifi.org


Also I've found this extremely helpful!
http://www.hpl.hp.com/personal/Jean_Tourrilhes/index.html

Good luck and hope something here helped!

1269.

Solve : Ubuntu needs to be reccomended?

Answer»

what do yall thinkI like Ubuntu, but don't have a spare pc yet.Quote from: CraZ_BLuE on July 23, 2007, 08:14:44 PM

what do yall think
About what?I don't like ubuntu. I've used it a few times and it seems to not have enough programs and such that I like to use and play around with.
I like OPENSUSE a lot more because of the massive amount of extras that come with it.Quote from: michaewlewis on July 24, 2007, 07:45:05 AM
I don't like ubuntu. I've used it a few times and it seems to not have enough programs and such that I like to use and play around with.
I like opensuse a lot more because of the massive amount of extras that come with it.
True.... but it uses more system resources.Quote from: Comp Guy on July 24, 2007, 10:14:45 AM
Quote from: michaewlewis on July 24, 2007, 07:45:05 AM
I don't like ubuntu. I've used it a few times and it seems to not have enough programs and such that I like to use and play around with.
I like opensuse a lot more because of the massive amount of extras that come with it.
True.... but it uses more system resources.
I knew someone was going to say that. It still runs flawlessly on my 800MHz, 256mb computer. Well, except for the 3D games that COMES with it.
You could always tell linux not to start up certain PROCESSES if you're worried about using too many resources.That's true too.... also, I like the 3D interface.also, if you're really worried about resources, wouldn't you want to go with dsl or puppy anyways? Quote from: michaewlewis on July 24, 2007, 11:54:50 AM
also, if you're really worried about resources, wouldn't you want to go with dsl or puppy anyways?
Another nice thing about Linux, LOTS of options!Quote from: Comp Guy on July 24, 2007, 08:19:16 PM
Quote from: michaewlewis on July 24, 2007, 11:54:50 AM
also, if you're really worried about resources, wouldn't you want to go with dsl or puppy anyways?
Another nice thing about Linux, LOTS of options!
That could also be seen as a bad thing about linux... too many options.Quote from: michaewlewis on July 24, 2007, 09:13:19 PM
Quote from: Comp Guy on July 24, 2007, 08:19:16 PM
Quote from: michaewlewis on July 24, 2007, 11:54:50 AM
also, if you're really worried about resources, wouldn't you want to go with dsl or puppy anyways?
Another nice thing about Linux, LOTS of options!
That could also be seen as a bad thing about linux... too many options.
Nothing is perfect. At least it's better than Microsoft!I like Ubunutu. I have it running on my desktop at home and here in the office on a small, low end, SERVER. I like it, but am looking for something new. I want to try out some new things, if you GET my drift.
1270.

Solve : Hide folders in linux?

Answer»

Friends how can i hide folders in linux (mandriva 2008)It is very simple to hide folders in Linux. Simply put a "." before the folder name.

for example: /HOME/user/.secret

The folders "home" and "user" are visible but the sub-folder "secret" is not visible.

You can ALSO set permissions on the folder(s) that only the user who owns the folder can view it. This won't HELP if they have access to your account. To do this just right click on the folder and go to the permission tab (ASSUMING your using a desktop and not the COMMAND line.)

Hope this helps

1271.

Solve : Xorg using 50% of CPU?

Answer»

For some reason, lately, my Xorg process has been using massive amounts of my CPU.

I have no clue if I've changed anything lately or what's been done to it.

If anyone knows what could be causing this and a possible way to fix it, please help me out eh =).

Specs:
Sempron 3400+
1GB RAM (2x512)
GeForce FX 5200 Ultra
Ubuntu Feisty Fawn
and of course the usual hard drives, add on cards and stuff...

PS - If you need any more info I would be glad to get it for you.


Thanks in advance.does RESTARTING X help?
I think the command line is xserve -restart
Or you could just log out and then back in.
If it doesn't help, post your xorg.conf file.
I've restarted, logged out, etc multiple times and it STILL doesn't seem to STAY down. I'm at work right now and my MACHINE isn't on. I'll have someone turn it on and then I'll grab the config file and post it here.

1272.

Solve : inksaver/paper saver??

Answer»

I am "migrating" to Ubuntu. I would like to install a program similar to Fineprint (free) in that OS. Does anybody know if exists such (free) software for Linux/Ubuntu?not SURE what fine print is. I'm assuming it just tells the printer to use less ink?....
There are options built in to linux (well, at least opensuse 10.2) that lets you dictate the quality of printing and I think AMOUNT of ink used. BEST THING to do is just explore once you get linux installed, it has most of what ANYONE would need.

1273.

Solve : how to install slax-server-5.1.8.1?

Answer»

i have downloaded the slax-server-5.1.8.1.iso and i burn it to a CD its size was 192 Mbs
i BOOT the CD and that was working good now i want to install it to my Hard Drive
can i?
i have OS XP already and i want to Dual boot


i was using puppy now i want to try Slax

thank you in adv..slax isn't meant to be installed onto a hard disk.
Quote from: Slax Developer

SLAX is primarily designed to run from CD or USB (or any other removable device) without installing. I put a lot of effort to make it work as a Live OS, so you shouldn't ruin all my work by asking for harddisk installer. If you'd like to have a regular Linux installed on your computer, you should definitely install something else, not SLAX. My advise is: Go for Slackware, I'm using it too, it's the best system for those who are not lazy to learn NEW things.
http://www.slax.org/doc_install_slax.php

If you're machine is an old one, you might try dsl or netbsd.
So you mean only i can use it as live OS? any ways thank you for your HELP and reply i have already use dsl and puppy now i want to try something else what do you advise me to use ? i have very poor machine 600Mhz 256RAM Compaq



If you followed the link, the developer says don't try to install slax, but then he goes on to say how it can be done. Important point being it can be done.

You'd be surprised what linux can do with old computers. I'm sure just about any linux flavor would run fine on your box. I use OpenSuSE on my computer at home. I'm sure it would be fine on your computer, just don't try playing the 3d games.
I would also recommend Playing with BeOS. It can easily make good use of a very SLOW computer.
http://www.beosmaxfiles.org/
It's out of development now, but still very stable.Last week i had Suse 9.0 it was slow i reinstall puppy and i will try BeOS thank you for helping me to use these Distros.

i will download it now....
You may want to know that BeOS isn't a linux distro. It is its own operating system. No relation to unix or linux or anything.Ok thank you for replying me ok you mean BeOS is diffirent then all other linux Distro.?
Ok i'll download it and i'll try it now
thank you agaqin
1274.

Solve : I need to know the downsides of linux......?

Answer»

Hey everyone ...

I have basucally put linux on to disc and im ready to install it , im wondering , what sort of things wont work on linux , and how does it work excatly does x-p get written over , will i still be able to play all my music ......... those sort of things , oh and my drivers ETC....... i downloaded kubuntu...... any information i will be thankful for .....

Tony..... Being a pretty new linux user my self i can give you a few downsides...
Any windows programs you have wont work in Linux, not at least without special software like wine (and even then not EVERYTHING will work).
Your music should be fine, but Ubuntu (and the other variants such as Kubuntu and so on) doesn't support mp3 playback by default. You'll need to install that separately.

Whether or not XP gets overwritten depends on how you install it. I've installed mine so I can choose at startup between Ubuntu and XP.

But the really good thing about Ubuntu is that you can try out the OS without installing it. The install disc is also a live disc so when you boot up on it, you get a working copy of the OS to try out before installing.Ok deepark cheers for that information , can you tell me the upsides please ...... i just tried installing it i was told i need the 32bit version opssssssss...........

Tony One thing I think is really cool is the amount of software you have available right from the beginning. You GOT a software package that could cover most people's everyday use. And if you need anything else you can use the add/remove feature to select from a huge library of software ready to install. Ubuntu even download and configure it automatically. It couldn't possibly get any easier.

I can also recommend you try out Automatix. It's a collection of scripts to get extra software and codecs like the missing MP3 decoder. There's also a NTFS driver included that allows you to write to an NTFS partition. (By default Ubuntu only supports reading from NTFS drives.)could you link me to the 32 bit version please ........ im so used to windows as well this is going to be a massive change , because ive only got a 40gb HD at the moment do you think its wise if i just format over ..........

:d also do you think linux runs better than x-p , on the TERMS of say gameing ......

Tony

sorry for the hassle i just dont know what do download

Also are you using the OS LINUX now .... Game wise, no, you're better of with XP.
But yes for everyday use, Linux USES fewer resources.
Personally I wouldn't get rid if XP before you're sure Ubuntu is what you want and you're sure you don't need XP for anything.

Just download the PC (Intel x86) desktop version of Kubuntu 7.04 (Feisty Fawn) from here.

And no I'm not in Linux right now. I switch back and forth a lot depending on what I'm doing at the moment.cool cheers deerpark i will get downloading asap , but im going to wait untill ive got my new HD and then i will boot both OS'S , cheers for the help!!!

Tony

1275.

Solve : how to: change chmod to 777 of all files in a spesific name in whole server?

Answer»

Is it possible to CHANGE chmode of a spesific file but in different folders?

change all x.php in /home folder. There are lots of x.php and i dont want to change chmod one by one.

is it possible to do this with one shot?

TNX Code: [Select]find /home -TYPE F -name "X.php" -exec chmod 777 "{}" \;
Thank you very very much. I am searching this command for days. And it worked.

what if change a permision of a FOLDER not file?


How can we do this?Quote from: doncamillo on April 26, 2008, 07:47:59 AM

Thank you very very much. I am searching this command for days. And it worked.

what if change a permision of a FOLDER not file?


How can we do this?
check the MAN page of find command. look for -type explanation.Tnx again.

"-type d"

1276.

Solve : help for my problem?

Answer»
I am using linux environment , my php APPLICATION is installed in linux, that application is accessed from widows using this way is http://ipaddress:portnumber, but i GOR error is :"CONNECTION time out".please help me in this problem it is urgent.


swamyMake sure your firewall in linux is EITHER turned off or is allowing traffic from APACHE.
1277.

Solve : Unix, GUI or Command Line Interface??

Answer»

Is UNIX, GUI or Command Line Interfaced?

Also, Where can I DOWNLOAD a good copy of Unix?It DEPENDS. Most *nix distributions can be downloaded with either a GUI or without one.

For Linux downloads check out: www.distrowatch.com. I recommend Ubuntu, it has been very good to me.

However, I do not know where to find just Nix downloads though, so sorry for that.Do you actually mean Unix, or would Linux be okay?
Unix is usually PURCHASED for a high price, but Linux is mostly free.
Both unix and linux are a gui built on top of a command line. Most distros have a gui packaged with the os.
For unix distros check out this link: http://www.opengroup.org/openbrand/register/
for linux distros check out the link from SilentAssasin64Quote from: michaewlewis on July 30, 2007, 10:40:49 AM

Do you actually mean Unix, or would Linux be okay?
Unix is usually purchased for a high price, but Linux is mostly free.

Sun's Solaris 10 is Unix, and it's free.

http://www.sun.com/software/solaris/

This was the first actively developed commercial Unix system to be open sourced.

Unix (officially trademarked as UNIX®) is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy. Today's Unix systems are split into various branches, developed over time by AT&T as well as various commercial vendors and non-profit organizations.

As of 2007, the owner of the trademark UNIX® is The Open Group, an industry standards consortium. Only systems fully compliant with and certified to the Single UNIX Specification qualify as "UNIX®" (others are called "Unix system-like" or "Unix-like").

During the late 1970s and early 1980s, Unix's influence in academic circles led to large-scale ADOPTION of Unix (particularly of the BSD variant, originating from the University of California, Berkeley) by commercial startups, the most notable of which is Sun Microsystems. Today, in addition to certified Unix systems, Unix-like operating systems such as Linux and BSD derivatives are commonly encountered.

Sometimes, "traditional Unix" may be used to describe a Unix or an operating system that has the characteristics of either Version 7 Unix or UNIX System V.

1278.

Solve : Linux server goes "offline"?

Answer»

Hello, CH Forum members

I have had a problem with my server for quite a long time, and, I was going to attempt to fix it a while ago, but lost track.

My server goes “offline” randomly, sometimes only for a few minutes, sometimes about an hour (or so), and what it does is this:
It completely stops responding to ALL external connections.

I cannot connect to FTP, SSH, HTTP (Apache), or Webmin. It doesn’t last forever though, it comes back up and keeps on working for a while.

I don’t have the SLIGHTEST idea what would cause this.


Specifications:
Ubuntu Linux (Always updated)
20GB HDD (SERIOUSLY needs a reformat, the disk copy method I used only allocated 3GB of my drive)
366MHz Intel PII
180MB of RAM (about that much) (usually about 45% free)
Apache 2 server

I can provide any system logs, but, since I am LIMITED in my Linux knowledge, I would need instructions on how to get them. I have no GUI at all.
What do you mean by offline? Is the server inaccessible at the terminal or just over the internet? Can you access it from ANOTHER computer on the same network?
Can you use another pc on the same network, or internet connection, to browse the internet during these outages?By Offline, I mean, its inaccessible from other computers.

The terminal itself on the actual computer works fine though..

I dont know if it always works on the local network or not, but, I will do some testing, I dont think it does, but, who knows..

It seems to be a problem on the external Internet, the local network has no problems accessing the server.

I did do a complete reinstall, its not finished yet (few bits of the system still need to be put in place)

So, this could be either a router, ISP, or still possibly a problem with the servers configuration.If you can access it from your local network, it might be an isp problem. Do you have a static IP from your isp? Any restrictions or timeouts from the isp that could be making it unavailable? I doubt it is a problem with your server.
What type of internet connection do you have? how old is your router or modem?I have a Fiber Internet connection. There is no modem...

The router I have is only... oh.. two years old. Its a Netgear (I can get the exact model if needed, using a computer thats off its network)

The IP address I have is dynamic, but, it doesnt change. (Yet, its still not static)
Its a connection similar to a PPOE connection, which should be fine for a web server.

I have read the policy about our ISP over here, they didnt say anything about timeouts.

Is there a way to have, oh, say, the server reconnect itself automatically without loosing any session information?

Thanks for your help, MichaeWlewisI'm not a network engineer, but I think the hiccup may be related to having a dynamic IP address. Even though the IP address doesn't change, the DHCP server may be checking in with all of its clients and causing a timeout or delay on your web server.
How often does it happen?

I'll be involved in switching our network at work to DHCP (from all static IPs) this week or next, and I should be learning a lot more about it. I'll check into this more for you then.
Thanks MichaeWlewis

I am not in the slightest bit sure how often it happens, to be honest.

I fixed the problem

I have my server ping an external address about every 5 minutes, it keeps it connected like a charm.

Thanks, MichaeWlewis lol. I remember when I had to do that when at college. They had the internet set up so that if the account was inactive for more than 15 minutes, it would kick you off and you would have to sign in again. I made a WEBPAGE that would load Yahoo! in a frame and reload it every 5 minutes. But then they got wise to that and I had to rewrite it to load a random page every 5 minutes.
But still the best way to do your server is with a static ip... It is a static IP, rather, they could change it on me, but, its assigned by PPoE, so, it would take more effort than something that would happen automatically. Its not Dynamic, but, its not exactly static.

1279.

Solve : New Linux User, Compiling GNU software?

Answer»

Hi All....!
I'm new to linux & using kubuntu, i download linux SOFTWARE from softpedia.com
how can i install a .rpm file
how can compile or entertain GNU type files ?

Thankfull

Most times, when you download an rpm, the host site will give instructions on how to install.
I've been effectively without linux for about a month, and I can't remember what the syntax is. I think it's
./nameofinstallfile
or
SH ./nameofinstallfile
But I could have that confused with installing via tar.
Check out linuxquestions.org
Quote from: endlevel on August 06, 2007, 02:32:13 PM

Hi All....!
I'm new to linux & using kubuntu, i download linux software from softpedia.com
how can i install a .rpm file
how can compile or entertain GNU type files ?

Thankfull


if you download rpm files, at the COMMAND line (typical),
Code: [Select]rpm -ivf <package name>

check your rpm man page for more options. If there is GUI rpm package manager from your DISTRIBUTION, then you can also use that.
If you want to compile your own source code, USUALLY C programs, then download from the source(usually its in tar.gz or zip format.).
Extract them out, for example if you have tar.gz file, you can use
Code: [Select]tar zxvf <filename.tar.gz>

then go into the untarred directory, typically, to compile the source
Code: [Select]./configure #use --help for more options
make
make install

check the documentatoin of the source for more installation instructions.
1280.

Solve : installation of linux in sata HDD?

Answer»

hello,

My self gouri i have a problem with linux installation in SATA HDD. Can u plz HELP me?

I have tried in other system it works but incase of sata HDD it doesn't work.


will u plz kindly help me?

GTQuote from: titugouri on April 15, 2008, 03:31:53 AM

Can u plz help me?

Yes, we can help you.hello,

thanks for the MESSAGE.can u plz tell me the procedure or methods to instal linux in sata HDD.Download a copy of Linux. Burn it to a CD. Boot from the CD. Install.
That's it. Were you expecting it to be more difficult?
What version of Linux did you try installing with?hello,

Thanks for our message . I have tried Linux enterprise edition 9.4 , which stops at the TIME of device checking by indicating not ditecting the HDD.Never heard of enterprise edition. Is that Red Hat? SuSE? Debian? Did you pay for it, or was it a free download?
Are you sure your hdd is installed and working properly?hiii
Red hat linux enterprise edition is the higher version of red hat 9.
Still it is not support sata Hdd. It is also free 2 download.
My prob is not SOLVED yet.
Are you sure your hdd is installed and working properly?
Did you have another OS installed on it before? try hooking it up to another computer that has windows or linux already installed and see if you can access your drive within that os.i have installed fresh OS of xp professional.
Hdd is also working and no driver cd need for that.
my prob is that , i wan 2 know which version of linux support sata hdd.
All versions should support sata just fine. Try ubuntu or opensuse....
1281.

Solve : Linux on a network?

Answer»

OK my experience with Linux is a bit limited. We have a machine that we are experimenting with and I need to attach it to my network. How do I go about doing this? I guess I am so used to Windows OS that I can't find my way around. By the way. this is Red Hat on a DellOptiplex G110.You should just be able to plug it in and go. Linux is PRETTY good with this as I found out that drivers are almost never needed. Just run another cat5 ethernet cable from your router to your linux box. You won't be able to share files and see the other windows computer though without GETTING into samba which in my opinion is very confusing and difficult.No such luck. As I said though, I may be over looking something obvious due to my lack of experience with Linux. Do I need to attach it to the Network in Linux? Whenever I put a windows OS computer on the network, I have to attach it in the control panel. I don't even know what the Linux version of control panel or my computer is. I feel like an IDIOT. lol What do you mean by "attach" in the control panel? If your router gives out IPs with DHCP, you shouldn't need to do more than just plug it in and you should be on the internet.I mean there is an option when you name the computer to either be part of a domain or workgroup. I choose domain and route it to our network. If I don't do this, I cannot access our network or the internet. I need to figure out how to do this in Linux. MAKE sense? Well, I'd try with Samba server, I think that it's easy to make an interface between Windows and Linux. Try this: http://us4.samba.org/samba/ they show all the isntrucitiosn to configure it...

I hope that my comments help you

1282.

Solve : UNIX SCO and Windows XP (Printing and Security)?

Answer»

Hi, I have a few QUESTIONS about printing and security passwords on Windows XP:

1. I need to print from the UNIX SCO prompt to a shared pinter in Windows XP, I'd install the Windows XP option to print under UNIX but it doesn't work. I use to print using the ReflectionX software interface, but I want to print without this software, How could I do?, Is it any shell that permit me make it?

2. My UNIX server is a file server too, and I use Vision FS to make the interface between Windows and UNIX like a file server. The point is that I want to change my Windows XP password, then I have to change it on my UNIX user and my VisionFS user. Is it any WAY to link the three password change to only one?


Please I need your Help!!!

Best Regards
Hi I'd found an APPLICATION offer by Microsoft called Microsoft Windows Services for UNIX, and it bring me the oportunity to SYNCHRONIZE the password in Windows and UNIX, but I'm still needing the way to print from UNIX to Windows.

Best WishesSorry I forgott the download Link http://www.microsoft.com/downloads/details.aspx?FamilyID=896c9688-601b-44f1-81a4-02878ff11778&DisplayLang=en

1283.

Solve : What is the benefit of using (lsof ) command in linux ??

Answer»

hello all

I have a QUESTION

What is the benefit of using (lsof ) command in linux ?have you SEEN the man page of lsof? lsof is a tool to see open files. there are various other options of lsof , one example is listing which process opens a PORT, TRY this
Code: [Select]lsof -i tcp:80
sometimes you try to umount a PARTITION, but it gives error saying you can't unmount. You can use lsof to check what is holding it up
Code: [Select]lsof | grep /mnt/partition

1284.

Solve : Ubuntu can't play mp3?

Answer»

(You do not have a decoder installed to handle this FILE. You might need to install the necessary plugins.)
what do i need to install and where to GET it can anyone tell me ?mp3 support is on shaky legal ground so the UBUNTU people decided not to include it. you can still get it by going
Code: [Select]sudo apt-get gstreamer0.10-plugins-uglyin a terminal.I think you just need to download lame and install it.
http://lame.sourceforge.net/index.php isnt LAME just for ENCODING? audacity for ubuntu will play mp3 files; hope this helps
it's a FREE downl;oad and self install

1285.

Solve : Ubuntu free cd?

Answer»

Apologies if this has already been over-reported.

Canonicals is currently supplying a free copy of Ubuntu VER 7.04 on cd, free shipping too. Handy for those with dial-up connection.

Register/sign-in and request a copy here..

You can also download Ubuntu...if you have dialup, you probably don't WANT to download. It's a great deal for the countless dialup users who want to try linux.yeah i got one of these to put on my dead computer. It was very slow and then it FROZE lol. i tried it about 10 times and then i let my friend use it too and it did the same thing on his. and he had a cleared hard drive and everything, he just didnt have an OS. Quote from: Dusty on August 13, 2007, 09:15:02 PM

Apologies if this has already been over-reported.

Canonicals is currently supplying a free copy of Ubuntu ver 7.04 on cd, free shipping too. Handy for those with dial-up connection.

Register/sign-in and request a copy here..


I E -MAILED A PERSONSTOGET A COPY OF UBUNTU IRECIEVED 10 NOT ONE OF THEM WOULD LOAD IN THE COMPUTOR MAJOR FILES MISSING MY NAME& ADRESS IS BELOWDOUGLAS BAKER 1617 E, AVE, R APT52 PALMDALE ,CALIFORNIA93550PLEASE
SEND ME A GOOD COPY THANK YOU SINCERLY DOUGBAKER (captgraybeard)Ummm..........if you have good internet you can download it........I have, so far, had no problems with Ubuntu 7.04. The Live CD requires a minimum of 256MB Ram, try installing it on anything less and it's a no-go. There is an alternative installation program for systems with <256mb.
1286.

Solve : Need a linux for a stability test on gateway M520 Mboard?

Answer»

i need a version of LINUX that i can install on a USB laptop HDD, and then put the hard drive onto the laptop board so i can test its stability, i do not have an OPTICAL disc drive for the laptop, wont have one for another two weeks most likely. i need a OS that i can install from this computer, AMD athlon 1.1ghz, 512mbs of DDR266, 80gb primary seagate HDD, alimagik chipset, on an ASUS A7A266 MOTHERBOARD, onto a USB adapted 2.5" laptop drive, which i believe is a fujitsu MHV2040BH 37gb drive, once the OS is on the drive, im going to put it onto the laptop board and see if it will boot.www.kubuntu.com - they've got a live cd you could test with. There's no need to install anything.

1287.

Solve : BSOD on boot?

Answer»

im not sure if this is the right place to POST this, im sure you are thinking its not from the title but let me explain
recently my windows xp computer crashed and everytime i try to reboot it gives me the BSOD saying there is a registry error. ive tried safe mode, RECOVERY console, setup cd, bootdisks, and all sorts of other windows boot options. so heres were it gets linux related.
a year or so ago i made some linux live cds just to play around with. so i got the idea that maybe if i could get one of them to run i could access the windows harddrive(i beleive its called mounting the hdd) and transfer all my important files onto a external hdd. the problem is i know nothing of linux. i have gotten a Knoppix std live disk to run but i dont know where to go next.
so can anyone out there HELP me out, or explain if they have a better solution? im desperate...sure, we can help.
pop in the linux cd. I'd recommend openSuSE but since you already have knoppix, you could go with that. boot into the live cd environment. browse around inside the operating system for a little bit so you can become a little more familiar with it.
open up the command line window.
login as root by typing "su" and hit enter (you will have to refer to the knoppix website if there is a password for root)
create a folder for the windows drive by typing "mkdir /windows/C"
mount the windows hard drive (if it's not already mounted) by typing "mount /dev/hda1 /windows/C"
after the drive is mounted, use a cd creator program in the knoppix menu to COPY the files you want from /windows/C onto the cd.

note: you may have to run the cd creator program as root so that you can access the windows drive.

Good luck!
thank you so MUCH for the help! i mounted the hdd successfully.
the only problem is that now i cant seem to find a cd creator program on this knoppix cd. i do have a SuSE live cd but for some reason it fails to boot properly. so i went back to the idea of transferring it to an external harddrive, i even figured out how to mount that and have tried to copy the files over (without success)
i tried "cp /windows /usbfolder" but get the error "cp:omitting directory '/windows'"

do you recommend continuing my pursuit of transferring via usb harddrive or should i find a live cd that has a cd creator program on it?
It should work to just copy it onto your external drive.
can you browse your windows drive at all? or the external drive? one of them could be damaged.
Try copying one folder at a time ie. cp /windows/C/My Documents /media/usbdrive
remember, you have to use the entire pathname when using any command. I'm not sure how knoppix sets up removable media, but suse puts them in the /media folder, which means you have to type /media/usbdrive to copy

1288.

Solve : Windows Vista and VisionFS on UNIX SCO?

Answer» HELLO everybody, how could I do to see the files published on my SCO UNIX Server using the VISIONFS interface from a WORKSTATION that runs Windows Vista.

I have been tried to do the same PROCEDURE that Windows XP and olders Windows OS, but in Windows Vista I couldn't see those shared files and folders.


Please Help me....
1289.

Solve : How To configure MySQL in Linux?

Answer»

How To configure MySQL in Linux pls helpwhat exactly are you TRYING to do?i want to use linux for coding in java and also CONNECTED to mysql
I've never heard of ANYONE using Java with MySQL, but I suppose it should be possible. Most people use PHP with MySQL.

what exactly are you trying to do?

1290.

Solve : I'm thinking about switching to linux...?

Answer»

I'm a rather novice LINUX user, too. I started on Ubuntu a couple years ago, dual booting it with Windows Me (*barf*). After upgrading to Windows XP (*still barf*), I decided to try gentoo linux, and it is really nice, too. It's not quite as intuitive as Ubuntu, but it's a little more customizable, I think. I currently dual-boot gentoo and Windows XP.wow. this is an old topic... who resurrected it? and why?
opensuse all the way, then beos.Quote from: michaewlewis on July 25, 2007, 07:57:29 PM

wow. this is an old topic... who resurrected it? and why?
opensuse all the way, then beos.

It only takes one n00b who doesn't look at the date before replying to resurrect a thread...

I am using Ubuntu 7.04 since a week ago. I'm feeling very confortable. For now I go to Windows only by some special reason, like a gameQuote from: antalves on July 28, 2007, 12:44:07 PM
I am using Ubuntu 7.04 since a week ago. I'm feeling very confortable. For now I go to Windows only by some special reason, like a game


Same here. But I've been using Ubuntu for a little longer...haha.

After using it for a little while you START figuring out how to use it quite well.Quote from: contrex on July 27, 2007, 12:44:16 PM
Quote from: michaewlewis on July 25, 2007, 07:57:29 PM
wow. this is an old topic... who resurrected it? and why?
opensuse all the way, then beos.

It only takes one n00b who doesn't look at the date before replying to resurrect a thread...


how mature of youQuote
how mature of you

I presume you're being sarcastic, and mean the opposite. What's immature about noting a simple fact?
Quote from: contrex on July 29, 2007, 11:48:23 PM
I presume you're being sarcastic, and mean the opposite.
lol. i take it back. that COMMENT alone made my day.I have a system CONSIST of three utiliys running with Red Hat (32 bit ) and core (64 bit ) with Netapps and workstation running Windows xp .

I feel its very conpact network ,I have try many versions of Linux but never like RedHat,so i recommand you to get redhat !

goodluck
Ahmed
1291.

Solve : Command Problems?

Answer»

I am running a SCRIPT with an IF statement but I need it to wait 45seconds before it starts. But with the sleep there it works but skips my if statement for some REASON and shuts down even though firefox is open. Any thoughts?

Code: [Select]#!/bin/sh --
sleep 45s
if [ ` pidof firefox-bin` ]; then
sleep 15s
fi
sudo /sbin/shutdown - h now
exit 0 its because you do not have an else statement. execution continues to the shutdown portion after your 15 seconds sleepHow would I write the else statement? I am pulling a brain fart here because I just want it to wait 45 seconds and then if firefox is open then check back in 15 seconds and if it is not there then shut off the device.....

Did I forget to mention I am also fairly new to linux..

Thanks,Code: [Select]#!/bin/sh --
sleep 45s
if [ ` pidof firefox-bin` ]; then
sleep 15s
else
sudo /sbin/shutdown - h now
exit 0
fi

please read Now the only problem is that it DOESNT shut the device down when firefox closes... check with PS -ef |grep firefox after firefox closes to see if there are any more firefox processes... I assume you want to shutdown the whole computer system? Sorry for the delay, I have been BUSY with flooding in our area. I do want the entire system to shutdown and no I did not see any firefox processes.

1292.

Solve : How to disable password saving??

Answer»

We just upgraded the emulation tool for the users (we are now using esker software...smarterm 12.1). The connection type is an SSH connection, but we do not want the users to be able to check the box to save the user id and password...we want them to key it in everytime. Does anyone know how I can disable this feature? I attached a screenprint of the login box...and you will see there is a save box with an option to check it. We have passwords expire every 90 days, so giving the user the ability to store it will only cause mass confusion when the passwords change. Please let me know....thanks.

[Saving disk space - old attachment deleted by admin]Is this really a linux question? Tell us more about the system you are using. If you're using Windows, you might want to ask this question in the windows forum, not the linux forum.Also the program will need to support disabling the save password feature, if it doesn't there isn't a lot to do about it.
Where and how are passwords actually saved? Are they at a central location (server) that the admin has complete control of?LOOKING at SmarTerm I see its a Windoze SSH (and VT100, 3270) client.

If you don't need the EXTRA functionality to connect to IBM 3270 and VAX VT100 terminal servers, then why not delete it from the users' PCs, and use an application that doesn't have the option to save passwords.

Correct me if I'm wrong, but I've not yet found an option to save passwords in PUTTY which is a FREE Windoze ssh client.

1293.

Solve : ubuntu theme install?

Answer»

hi everyone. im very new to linux. as in im a COMPLETE newb. i need help installing a theme. i downloaded the stuff from gnome-look.org. any help is appreciatedyou go to the theme section of the PREFERENCES menu, then click 'add theme'. then select the compressed archive that you got off the interweb.if the add theme doesn't work
move the file to .themes in your HOME directory
something like this in the terminal
mv filename ~/.themes
you may have to type sudo before that I can't remember.
then go into system>preferences>appearance...oh YEAH un tar that baby first.

1294.

Solve : need help with mount and fdisk?

Answer»

i am TRYING to install linux to a free 10GB partition i made using partition magic - i also made another 500 mb swap file partition with p. magic and then i run FDISK /dev/hda and the output says there is no valid partition table. then if u hit "p" to print the partition table i get the following output: "disk /dev/hda: 685 MB..."
i am sure its reading my cdrom drive because i have a 100+ GB hdd. my c: partition is 90GB formatted with ntfs and is loaded with winXP. does anyone know how i can mount my HDD to /dev/hda ? THANKS if anyone repliesanyone please? any suggestions are welcomeWhich version of linux are you working with?DSL linux (4.5.2) creates mount points for the devices it finds in /mnt. Makes it easy to determine where a device file actually is. As an alternatve try fdisk /dev/d

1295.

Solve : Removing GRUB?

Answer»

Last year when I first found out about Linux and started to look into getting myself a copy, I'm sure I read somewhere that once Linux is installed on a computer the GRUB Boot-Loader can't be removed.

So I was wondering if it's true?
If I install Linux and DECIDE I was to switch back to Windows is it a guarantee I will be able to remove the GRUB?Any software change you MAKE on a computer can be undone, period. I can guarantee you that GRUB can be removed. Actually the mere act of reinstalling Windows will remove GRUB because Windows will install its own boot loader.Thanks!Getting windows to re-install the MBR will remove GRUB.

Search the forums here, cos I REMEMBER someone telling me that FIXMBR has to be run from the recovery disk or something.Quote from: banjo67xxx on September 02, 2007, 04:35:33 PM

Search the forums here, cos I remember someone telling me that FIXMBR has to be run from the recovery disk or something.
That isn't necessary if you install windows, windows will always install its bootloader. Fixmbr is needed if you have windows and Linux installed in a dual boot situation and want to remove grub.
1296.

Solve : GRUB stage1.5 error 18 then 25... URGENT?

Answer»

Today i started up my computer and it had this message for me at the grub screeen.

GRUB stage1.5 loading...
error 18

I restarted it and it just said the top line, then hung
Then when i left it for a minute it came back with error 25.
. I read the troubleshooting manual on this, but i have been using this computer for a year now and it nevver had this problem. can anyone shed light on what could cause this?

edit: restartwd one more time and it worked. still, i would like this not to happen again and would like to find the problem.

edit again: Now this is urgent. It kept saying error 18 and wouldnt let me in every time after that. now i tried aagin one more time it says error 16. i really need the data off this disk so this is urgent now.I get errors like this because my motherboard is faulty.

Here is a list of what the errors mean
http://www.gnu.org/software/grub/manual/html_node/Stage2-errors.html#Stage2-errors

Error 25 sounds like faulty disk drive (or in my case IDE bus), and error 18 sounds like a random error caused by the same.

I keep powering my system off and on until it boots properly and it does, but I suggest you take a backup ASAP. I'm currently looking for a new mobo as its starting to get tedious.funnily enough, this is exactly what i am doing. i am taking backups, burning my MUSIC to dvds and such. But are you sure that it's the motherboard? I mean, my motherboard is a cheap one but i expect it would have more of a life than one year. I am not saying your problem is the motherboard. As I said it could be the IDE/SATA cables or the HDD too.

Quote

Error 25 sounds like faulty disk drive (or in my case IDE bus), and error 18 sounds like a random error caused by the same.

Because my computer has other symptoms such as broken onboard audio, broken onboard LAN, broken floppy, unreliable USB, I'm sure my problem is the mobo.Thankyou very much, i will check out the cables later. currently the machine is BEHAVING well so there's no PRESSURE.
1297.

Solve : Scripting In Linux?

Answer»

I have been using Linux for a few MONTHS now and can get AROUND fairly well but I am still new to the different languages out there for linux. I am currently using Ubuntu 7.10 and am in need some some scripting help. I am trying to convert a VB script to python or perl. The only main reason i am trying to convert it to one of these languages particularly is because I am trying to learn them. This way it is a learning experience and helpful one. But I have my script SHOWN below. Is there a way to convert these real easy or is someone proficient enough to help me convert this over?

On Error Resume Next
'#####################
'Wait a short time to allow the process to start, assuming it's an auto-launch process.
'Monitor for the process existing.
'If the Process exists, continue to monitor; waiting 2 seconds between each check
' If you don't put a 'wait' in there, it'll hog 100% of the CPU just to monitor.
'If the Process does not exist, exit the monitoring process, and logoff the user
'##############################

Set sho = Wscript.CreateObject("Wscript.Shell")
strComputer = "."
strProcess = "iexplore.exe"

i=0

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objShell = CreateObject("Wscript.Shell")

'wscript.sleep 36000 'wait several seconds before starting this script to allow process time to launch

Do while i=0
wscript.sleep 1200 '1=1ms, so 600=1 second

Set colProcesses = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = '" & strProcess & "'")

If colProcesses.Count = 0 then
sho.LogEvent 4, "REMOTE Session Terminated"
i=1
Else
'Do Nothing, it's a running process
End If
Loop

sho.run "shutdown -l",0,False 'This time it's FALSE because we want the script to exit regardless of the logoff.
wscript.quit
you should learn the basics first before trying to do things like this. You can start with Python, as its very easy to learn and the syntax is very easy to read. Start by going to Python doc site. Take the tutorial, learn the reference libraries...etc...get a good Python book also and learn by practicing.
by the end of it, you should be able to convert that vbscript to Python. Thank you for the link I am most definitely going to go through the tutorials but unfortunately this is something I need help with a bit sooner than what my learning abilities are going to allow. On a more normal basis I like to have at least a basic knowledge of what I am working with to help but unfortunately this time I don't have time.

Any help would be great.Ok I have found after much reading and frustration that I have been making things harder than what they need to be. I have learned that BASH is much like DOS and i like dos so I have been working with that and have came up with the script below but when firefox is not open it doesn't shut down. Any thoughts?

Thanks,


SCRIPT:

if [ 'pidof firefox-bin' ]
then sleep 15
else
shutdown -f
fi


short and sweet. shutdown is used for shutting down the system. If you just want to "close" firefox, issue kill command against the pid of firefox. the shell is much like DOS, and better.

1298.

Solve : how to disable right click in ubuntu 6.0 or higher version?

Answer»

hello guys.. does anyone KNOWS how to disable right CLICK in UBUNTU?
or does it possible to disable right click in ubuntu? if it is possible, can anyone help me how to do it?
i would REALLY appreciate your help.

tnx a LOT!
http://ubuntu-utah.ubuntuforums.org/showthread.php?p=4415111

1299.

Solve : Ubuntu/beryl question?

Answer»

I'm trying to load the beryl packages on my ununtu installation. PROBLEM is, I have a intel video chipset on the laptop that I'm trying to install it on. The only video drivers I've ever found for beryl are for nvidia or ati. anyone know if it is possible to install beryl on an intel chipset, and if so how?sorry, I've never INSTALLED a window manager on linux. Ok, I guess I've tried, I've tried installing x on smoothwall, but never got far because ..... I LOST interest. If I wanted to use beryl, I would find a distro that already had it.
You could ask the people at www.linuxquestions.org/questions for BETTER advice. Or if there's a forum on beryl's website, you should try there FIRST.

1300.

Solve : su command in shell script?

Answer» HI,

I WOULD like to write a SHELL SCRIPT which confirms whether the user has su'd to $USER if not exit.

how do i write that?