Linux refers to the family of Unix-like computer 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

3
votes
2answers
676 views

Arch Linux - dhcpcd messages at login screen

I have a fresh installation of Arch Linux, and I've enabled dhcpcd on eth0. However, the message output for dhcpcd startup appears after the OS is booted up and is at the login screen, so I get this: ...
0
votes
2answers
1k views

In mdadm's /proc/mdstat, what does [U_U] mean?

I just set up a raid 5 array for my media server. I set got 2 new disks, and set up an array with one missing drive, to copy the data from the old single drive to the new array, and later I will add ...
1
vote
2answers
127 views

Does RM corrupt when interrupted?

So I may have kind of accidentally rm -r'd ~. Not to worry, I have backups! I did a quick file listing diff to copy across files that were removed, all is good. But... Does GNU rm corrupt files if I ...
3
votes
1answer
12k views

Cannot open software remotely XQuartz Xlib: Invalid MIT-MAGIC-COOKIE-1 key

I am using mac os 10.8.2, and connecting to a cloud computing cluster through Xquartz. I do: ssh -CY <uname>@serveradress and then ./<softwaretoopen> and it opens the software ...
7
votes
5answers
9k views

disable specific PCI device at boot

I've just reinstalled Debian on my Sony VAIO laptop, and my dmesg and virtual consoles all get spammed with the same messages over and over again. [ 59.662381] hub 1-1:1.0: unable to enumerate USB ...
1
vote
4answers
287 views

copy single big file to multiple smaller harddrives

If I got a single 1200 GB file and need to create a backup / copy it using 3 500 GB hardd rives, what's the best way to do this using Linux?
4
votes
2answers
328 views

Setting up a backup ssytem with replication on a JBOD

I have approximately 5, and soon to be 6 laptop hard drives that aren't being used at the moment. They are not the same size, so I'm not sure that LVM is the best case for this. I am looking to have ...
4
votes
2answers
156 views

Making custom, single-character directory mappings like ~ > $HOME

