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
1answer
369 views

Error while installing OpenVZ kernel using yum in Fedora 17

I was trying to install OpenVZ kernel(rhel 6) in Fedora 17.Things worked fine until i issued the 'yum install vzkernel' command.The messages that i get at the end are: Error: systemd conflict with ...
3
votes
2answers
130 views

Very Simple Script to Remove Last 5 Lines of a Series of Text Files

For some reason this script outputs three files for each original, rather than one. Must have made some trivial error - I'm new to this! Much obliged if anyone could explain why this happens. ...
4
votes
1answer
228 views

How to create or convert private key in Unix/Linux in .ppk format which can be used in Windows PuTTY?

Is it possible to create or convert keys in Linux into .ppk format which can be used in PuTTY in Windows? Without downloading any additional software like puttygen, possibly using standard tools like ...
1
vote
0answers
2k views

How to install Linux Mint through terminal?

The issue I'm facing is that the graphical interface provided with Mint 13 Cinnamon isn't detecting my partition table and my other Operating System. However, when I use cfdisk, I do see those ...
-3
votes
3answers
270 views

How to comble find and file command? [closed]

My teacher gave me a homework on combining find and file Use find and file to display all files in the /home subdirectory tree, as well as a guess at what sort of a file they are. I tried ...
2
votes
2answers
132 views

How to Expand partition with a new partition on the left or preceding sectors

I have a situation where I need to expand my Linux partition to a partition that is available above it. I would like to use unallocated 93.31 GiB to expand /dev/sda5. I'd appreciate any help. Here ...
1
vote
0answers
68 views

Windows reboots randomly on battery, linux OK

About a week ago, the Windows partition on my laptop started rebooting randomly. No BSOD, nothing in event logs besides a kernel-power failure. I could still use linux (LuninuxOS) fine, and windows ...
1
vote
1answer
83 views

Use Embeded Video Card and added graphic card at the same time

Looking forward to use 3 monitors at the same time in Fedora 17 in my HP 110 G6 Server. Added a Radeon HD5450 that can support 2 monitors. I want to use the built in video card so I can hook up the ...
0
votes
1answer
799 views

Virtualizing existing Linux partition on the local machine using VMWare Workstation 9.0

I am trying out VM Workstation 9.0 on Windows and I am tried to run the existing linux partition by following steps blow: Create a new VM > Advanced > Choose to install the OS later > select Debian 6 ...
1
vote
2answers
663 views

How to transfer files' ownership on Windows 7?

I switched from Linux to Windows. And I copied some private files (include folders) from ext file system to NTFS file system partition (operated on Linux). Then I logged on Windows as user A (for ...
2
votes
2answers
141 views

Cups without webserver

I have a minimal linux system and I would like to print. It seems the usual approach is to install cups. But what I think is very annoying is that cups comes with its own webserver to do the ...
0
votes
1answer
642 views

virtual network interfaces multiple vpn connections

I have 2 vpn connections and I want to be able to connect on both of them at the same time, running Fedora 18. My main idea was to run VirtualBox with 2 virtual machines, connect each of them on the ...
2
votes
1answer
196 views

'top' output baffles me

top - 18:22:21 up 98 days, 23:26, 4 users, load average: 2.73, 2.85, 2.60 Tasks: 210 total, 1 running, 209 sleeping, 0 stopped, 0 zombie Cpu(s): 3.6%us, 2.5%sy, 0.0%ni, 87.7%id, 5.1%wa, ...
5
votes
5answers
1k views

How can I customize the color of error messages in Bash?

Is it possible to customize the Bash error messages attributes? For example, is it possible to edit the .bash_profile to get the following Bash error message -bash: cd: foo: No such file or ...
0
votes
1answer
449 views

Unable to mount Windows partition from terminal

While trying to mount a Windows partition named work documents I used the following command: [root@Feddy /]# mount /mnt/'work documents' mount: can't find /mnt/work documents in /etc/fstab or ...
0
votes
1answer
407 views

Is there a way to install Samba packages offline for Fedora 14?

need to install samba packages offline to enable sharing of my fedora 14 folders to windows system. is there a place/way to get the offline installation file? ThaNKS!
3
votes
2answers
647 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
116 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
10k 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 ...
5
votes
6answers
7k 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
274 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
305 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
147 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
175 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
54 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 ...
3
votes
2answers
481 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
317 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
604 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
4k 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 ...
1
vote
1answer
431 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
88 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
557 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
264 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
272 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
737 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
369 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
461 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
242 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
137 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
90 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
560 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
715 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..
3
votes
2answers
5k 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 ...