Questions tagged [linux]
A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.
58,872
questions
2
votes
1
answer
176
views
Weird scp behavior
I am trying to scp a file but it returns immediately with the DATE and not file is copied:
[cosmo] Downloads > scp V17530-01_1of2.zip bryan@elphaba:Downloads
bryan@elphaba's password:
Sat Apr 10 ...
1
vote
2
answers
1k
views
Dhcpd Daemon is trying to lease itself?
I have a Slackware Linux 13.0 box with two interfaces, eth0 and eth1. I have set this box up to be on the 192.168.1.0/24 network, with subnet mask of 255.255.255.0.
I am trying to run a dhcpd server ...
0
votes
3
answers
6k
views
why linux says cannot stat
I am in some directory on my linux hosting. I want to move all files from relative subdir1 to dir2, dir2 being under root dir. So I type
mv ./subdir1/*.* ~/dir2/
but it doesn't work it says it
...
4
votes
2
answers
4k
views
Encryption setup for Linux NAS?
There's a bazillion hard disk encryption HOWTOs, but somehow I can't find one that actually does what I want. Which is:
I have a home NAS running Ubuntu, which is being accessed by a Linux and a Win ...
1
vote
1
answer
703
views
GNOME Screensaver Widgets
Is there a way to add widgets to a Gnome screensaver? I think this can be done with KDE 4, but I've never liked KDE very much. I'm a programmer and comfortable with writing code if needed.
I'd like ...
0
votes
3
answers
2k
views
How can I move my partition in GParted?
The following is a screenshot of GParted running on my system. There is a small unallocated space at the beginning of the list. This 1 MiB space is kind of annoying and I'd like to merge with any ...
2
votes
2
answers
9k
views
Schedule a cron job ev X minutes, but exclude it from certain hours in the morning?
Is it possible to make a cron job run say, every 20 minutes, but make it not run for say, 1-4 in the morning.
1
vote
2
answers
1k
views
Playing HD video accelerated by GPU? (Linux)
I know that this laptop (Asus UL30A) does support playing HD material with the help of the GPU on windows. The question is how can I do this under linux? The CPU load as is implies that this is not ...
0
votes
2
answers
288
views
How many file descriptors accessing a given file?
On linux, is there a way to count the number of file descriptors open to a some file?
3
votes
1
answer
3k
views
CentOS, sudo Doesn't Accept root Password, but Logging in as root Works
I am new to Linux and I have CentOS running on a dual boot system. I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened ...
1
vote
2
answers
391
views
How to boot Linux and Windows - Windows as Default OS
I have a dual boot system that works great. I have CentOS (grub) and XP 64 on one disk and XP on another disk. The Linux boot loader asks me which system to boot, but if I reboot and forget to hit a ...
0
votes
1
answer
2k
views
Linux group permissions getting overwritten by owner
I am not a user of Linux, but I am encountering some permissions problems with it that I hope someone can shed some light on.
Bit of background: A colleague of mine has a Linux box (running Debian I ...
5
votes
3
answers
3k
views
Forward all traffic from one IP to another IP on OS X
This is related to this question I just asked...
I have two IP address on my iMac I want to "bridge". I'm not sure what the proper terminology is... here's the situation.
My iMac has a firewire ...
5
votes
1
answer
783
views
Would firewire networking be better than 100Megabit ethernet?
My office network has a fully switched 1000Megabit ethernet network. I have an Apple iMac with a Gigabit NIC and FireWire, and a Compaq laptop with a 100Megabit NIC and a 4-pin FireWire interface. ...
2
votes
3
answers
8k
views
delete key on linux does not work
My delete key does not work in ubuntu, it does nothing. I understand that this is a common problem, but I could not solve it with the information I found elsewhere.
I ran xev.
Pressing the 'a' key ...
30
votes
9
answers
87k
views
How can I count the number of folders in a drive using Linux?
I need to organise an external HDD such that there is no more than 500 folders on it. Ubuntu's "Properties" pane shows only the file count, not the folder count.
Is there a simple command line that ...
23
votes
4
answers
17k
views
Make wget download page resources on a different domain
How do you use wget to download an entire site (domain A) when its resources are on another domain, (domain B)?
I've tried: wget -r --level=inf -p -k -E --domains=domainA,domainB http://www.domainA
6
votes
3
answers
16k
views
regular user to admin user in linux?
i've got a regular user i want to turn into admin group so he can have same privileges as a root.
should i just change the GID in /etc/passwd and /etc/group or should i use usermod/groupmod?
34
votes
9
answers
21k
views
Any beat detection software for Linux? [closed]
Amarok 2 can search through music collection using ID3v2 tag's 'bpm' field. That would be very nice to retag the entire music collection so I can find the 'mood' of the track I like.
However I've not ...
3
votes
2
answers
1k
views
No mysql password under linux?
I was told that mysql user, similar to root user, by default "has no password".
Not an empty password, but rather "no password". I wasn't aware this situation was possible - I thought every user on a ...
14
votes
6
answers
19k
views
MySql client for Linux [closed]
What MySql client are you using for Linux. I currently use PhpMyAdmin and the Mysql Query Browser but I would like something similar to Toad or HeidiSql that I use on windows. One with SQL code ...
24
votes
7
answers
35k
views
How can I open an .mht file in linux (Ubuntu)?
How can I open an .mht file in linux (Ubuntu)?
2
votes
2
answers
2k
views
Is there a Unix/Linux platform equivalent to Telligent Community?
Telligent Community combines blogs, wikis, forums, and file-sharing capabilities into a single product with single sign-on, using all Microsoft technologies. Is there an equivalent offering that runs ...
3
votes
1
answer
2k
views
Understanding top output in Linux
I'm trying to determine the CPU usage of a program by looking at the output from Top in Linux. I understand that %us means userspace and %sy means system/kernel etc. But say I see 100%us. Does this ...
1
vote
3
answers
5k
views
Automatically mounting windows share in Fedora 12
I'm trying to automatically mount a windows share in a Fedora 12 instance (FC12).
When I manually mount things work:
mount -t cifs //nas01/servers -o username=guest,password=myPassword /mnt/nas01/...
1
vote
1
answer
138
views
Consistent newlines in FTP mode for text files?
I use Linux for hosting and editing code, but there are others at work that are using Windows. Sometimes they make the files have \r\n in them, and it's causing problems with version control.
Should ...
1
vote
2
answers
3k
views
Linux: No fonts match '9x15' when starting emacs
I get the message
No fonts match '9x15'
when trying to run emacs and a linux box. I messed something up a while back, but I do not know how to fix this issue. Any ideas?
2
votes
2
answers
5k
views
should i install LVM in ubuntu server?
should i install LVM in ubuntu server?
i have only one primary partition.
what happens if i dont install it?
2
votes
1
answer
204
views
use network drives as mount points during installation?
is it possible to use network storage locations as mount points during installation?
cause i want to separate system (ubuntu) with data (personal files).
eg. if i have 5 computers i don't want to ...
0
votes
3
answers
417
views
C++ program to make linux Ubuntu clone windows partition?
I want to write code in Dev C++ so that when i execute in Ubuntu 8 , it clones my windows 7 from D: partition to its child partitions E:,F: ...
i have made my partitions of equal sizes and i have ...
2
votes
2
answers
4k
views
different folders in a partition as mount points?
i want to have 2 partitions. one is called system. the other is private.
in the private partition i've got some folders i want to mount into system as system folders.
folders in private:
- www
- ...
2
votes
5
answers
5k
views
ubuntu 64 or 32 bit for macbook/vps?
i've got macbook pro and wonder if i should use 64 or 32 bits ubuntu server?
and then i've got a vps not hosted by med. how do i know what version to choose?
how do you check how many bits your cpu ...
3
votes
1
answer
1k
views
fakeroot - safe to have on systems?
I had never heard of fakeroot before but I was compiling a package that wants it as a dependency. The man page tries to be reassuring but should I be comfortable with this on my systems?
8
votes
1
answer
2k
views
How to tell Linux to explicitly swap out main memory of a suspended process?
I run a memory-hungry process (mkcromfs) which consumes more memory than I have physical memory on my latop, so it is paging and swappin and thrashing all the time and loadavg is about 2 (compcache is ...
7
votes
2
answers
30k
views
redirect output from dd command to /dev/null
How to redirect output from dd command to /dev/null?
10
votes
1
answer
9k
views
How do I configure NTLM authentication in Firefox on Linux?
Our IT department have NTLM deployed through the intranet servers.
I've set network.automatic-ntlm-auth.trusted-uris value in Firefox on some of the Windows machines and that works fine.
However ...
0
votes
4
answers
174
views
284 GiB of data, 217.4 GiB of space
I want to reinstall my OS, but I don't have the hard drive space to backup any more (I have a RAID 1 array, so I haven't done it for a while). In my /home I have 284.8 GiB of data, and I have a spare ...
8
votes
2
answers
9k
views
When to use egrep instead of grep?
I am preparing for a Linux terminal assessment now, I tried to Google and found most resources are referring to the basic "grep" rather than the more powerful "egrep" -- well, that is at least what ...
2
votes
1
answer
107
views
saving the results of the time command while discarding the results of the command being timed (unix)
I'm timing how long it takes to run a command foo. I'm looking to append the results from the time command to a file, and discard the results from the foo command. I tried the following, but it didn't ...
2
votes
2
answers
547
views
internal compiler error
I am getting this message:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> ...
5
votes
1
answer
2k
views
Mac sees mangled filenames from Linux SAMBA share
Certain filenames in my SAMBA shares from Linux are not getting transmitted properly. It's certain files in certain folders and it doesn't affect all folders or all files within a single folder. I can ...
6
votes
2
answers
832
views
Use hard disk image like a regular hard disk on Linux
If you have a hard disk image (including partition table, multiple partitions,...), is it possible to let Linux treat it as a regular hard disk?
By "regular hard disk" I mean I would like to have the ...
0
votes
1
answer
182
views
Linux: prevent VNC from swapping like mad
EDIT actually I'm not sure that it's swapping like mad: I've done more testing and it looks like there may some interference causing the noise that may be correlating with network usage. This is ...
4
votes
1
answer
156
views
Strange Ubuntu linux boot behaviour
I've recently installed Ubuntu 9.10 on a desktop machine as the only OS. If put in a hibernate, it wakes up normally, but if turned off completely, after turning on there is no "beep" sound from BIOS ...
2
votes
4
answers
2k
views
BIOS password and hardware clock problems
I have HP 6730b lap top. I've bought it used and installed (Gentoo) linux on it. BIOS is protected with password, and guy I bought it from said "I've tweaked BIOS from Windows program, it never asked ...
2
votes
3
answers
4k
views
How to run .exe file when linux system starts up?
i have generated .exe file from C file (ie filename.c ) after compiling in linux machine with -O option. I wish to know about how to run that .exe file when linux system starts up ?
148
votes
15
answers
668k
views
Manually closing a port from commandline
I want to close an open port which is in listening mode between my client and server application.
Is there any manual command line option in Linux to close a port?
NOTE: I came to know that "only ...
0
votes
1
answer
58
views
Linux Programs for pulling measurements from graphics
As a front-end developer, I'm often given graphics of web sites and told pretty much, "Make it work." I've recently started working on Linux 100% of the time and was wondering if there's any programs ...
32
votes
12
answers
33k
views
Efficiently remove the last two lines of an extremely large text file
I have a very large file (~400 GB), and I need to remove the last 2 lines from it. I tried to use sed, but it ran for hours before I gave up. Is there a quick way of doing this, or am I stuck with ...
1
vote
0
answers
1k
views
Trying to run QEMU with a file as hda
I'm trying to run QEMU and use a simple file on the host system as the guest's hard drive. Here's what I attempted so far:
$ dd if=/dev/zero of=/home/felix/vm/archlinux.img bs=1MB count=8192
8192+0 ...