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
94 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 ...
5
votes
2answers
773 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
2k 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
323 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 it'...
6
votes
2answers
289 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
1k 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
430 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
755 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
442 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 /home/...
2
votes
1answer
339 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 /srv/www/some/...
1
vote
1answer
118 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
1k 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
4k 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 ...
-2
votes
4answers
3k 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..
7
votes
2answers
9k 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
420 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 ...
18
votes
2answers
7k 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
1k 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 day?...
9
votes
2answers
11k 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
2k 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
811 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
1k 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 ...
8
votes
3answers
6k 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 OS X.  If that's not possible, a mouse solution would also be good. The reason I need this is ...
2
votes
3answers
1k 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
2k 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
2k 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
167 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
620 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 ...
1
vote
2answers
3k 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
2k 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
428 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 /...
0
votes
3answers
165 views

How to install 'subversion-tools' in fedora13

I written a script to take backup of svn repositories using command "svn-backup-dumps" But I am getting the error "svn-backup-dumps: command not found", Many forms suggests to install 'subversion-...
0
votes
1answer
312 views

Create a resized versions of photo collection and keep it in sync

This is for Windows, but I could run a virtual Linux client if there is an awesome solution not in Windows. I keep a master photo collection, and I need to have it automatically sync to e resized ...
0
votes
1answer
528 views

Check site certificates from Linux CLI over SSH

Suppose that a website returns an invalid certificate, for which Firefox and Chrome give the user scary warnings. I would like to ensure that my local connection is not being man-in-the-middled (which ...
4
votes
4answers
3k views

Mount on a per user basis

I am in charge of a small nfs network and I would like to set the machines to perform different mounts depending on which user logs in. Is this possible? For example, if user A logs in I want them to ...
1
vote
2answers
2k views

X Error of failed request: BadCursor (invalid Cursor parameter) when recording Xvfb with ffmpeg/avconv

I am trying to record video output from Xvfb using ffmpeg or avconv. I start Xvfb with: $ Xvfb :29 -screen 0 1024x768x24 When I later try to record display :29 with avconv (same output for ffmpeg): ...
0
votes
1answer
510 views

Allow exim to send FROM any catch-all address

I have a domain shrimp.foo already setup at the MX to route all incoming mail addresses (*@shrimp.foo) to one particular mailbox the ISP provides for IMAP, POP, webmail, etc.: bubba@shrimp.foo ...
6
votes
1answer
6k views

How do I read htop

I'm having trouble understanding the information displayed by htop the popular replacement for the Linux top command. In the above screen shot, there are many java instances listed, but only the ...
2
votes
2answers
124 views

How to find rpm binary of a given process?

Here is the problem: I'm trying to find what cron software is running on my machine, however question applies to any generic process. One way to do it is: Find the process ps aux |grep cron Find ...
3
votes
2answers
184 views

Is it possible to dual-boot my system with Windows 7 and Ubuntu and boot the same Windows OS into a VM while running Ubuntu?

So essentially I would like to be able to physically boot from either W7 or Linux on start-up, but I would rather remove the hassle of having to shut down everything I'm doing in Linux and wait for ...
0
votes
4answers
949 views

Execute a command with root permissions as normal user

I want to execute a command as if I am my normal user, but I want to have root certain permissions. In particular, I have created a phyiscal VirtualBox drive that I want to use as a normal user. I ...
0
votes
2answers
208 views

How can I combine Popfile (SMTP) with custom email processing rules on Dovecot?

I host my own mail server using Postfix and Dovecot on a virtual ubuntu server. In order to keep on top of my inbox, I use Popfile on the server to sort emails into categorized folders in my IMAP ...
1
vote
0answers
43 views

Recovering invalidated symlinks in Windows Vista

My brother's computer refused to boot into Vista and would always go into chkdisk, so I figured there was something physically wrong with the drive. I booted into a Linux live cd and used a tool ...
1
vote
4answers
4k views

“Wrapper” ssh script freezes when executing remote command

I am running OSX Mountain Lion and the remote server is CentOS 6. I have several scripts on my local machine that I want to run on the remote server and to that end, I thought to write one script that ...
0
votes
1answer
78 views

Why SED man -i option doesn't have description?

My Sed's man outputs this: Zero- or One- address commands = Print the current line number. a \ text Append text, which has each embedded newline preceded by a backslash. i \ ...
0
votes
1answer
746 views

How can I run a command on every file in a given directory?

I am using mp4box to move the MOOV atoms on MP4 files. The thing is, I will have 6 files in a given folder and I don't want to run the inter 500 command six separate times. Is it possible to do ...
0
votes
2answers
128 views

Is it possible to provide a blacklist of filenames to tar to prevent those files from being added to the archive?

Something along the lines of tar --blacklist='foo.bar foo.baz' -czvf foo.tar.gz ./* such that any files named foo.bar or foo.baz in the current directory or subdirectories would be ignored?
2
votes
2answers
5k views

How do I compress multiple files into one archive using lzma?

Looking at the options of xz and lzma, I can't for the life of me figure out how to compress multiple files into one archive. I know it is possible because I've uncompressed a .lzma file and it opened ...