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

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
336 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
871 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
485 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
469 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
792 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
458 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 ...
9
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
337 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
779 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
576 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 ...
53
votes
1answer
95k 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
707 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
706 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
257 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
221 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
552 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
730 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
463 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
738 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 ...
1
vote
1answer
423 views

Making phpStorm default editor of php or other supported files in Ubuntu

How do I can make phpStorm default editor of php or other supported files in Ubuntu? Php storms is run using a .sh file.
3
votes
3answers
3k views

Do I have a bad SD card?

I'm trying to copy data from my computer to an SD card. After a few hundred megs, I keep getting the following errors in dmesg: [34542.836192] end_request: I/O error, dev mmcblk0, sector 855936 ...
0
votes
0answers
2k views

Clonezilla verify image fails

I have a HP Pavillion dv4 laptop that is in the process of eating its (second) hard drive due to heat issues (have since gotten it a thermal cooler pad). I purchased a 1.5TB external usb drive to ...
1
vote
0answers
118 views

Rosewill RAID Enclosure - Adding a Second Card

I have a couple of Rosewill RSV-S5 RAID enclosures. Each one comes with a PCI express card to act as the RAID host. However, on my host system (Slackware 13.1.0 running Linux 2.6.33.4) I'm just ...
0
votes
1answer
684 views

recover files from damaged HDD / corrupted MFT [duplicate]

Possible Duplicate: Recover harddrive data I have a 2TB Western Digital HDD (WD20EARS) and lately it worked very slow, I tried to copy some files and the speed was about 30kbps to 190kbps. ...
2
votes
3answers
650 views

total disk space among directories

I have this structure in my linux filesystem: /folder ...subfolder1 ......temp/ ...subfolder2 ......temp/ ...subfolder3 ......temp/ ...subfolder4 ......temp/ ...subfolder5 ......temp/ And I want to ...
3
votes
9answers
39k views

Why I cannot copy install.wim from Windows 7 ISO to USB (in linux env)

I need to make a USB bootable disk of Windows 7 ISO. My USB is formatted to NTFS, ISO is not corrupt. I can copy install.wim elsewhere but I cannot copy it to USB. I even tried rsync. rsync error ...
4
votes
1answer
252 views

linux 'screen' command - lowers process priority if detached?

If I run a program within a screen session, and then detach the screen - does the program have lower scheduling priority?
0
votes
0answers
548 views

Getting my USB wifi stick to work on Debian (squeeze)?

Hi, i recently installed Debian-squeeze to multi-boot with vista on a hp desktop. so i have the netgear WNA3100 wifi stick i use on Vista and am trying to get working with debian. i followed the ...
2
votes
2answers
3k views

Is there a tool to measure file difference percentage?

I am looking to compare two text files. Normally, I can just use diff to compare the two files to see the differences. This is great, except that I am more concerned with the percentage difference of ...
-2
votes
1answer
7k views

Changing binary file to readable text file

I have a program that creates a file that stores text like this: application/octet-stream; charset=binary now I need to convert this file to this: text/plain; charset=us-ascii I know this is ...
3
votes
1answer
1k views

ssh terminal session times out, how can this be changed

It seems after about 5 minutes an inactive ssh session is terminated. The server is Ubuntu. How can I change this?
14
votes
4answers
9k views

Can I have my terminal background change based on hostname?

I'd like to have my terminal background color change based on hostname. My reasoning for this is mainly to have and extra way to remind myself what server I am on, so I don't do something stupid. Is ...
34
votes
12answers
4k views

How do I remove a file in Linux whose name looks like it's ONLY a hyphen, as in “-”

I've tried rm -- - rm "-" rm "\-" rm \- Gave Perl a shot ~$ perl -e '$junk = glob("-"); chomp $junk; print "$junk\n"; `rm $junk`;' - rm: cannot remove `-': No such file or directory ...and... ...
2
votes
0answers
1k views

Ubuntu 11.10 Faulty install, how do I rollback or troubleshoot?

So stupidly I allowed the upgrade of Oneiric before I thought better of it. I have gone through the installation and it has evidently bricked. Errors observed: Eternally stuck at loading screen ...
2
votes
2answers
429 views

manipulation of mac os x installation package on debian linux

Can it be done? I need to create an installation package for OS X (10.5 and on) from a Debian machine according to configuration given at request time (this configuration will change configuration ...
3
votes
1answer
3k views

Ubuntu Run terminal as a different user

How do I run the terminal in Ubuntu as a different user than the one I am currently logged in as? This is what I want to do: Log in to user A. Open the terminal as user B. Open new tabs and terminal ...