We all know that ~ maps to $HOME or /home/user. Is it possible to make other mappings like this on other characters (@,_)? A possible workaround I thought of was to use variables (which require at ...
0
votes
1answer
186 views

Linux Redhat kernel source installation? [closed]

I downloaded my kernel source rpm version, uname -a, from the ftp.redhat.com site. When I installed the rpm it put it in ~rpmbuild. In the past didn't it put it in /usr/src/redhat? Did this change? ...
0
votes
1answer
32 views

Get file of size and higher

i'm trying to print the files that are of a size or higher but i don't get how find -size work i tried this. find -size>100 But it still prints file smaller then 100 byte. So how do i do this?
3
votes
3answers
57 views

Why do I need ./ for commands to run on Mountain Lion? [duplicate]

Possible Duplicate: What does “/” , “./”, “../” represent while giving path? Why do I need ./ for commands to run on Mountain Lion? For example, when using mysql I have to type in the ...
0
votes
1answer
1k views

Linux Grep Multiple Log Files

I need to get output of any lines in all Apache access log files that have 25/Jan/2013:00:25 in them. My hosting company are being unhelpful in my investigation to track down what domain is allowing a ...
4
votes
3answers
572 views

Replace a regular expression within vim with an output produced by a console command with the expression as its argument?

let's say I have a file with the following content: This is a _file_ which has some _special_ keywords, that I would _like_ to replace. I can do a search and replace of the speical keywords ...
1
vote
1answer
354 views

Recover truncated file contents in linux

I there any possibility to recover file contents after echo "" > file.txt? I'm using Ubuntu 10.04 and my filesystem is vzfs
1
vote
3answers
664 views

expose GPS device to virtualbox VM

Is it possible to expose a GPS device to a VM running on virtualbox? I hae found there are Android apps that can expose a GPS signal via Bluetooth to the computer, I was wondering if for a computer ...
0
votes
1answer
5k views

SFTP without password prompt (from linux to windows)

I'm using freeftpd as an sftp server on Windows machine. From my Linux machine (Ubuntu) I want to do a SFTP from Linux to Windows, and I want to bypass entering a password. Can some one please ...
2
votes
1answer
465 views

scp copying to localhost from remote server

I was wondering whether there's a way to copy files from remote server to localhost after i had already "ssh"ed into the remote host? i.e. after ssh: "scp file @local:~" (I know about scp ...
1
vote
1answer
89 views

Sharing VirtualBox machines across multiple OSes / Change directory VirtualBox stores virtual machine descriptors

As you see from the / in the title, this question can be asked in two different ways. I have a Windows installation and huge plenties of disk space in H:\ partition. I also have Linux that maps the ...
2
votes
1answer
2k views

How to read data from USB port

I have a CANbus to USB adapter (Softing CANusb) that we are using for a project (see attached picture bellow). This device has Windows drivers and a Windows API in order to access the data in the CAN ...
4
votes
2answers
634 views

msysgit's ssh doesn't display colors

I'm using Console 2 to launch msysgit's Bash shell in Windows. When I ssh to a server (either a SLES or RHLE server) and do an ls or use vi I don't get any colors. However, the colors DO work ...
1
vote
0answers
74 views

How do I prevent someone spamming a Linux public folder? [duplicate]

I recently created a Public folder for my user on samba. I have it set up so that anyone can access it on my network(it's just me and a couple other computers). How do I prevent the other computers ...
1
vote
2answers
1k views

Is it possible to install Linux programs on a separate partition which is not the OS-partition?

I know you can do this on Windows (which is helpful since I have a small OS partition) but is it possible to do this on Linux?
0
votes
1answer
279 views

Why is the linux ELF loader called sometimes interpreter?

I have always been wondering, why is Linux ELF "loader" called interpreter? I mean, in standard programming meaning, an interpreter is used to run scripts, but ELF has machine code instructions. So ...
6
votes
2answers
276 views

Open up firewall automatically to anybody who has successfully connected via SSH

I have a server which runs a few services. However, for security reasons, I configured the server so that nothing, except for SSH, is accessible from outside. What I'd like to do instead, though, is ...
1
vote
3answers
795 views

How can I remotely lock a Windows 7 computer from linux command line?

How can I remotely lock a Windows 7 computer from linux command line? They are both on the same lan. It would also be cool to know how to unlock it, but that isn't as important to me as of now.
0
votes
2answers
400 views

Setup PPTP VPN server on linux

I want to setup a PPTP vpn server on linux so that I can connect to and use the internet of the VPN on both Windows 7 and Mac OS X. I know how to create an SSH tunnel, but I would like to learn about ...
2
votes
1answer
536 views

Linux permissions change without root privileges

Is there anyway for another user to change permissions of file without root permissions? If another user has access to my drive and they can theoretically change the user bit in the file via a binary ...
2
votes
1answer
273 views

Allowing a process in screen to restart itself

System is Debian Whezy x64. I currently use screen to start programs as user rather than root. It looks like this: In /etc/rc.local, I call su -c "/home/user/scripts/startup" user Then, in ...
2
votes
1answer
164 views

Smarter scp that duplicates part of the local path

Many, many times a day, I find myself wanting to copy one or two files from ~/src/some/path/or/other and ~/src/some/different/path on my local machine, to /srv/www/some/path/or/other and ...
1
vote
1answer
100 views

How configure email the at/batch results is sent to?

From the man page for at/batch, it says The user will be mailed standard error and standard output from his commands, if any. Mail will be sent using the command /usr/sbin/sendmail. If at is ...
0
votes
1answer
653 views

Make install kernel module without reboot?

I am trying to make changes to a buggy driver on Linux (mint). Is it possible to make and test the changes without rebooting every time?
2
votes
3answers
3k views

How can I run 32-bit Eclipse on 64-bit ubuntu?

I have a customized version of Eclipse which is for 32-bit only. And I've got to run it on 64-bit ubuntu 12.04 LTS. It is not possible to download a standard 64-bit Eclipse or to run a 32-bit VM. Are ...
-1
votes
4answers
1k views

How to set a file NOT no be executable - linux terminal?

The question is that I want to toggle of the executable bit of a linux executable I know that I can set a+x executable, but I can't set is as NOT executable :( Google omits not from searches..
4
votes
2answers
6k views

How do I prevent Apache service from auto-starting on Linux?

My problem is that I don't want to stop the apache daemon with the command ./apache2 stop from /etc/init.d (I know to do this). I don't want the apache service start automatically in /etc/init.d on ...
2
votes
1answer
317 views

Raspberry Pi Chromium can't find webpage on boot

We have a raspberry pi in our office which boots directly into the browser using a line in the .profile file as follows xinit /usr/bin/chromium --kiosk --incognito internalsite.internal.com And a ...
11
votes
2answers
4k views

How to scroll up in terminal window while new input is generated without beeing thrown back to the bottom (Linux)

In Ubuntu, I want to scroll up while a command is running in my terminal window and generates new output (actually the command running is rspec). I can scroll up, but each time rspec generates a new ...
2
votes
1answer
816 views

Doing backup from Linux to USB Pen Drive with rsync

I am trying to do a backup from Linux to USB Pen Drive with rsync each day and I take home the Pen Drive at night. I am running the following command but it looks like its update every file every ...
8
votes
2answers
6k views

How to move a partition in GNU/Linux?

How to move a partition to the beginning of the disk a bit? Parted wants a filesystem for some reason (I don't know why), I want just to shift all sectors left... r@l:15:32:45:~# parted /dev/sdb GNU ...
3
votes
1answer
1k views

Is it possible to print without CUPS?

Having a SOHO printer, HP DeskJet 3940 is it possible to print with lpr/lpd on Debian GNU/Linux? The Debian Wiki says that LPR. The still commonly used traditional printing system is called lpr ...
2
votes
1answer
575 views

Cannot uninstall VMWare Workstation 9 (Linux) - Instance of VMWare VMX still running, ACE VM running

*tl;dr: VMWare WS is oddly resilient to rm -rf. Help?* OS: Linux Mint 14 The problem: VMWare WS 9 reports that an ACE VM is running An instance of VMWare VMX is running, somewhere. The UI for ...
0
votes
1answer
628 views

Running virtual linux using qemu on windows

I am trying to use Qemu 1.3 for windows to run lubuntu on a USB stick with Windows 7. After downloading and unpacking Qemu on my usb stick, if I click on qemu.io.exe, I get qemu-io.exe> How do I ...
7
votes
2answers
4k views

Sending key via ssh or using mouse to activate Target Display Mode?

Is it possible to send a keystroke via SSH? I want to be able to send CMD+F2 via ssh from/to Mac OSX. If not possible a mouse solution would also be good. The reason I need this is because I only ...
2
votes
3answers
759 views

Is it insecure to leave open an SSH connection?

I am running an Ubuntu Virtual server at a remote location, and several people have SSH access to the server for reasons of web-dev and other various things. When I setup the server I set various ...
2
votes
1answer
1k views

Undeletable file in RedHat Linux

There is a file under my home area that I cannot delete. When I do an ls -al on the directory, the permissions are ?--------- and there is a ? for user, group, size and date columns. When I attempt to ...
0
votes
3answers
1k views

How can I automate commands that I run every day on Linux?

Every morning, I SSH into a particular server. I check disk space, size of a few directories, and the contents of some specific directories. All of this involves a lot of typing and recall (of ...
1
vote
0answers
141 views

--explicitly-allowed-ports equivalent chromium on linux

I need chromium on a raspberry pi to be able to browse to a website residing on a arbitary port "111" in this case. However chromium complains (I understand for good reason). However I need to get ...
4
votes
2answers
513 views

Linux doesn't boot on my Windows 7 laptop, even if successfully installed

I want to use Linux along with windows on my computer. My computer has Windows7 preinstalled. One day I went to installed Ubuntu on my laptop, the installation was successful and i suppose i had no ...
0
votes
2answers
2k views

Export display to an iMac

I have a 12" Linux laptop with HDMI, DisplayPort and VGA ouputs. I can successfully export a display of a resolution up to 2048x1536 to any vanilla display or TV. I also have a 27" Mid-2010 top of ...
0
votes
1answer
1k views

Logon failure trying to print using Samba

I'm trying to set up a CUPS print server on a Knoppix system for use by Windows clients in an Active Directory domain. So far, I've had success with printing over IPP. Now I want to explore the ...
3
votes
2answers
355 views

ssh & ping to target works from desktop but not from laptop?

Now where is the problem if ssh & ping to target works from desktop but not from laptop ? I have been able to ssh to my target from my DESKTOP using following command :--- Target IP is fixed in ...