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.

Filter by
Sorted by
Tagged with
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 ...
user avatar
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 ...
t0mm13b's user avatar
  • 723
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 ...
user avatar
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 ...
user avatar
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 ...
Dark Falcon's user avatar
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 ...
reprogrammer's user avatar
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.
Zombies's user avatar
  • 3,822
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 ...
Algific's user avatar
  • 1,173
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?
pythonic metaphor's user avatar
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 ...
nicorellius's user avatar
  • 6,715
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 ...
lions_leash's user avatar
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 ...
Andy's user avatar
  • 1,417
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 ...
Josh's user avatar
  • 9,757
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. ...
Josh's user avatar
  • 9,757
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 ...
Gauthier's user avatar
  • 1,235
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 ...
Dean Rather's user avatar
  • 2,707
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
Parsa's user avatar
  • 565
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?
ajsie's user avatar
  • 1,889
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 ...
kolypto's user avatar
  • 3,081
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 ...
ripper234's user avatar
  • 11.5k
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 ...
Hannes de Jager's user avatar
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)?
flybywire's user avatar
  • 4,060
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 ...
Scott Lawrence's user avatar
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 ...
Rayne's user avatar
  • 603
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/...
Martin Giffy D'Souza's user avatar
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 ...
Kristopher Ives's user avatar
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?
bbarnhart's user avatar
  • 111
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?
ajsie's user avatar
  • 1,889
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 ...
ajsie's user avatar
  • 1,889
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 ...
user avatar
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 - ...
ajsie's user avatar
  • 1,889
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 ...
ajsie's user avatar
  • 1,889
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?
Newton Falls's user avatar
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 ...
Vi.'s user avatar
  • 17.2k
7 votes
2 answers
30k views

redirect output from dd command to /dev/null

How to redirect output from dd command to /dev/null?
user avatar
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 ...
Gordon Wrigley's user avatar
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 ...
Malfist's user avatar
  • 3,049
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 ...
Michael Mao's user avatar
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 ...
John Kube's user avatar
  • 259
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> ...
hyperboreean's user avatar
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 ...
user avatar
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 ...
mtvec's user avatar
  • 403
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 ...
Weezy's user avatar
  • 535
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 ...
Slartibartfast's user avatar
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 ...
Slartibartfast's user avatar
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 ?
user avatar
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 ...
user avatar
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 ...
Zack's user avatar
  • 512
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 ...
Russ Bradberry's user avatar
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 ...
Felix's user avatar
  • 613