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.

learn more… | top users | synonyms

5
votes
3answers
6k views

Clone Windows partition from Linux

So I've got a 120 GB Intel SSD, with a partition for Windows and another for Ubuntu. Ubuntu is my main OS, Windows is for gaming. But now I'm looking to install Mac OS X, and I'd like it to be on the ...
4
votes
3answers
2k views

Multi-core and copy speed

What i want to do is to copy 500K of files. I want to copy within server from one destination to another.It includes emails mostly so many small files. Its over 23 GB only but takes so long (over ...
0
votes
1answer
554 views

Bacula daemon not listening properly

I set Bacula up a few days ago, and everything seemed fine. I noticed today that jobs were failing, and upon investigation, it looks like bacula-sd is just not listening on the port it should be ...
1
vote
1answer
128 views

What's the oldest supported program for Linux? [closed]

How far back does Linux's backwards compatibility extend?
3
votes
2answers
482 views

Is there something like the unix command “top” for CUDA?

More generally, how can you check the current status of your GPU? (current number of threads running, memory state, and so on). (I'm using linux, so Windows-only solutions, while interesting, won't ...
1
vote
1answer
7k views

Under ISPConfig 3 no account can login since resetting my MySQL root password

I am running ISPConfig 3 under CentOS and I had to manually reset my MySQL root account password yesterday. Since resetting the password I haven't been able to login to ISPConfig's web interface with ...
2
votes
1answer
466 views

Rendundant & versioned filesystem [closed]

Introduction Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it! (Linus Torvalds) That was a long time ago (well... 1996!). ...
0
votes
2answers
196 views

Remotely shutting down the system (restarting) and instant booting

Is there a way to perform a sort of "hard reset" on a remote system (running linux)? The issue i'm facing is related to one of the hard drives dying during I/O and becoming inaccessible - after ...
3
votes
4answers
8k views

GRUB error: unknown filesystem

I replaced my old laptop drive which was win7 and ubuntu dual boot with an SSD. Now I connected the old drive through a USB adapter and I want to boot from it. But this comes up: unknown filesystem ...
2
votes
1answer
348 views

Is there a way to automatically prevent sleeping during the day in Linux?

I wouldn't mind if it would automatically sleep after n minutes of inactivity in the evening and night, but during the day I'd like it if it wouldn't do that, to make sure it doesn't accidentally kill ...
2
votes
3answers
3k views

Which Kernel version does Ubuntu Install on 11.10?

On a clean install which kernel comes with 11.10? And if possible which other distros have the same or similar one so I can test a hardware failure I keep having on a clean install. Update: I didn't ...
5
votes
2answers
3k views

How can I disable the wheel-button paste feature in Ubuntu?

In Ubuntu, the mouse middle-button (wheel-button) pastes the clipboard contents when clicked. When I'm scrolling it keeps pasting things between my codes and most times I don't notice. I can solve ...
1
vote
0answers
1k views

Ubuntu Update Manager package operation failed

I"m trying to update my Ubuntu, and previously my internet connection went out when trying to update, now all i get is this error message: Package operation failed The installation or removal of a ...
1
vote
2answers
143 views

How to only allow a program to write to a directory if it is mounted?

I have a program which writes some files to a directory. My problem is that if the directory isn't mounted for some reason, the program writes to the directory anyway, but the files end up in the ...
1
vote
1answer
879 views

How do I stop Spotify from crashing?

I am using Spotify on wine on Linux (Ubuntu). It worked fine before, but after I uninstalled and re-installed it, for some reason every time I run it, it doesn't work. It crashes after I log in. When ...
0
votes
1answer
197 views

Can I use bash features such as word completion and scrolling in SFTP?

Is it possible to use the bash features such as word completion, reverse search, scrolling, etc. in SFTP? When I try the scroll feature with the up-arrow, it always writes the symbol ^^^.
15
votes
3answers
17k views

Continuously monitor files opened/accessed by a process

lsof -p 12345 will list all the files opened by process whose pid is 12345 but only for a particular instant of time. How can we continuously monitor a process from the start to end(until process is ...
1
vote
1answer
111 views

Software like xclip that comes standard on just about all Linux Distros with X?

I have an application that needs to access the clipboard on *nix OSs but I do not have access to the x event loop because of how it works. Therefore I need to send a command to another application to ...
5
votes
1answer
3k views

I believe I've deleted MySQL root user, how do I recreate it?

I'm running ISPConfig on CentOS and I don't know how, but I don't seem to have a root mysql user. I can stop mysqld with /etc/init.d/mysqld stop Start it again and skip grant tables mysqld_safe ...
3
votes
2answers
334 views

Linux: Howto get same output filenames of batch conversion with different extension?

I am using Timidity to convert a lot of midi files to mp3. I was wondering if there is a standard way of specifying a output pattern so that it converts all the *.mid files to /path/*.wav I ask this ...
2
votes
2answers
856 views

does 'noatime' make sense for a read-only filesystem?

mount -o remount,ro,noatime As the title says - if the filesystem is actually read-only, does noatime have any affect?
1
vote
0answers
484 views

LINUX [UBUNTU]: screenlog.0 - modify path

I have a screen command like this: screen -A -h 1500 -m -dmS SKY-001 /home/SKY-users/SKY-001/./ ... I'd like to start the output logging and save the screenlog.0 file to /home/SKY-users/SKY-001. ...
0
votes
2answers
3k views

How can I remove a directory with rm - rf?

I try to remove a folder with rm -rf foldername … but it says rm: cannot remove folder :is a directory. What's wrong?
9
votes
1answer
6k views

move the gnome-panel to second monitor (Linux Mint 11/12, Gnome 2 & 3)

Introduction I'm new to Linux Mint but I do use Linux since 2003 (mostly debian and ubuntu). Up to now it was always possible to easily move a panel in Gnome to where ever I wanted it by pressing ...
0
votes
2answers
460 views

How to repeat each line of a file, from the Linux command line?

How to make a file like: one two three ... into: one one two two three three ... I'm thinking this must be possible with one simple Linux command. If my editor had block selections or macros ...
3
votes
4answers
1k views

What are the benefits of using Linux OS to develop a PHP based website?

in a PHP dev environment I recently visited, the lead dev was adamant that they use Linux on their machines for Zend development. I personally use Windows and have the same results during ...
2
votes
2answers
2k views

How to start wuala on the linux commandline with auto login

When i start wuala on the linux commandline like this, it logs me in and the folder is mounted: wualamcd login username password enableAutoLogin I can shut it down from another console typing ...
3
votes
1answer
1k views

How do I umount device that has been mounted twice

I have a /dev/sdf mounted to /mnt/db and accidentally mounted it again to /mnt/db2 (I intended to mount /dev/sdh). Is there any way to umount /dev/sdf but only for the 2nd mount? The /mnt/db ...
3
votes
1answer
775 views

Any way to restart copying of a large file from where it was interrupted

at work, I sshed to a remote server at another location of my company. I generally use scp to copy files from/to remote server from local Ubuntu machine i work on. Recently while I was copying a file ...
1
vote
1answer
454 views

Why does Album Cover Art Downloader (Linux) not find any album cover art?

I installed the Ablum cover Art Downloader on my OpenSuse11.4 laptop, but no matter how simple I make the search terms, the program does not find a thing. I already tried all combinations of ...
8
votes
3answers
9k views

Linux: How to monitor incoming pings

Can I somehow monitor incoming pings on a Linux machine? netcat doesn't seem to support that.
1
vote
1answer
329 views

Not having to type the passphrase in debsign

I'm building a debian package ( .deb ) with a continuous integration server ( Hudson ). It's work fine for building unsigned package. But i want my hudson-user to be able to sign the package ...
1
vote
1answer
771 views

Computer without Graphic Card, Asus P8P67

I'm having some requirement to built a computer without Graphic Card (no inboard, no external, nothing). The OS installation (Linux) and setup will use an external Graphic Card for sure, but after ...
0
votes
1answer
569 views

How to fork two process in inittab without waiting one to finish?

I know how to fork to process. That is not a problem. But my issue is a little different. Example inittab line: ::respawn:-/usr/bin/python /path/to/script.py && /bin/sh -l -c 'chown ...
52
votes
1answer
93k views

How do I unzip a tar gz archive to a specific destination?

I want to unpack a .tar.gz file to a specific directory. The archive file is in /root/Documents. I want to unzip it into /root/Desktop/folder. The folder structure in zipped file should be preserved ...
6
votes
3answers
5k views

Query what Linux/Unix distribution you're using (from the command-line) [duplicate]

When using an unfamiliar Linux/BSD/Unix computer (e.g. by SSH) from the command line, how can you tell what distribution (and what version of that distribution) you're using? Some options I've tried: ...
3
votes
1answer
53 views

Synchronise configs on all my systems

I am looking for a tool that would "make all my (linux) systems look the same". What I mean by this, is that I use many programs that put some kind of global config file in my local home folder. Say ...
1
vote
1answer
704 views

Password Protect file or lock file from command line

I need to lock a file where if anyone tries to open it then it requires a password. I would like for even root to have to type in a password different from the root's password itself. I'm not sure ...
1
vote
3answers
699 views

Simple Linux CLI tool to dump Firefox bookmarks to stdout?

Sometimes I would like to find a bookmarked URL for pasting it to a friend to Jabber (mcabber). Loading Firefox for that, then immediately closing it seems hugely overkill, I'd rather have a Linux CLI ...
8
votes
2answers
3k views

Dropped ssh/X session, how to pickup where left off?

I am VPN from a Linux box to another. I log in to the other box with ssh -X. I open an X window/program in an attempt to do a software installation. The painful truth is that this software cannot be ...
0
votes
1answer
256 views

How to configure root kde same as user?

Eclipse looks completely different when run under root compared to my user. It's like kde wasn't setup for root upon installation. I'm running Suse 9.3 Pro. How do I configure root kde so that ...
0
votes
0answers
220 views

How to install only GRUB bootloader and put chainloader to load automatically Windows?

I broke my boot partition but Windows is still installed and unaccessible. I had only Windows installed on my computer before. How can I install GRUB and chainload it to automatically load Windows? ...
0
votes
4answers
547 views

Minecraft server shortcut

I'm new here and I couldn't find this anywhere else. I wanted to write a quick bash script so I could stop having to copy/paste the following code into my linux server. screen -S MineCraft -d -m java ...
5
votes
2answers
15k views

Rescuing a hdd with bad sectors: dd vs gddrescue

Somewhere on the internets I read that gddrescue is superior to dd at least in terms of being able to distinguish between the amount of disk reads performed on a troubled sector. Is this really the ...
1
vote
1answer
716 views

No space left on device with encrypted disk that takes all space

I use Ubuntu 11.04. There's no space left on device. I have encrypted the disk that takes up space (maybe it's good to disable it, but I don't know how). In shell, I get this message: No space ...
3
votes
3answers
7k views

How can I prevent my screen from going black when watching movies in VLC with GNOME3?

In the GNOME 3 options, I set the screen to go black after one hour. I want more – 2 hours, or even "never". Is this possible? Alternatively, how could I set VLC Player so that the screen does not ...
2
votes
0answers
57 views

How to re-install kubuntu after log error

I had earlier tried to install Kubuntu 10.10 on my machine which runs Windows XP. However, the installation got aborted due to some reason and my machine restarted. Then afterwards when I tried ...
1
vote
3answers
461 views

ssh to home computer without real IP

I have a PC running on Windows 7 Ultimate x64 and I want to connect to it via ssh. I've found some solution on the net and installed sshd service, but I cannot connect to my PC because I have no real ...
3
votes
2answers
2k views

Gnome annoying shortcut keys

Gnome have a lot of system-wide keyboard shortcuts that have conflict withs application-wide keyboard shortcuts. Windows avoids such conflicts by using a dedicated key (super/window/OS key). For ...
0
votes
1answer
735 views

Linux - real root vs normal root

Is there such a thing as a normal root and a real root in Unix/Linux? I am doing a buffer overflow project (in Ubuntu 11.04) and I invoke /bin/zsh and /bin/bash separately. In both cases $whoami ...