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

-1
votes
1answer
499 views

Howto create a bootable pendrive for windows manually on Linux? [duplicate]

I've been trying around but am not through yet. Where is my procedure failing? I have a 2G usb disk which I prepare the following way: 1 - Make a partition with fdisk yielding /dev/sdb1 2 - mkfs.ntfs ...
0
votes
0answers
120 views

Using Courier Imap to deliver Getmail Folder

I am running ubuntu and I have a script that runs getmail and pulls mail from 10 different mailboxes by imap and places in a folder called ~/allmail. I have then changed the maildir in courier to ...
3
votes
1answer
8k views

How to find which ports are blocked?

I have root on two machines A and B and I would like to know which ports can't be accessed on B from A. Is there some way to run a command line application on B that listens on all ports and then run ...
1
vote
2answers
1k views

Is it possible to mount a swap partition into a directory?

I want to have a look inside the swap partition of an external linux drive. How can I mount it as a regular file system directory? I tried mounting it via mount -o loop,offset=35556433920 -t ...
0
votes
2answers
120 views

How to access data card firmware through Linux?

I have a useless data card lying around. Huwaei EC 122. I want to play around with it. See what's inside etc. However, I don't know how to access the firmware on the data card already. There are a ...
0
votes
2answers
426 views

Why does my ssh session terminate immediately?

I have a debian machine, where I have difficulties to log into via ssh. Executing commands on the server over ssh is no problem -- just I get no prompt, but the connection is terminated again: > ...
1
vote
2answers
179 views

Vnc and ssh tunnelling not working

I am trying to access my work computer (server C) via vnc. I have root on this machine. I can't access it directly so I have to go via server B. I have done the following steps. First on my local ...
3
votes
1answer
429 views

94% Memory usage on Host OS using VirtualBox

I'm running a 32 bit Windows 7 Guest on a 64 bit install of VirtualBox 4.2.10 r84104. The Host OS is Ubuntu 12.10 64 bit. The host os has 8GB of memory and the guest is told to utilize 2GB max. ...
0
votes
1answer
373 views

Copy all files from one place to another whilst keeping group permissions

I'm trying to copy files from one place to another, I am using this: cp -R /from/ /to/ However, whilst this is keeping the standard permissions, it is setting the group permissions to 0 0 ...
0
votes
3answers
103 views

What types of users can I use with “sudo”?

I thought you could only use sudo to temporarily become root: sudo vim /etc/resolv.conf But recently I saw a shell snippet depicting a user using sudo to become a specific user: sudo -H -u devops ...
0
votes
1answer
489 views

Detect HTTP sessions using tcpdump [closed]

I have a tracefile and I want to find all web servers that were successfully visited in the trace, contacted via HTTP. I'm using: tcpdump -r file.trace - tcp port 80 Maybe I have to search for a ...
0
votes
2answers
5k views

How to install 2X Client on 64-bit ubuntu?

Installed it with .deb from 2X website. Now got: > /opt/2X/Client/bin/2XClient: error while loading shared libraries: libXpm.so.4: cannot open shared object file: No such file or directory I ...
0
votes
1answer
225 views

VMware: Best way to assign static IP and DNS entries for guest machines?

I'm looking for a scriptable solution for assigning a static IP address and DNS entries for VMware guest machines. There is a pool of IP addresses we allocate for internal use, so I need to be able to ...
0
votes
1answer
224 views

Trying to access MySQL Database on Linux Guest from Host

I am trying to access MySQL Database on Linux Guest from Host and I am getting the following error: ERROR 2003 (HY000): Can't connect to MySQL server on 'REGAN' (111) I already setup port forward ...
6
votes
1answer
3k views

Customise Okular to modify highlight tool properties

I am using Okular as my pdf reader on Linux. I want to know how I can modify the color of the highlight permanently. I know I can modify the saturation of the color used by highlight tool by right ...
1
vote
0answers
125 views

android emulator hardware acceleration on i5-2500K

I just wanted to know if anyone have managed to start the android emulator with the "Use Host GPU" option checked on the i5-2500K buildin gpu using linux. Each time i start it with "Use Host GPU" i ...
2
votes
1answer
335 views

copied chroot jail directory cant be chrooted

I am developing a package so when users login through ssh they are forwarded to a chroot jail. The jail directory is created via makejail program on building process. But when the jail package copy ...
1
vote
1answer
66 views

Booting an encrypted system from a flash drive without user interaction

I have an unused desktop that I'm planning on turning to a household server running (hopefully) Arch Linux. I know that I can fully encrypt the system and have to enter a password upon each boot but I ...
3
votes
4answers
1k views

Running sshfs as user via autofs

My situation: There are several servers on my LAN which I do not administer I access them using SSH for sshfs, shells, and remote X11 apps I have set ControlMaster auto in my ~/.ssh/config file so I ...
1
vote
0answers
810 views

mpeg_decode_postinit() failure [closed]

I'm trying to take some thumbnails via ffmpeg command. My file name is "aaa.ts" and I want to take some thumbnails every second. Frankly, it works, but I have 4 red lines in terminal. So can you tell ...
1
vote
0answers
164 views

How do I change the output monitor for a text console in Linux / Ubuntu 12.10?

I'm working with an nVidia card and multiple monitors, and the monitor that is used by default for text mode is in portrait mode, forcing me to crane my head to the side to use it when I switch to a ...
2
votes
0answers
187 views

Linux bootloader on USB-stick, load different kernel depending on hardware

I'm experimenting with a setup where I keep my kernel and initrd on a USB stick, and thus I can keep everything on the actual computers fully encrypted. Nothing is stored in clear text, and nothing ...
1
vote
1answer
572 views

Linux, Debian, Wheezy, Aptitude/DPKG consistency check

In a foolhardy and stupid attempt to solve space issues on my desktop machine, I on purpose deleted Spotify from /opt before realizing that I could remove it using the package manager. After deleting ...
0
votes
1answer
4k views

Installing wireless Broadcom drivers on Arch Linux

So how do I accomplish this last step to this journey? I already installed Xfce even, thanks to Ethernet I was able to. However I still need to figure out the wireless drivers. I've already tried ...
0
votes
1answer
217 views

Dropbox on Linux Mint permissions issue

I have been developing a python package in dropbox. DB seems to be causing a very strange permissions issue. I own and have RW permissions to the directory and all of it's contents. Yet, when I try to ...
1
vote
2answers
40 views

Difference in Logs

Is there a utility that will show you a difference in a directory of log files at one point of time and at the current moment? Current a method in debugging applications is to remove all of the logs ...
0
votes
1answer
143 views

Xerox D95 support on linux?

I failed to find any official or unofficial driver for this printer. Usually for my brother and canon printers i can get away by using a close model (e.g. using the driver for DCP-8060 to print on a ...
1
vote
0answers
731 views

How to only add lines using patch?

I'd like to be able to use diff & patch in order to write new lines to a file. To clarify what I mean a bit: Original file: test1.repo exclude=mongo* exclude=sqlite* ...
0
votes
2answers
718 views

Get list of distinct file endings in a directory (UNIX shell)

I have a directory with many image files in different formats. I'd like to see a list of all distinct file endings in that directory, so that I can see what kind of image formats are present. So ...
2
votes
2answers
3k views

How can I clean HOME folder in linux?

There is a way to clean in a controlled way the $HOME folders than usually save cache files? E.g: I have a .config folder with more than 300MB. How can I clean it?. Is there a program that can be ...
0
votes
1answer
167 views

Wifi working while iwconfig shows no wireless - iwconfig

I am using ubuntu 12.04 on a virtual box with osx as a host. I tryied to run iwconfig, but I can't see any wireless extensions. But my wifi is working using my ubuntu machine! How can I manage this ?
0
votes
1answer
329 views

Traffic shaping linux upload issue

Im currently working on a traffic shaping in linux. We have a client connected to a server running nat and dhcp. What we want to do is limit both the upload and download speed of the client/clients. ...
-1
votes
1answer
584 views

How can I “flatten” a PDF scatterplot with many points generated with R?

I have a scatterplot which I generated with R, it shows many thousands of overlapping points. I need to graphically annotate the generated PDF further, in PDF format, with Inkscape. However, it is ...
0
votes
1answer
4k views

All fans spinning at maximum speed with Linux

I installed Fedora 18 on my desktop computer and I've got an issue. All the fans are all the time spinning at maximum speed. Like, you know, when my computer boots they are too, which is normal ...
0
votes
3answers
967 views

Remote desktop server as daemon

I'm using KRFB as remote desktop server in my Linux Mint KDE. It works fine as usual remote desktop server but I've to log-in then run it manually (or at start up) How can I run KRFB of any remoter ...
1
vote
1answer
909 views

How to correct sudo permission?

I'm running AWS EC2 Micro instance and had issues getting permission to the root access with EC2-user. Followed a tutorial online and ran the following commands: sudo chgrp ec2-user /etc sudo chmod ...
0
votes
2answers
500 views

run command with root privileges as nonroot user

I want to set up steam to run automatically with a higher than default priority, which involves starting it with nice. But to set a priority lower than 0, I must be root. Problem is that steam doesn't ...
0
votes
1answer
33 views

No sound and no network connection in Ubuntu

I changed the permission of /usr today. So stupid. Then I went into recovery mode and changed the permission back. But after that, there are no sound and no network connection on my system. What ...
0
votes
1answer
73 views

Colorize ls-output by filetype [duplicate]

Every once in a while I have to list some files (~20-50) in Bash on Linux || Mac. These files are from four different file types. ls nand2tetris/myChips/ And16.**hdl** And16.**cmp** ...
1
vote
1answer
372 views

Cron job not abiding by the nice command

I got a script that backs up minecraft worlds, when ran by command (nice -19 ./backup.sh) it doesn't lag what so ever, server load stays low. When I try to do nice -19 ./backup.sh in a cronjob, it ...
1
vote
1answer
101 views

Found this logentry on my server in the cron.logs, seems to be a hack-attempt, any suggestion for further proceeding?

Here is a logentry, which was executed: mkdir /root/.ssh/;echo "ssh-rsa <some unkown public-key> > /root/.ssh/authorized_keys I'm guessing that I was hacked. Any advice for cleaning up ...
0
votes
1answer
67 views

Low-level sending of mail from file via cmdline

I have a saved mail (in Maildir format) including all headers and attachments. I would like to send this file as email (with all the given headers intact) to a new email address, something like: ...
2
votes
0answers
293 views

Error compiling and installing mcrypt from source

I'm hoping someone can help shed some light on my current issue. Scenario: Installing libmcrypt, mhash and mcrypt from source in order to compile PHP5.4 with the mcrypt extension enabled. OS: ...
2
votes
1answer
796 views

Linux: How to eval the contents of STDOUT?

Consider you have a file with some sort of terminal command. How might each line be executed? Can you pipe the output of more into an eval? %> more ./foo.txt Edit: After some help/guidance ...
0
votes
2answers
70 views

Create from bash an image from a Windows / Linux partition

I want to make an image with existing Linux tools from the bash console. Can somebody tell me how to accomplish this task? Let's assume /dev/sda including its master boot records need to be backed ...
0
votes
1answer
52 views

Multiple drupal installations on apache work with their own DNS entries but not with Alias

So my localhost server has never had a problem because I've never been developing with other people on multiple websites. Now, however, accessing a secondary site via an Alias is running into a ...
0
votes
2answers
814 views

Renaming a volume under Linux

It may be a very basic question, but I have USB devices that keep their old name after reformating it with mkfs and even after a repartitioning with fdisk. I wonder if there is a way to change the ...
0
votes
0answers
47 views

Linux shell equivalent to “cmd /k” [duplicate]

I am working in a multi-platform (Windows and Linux), multi-shell environment. The Windows "shell", cmd, can be executed as cmd /k command, which makes it execute command, but then its console remains ...
0
votes
1answer
261 views

Where is my /boot/grub/menu.lst file

I m using VMware for my linux version Ubuntu 11.04 and i have searched for /boot/grub/menu.lst file but this file was not there. Why?? I was creating a new kernel in virtual linux but unable to ...
0
votes
1answer
335 views

How to config sudoers file?

I'm using ubuntu server 12.04 LTS I want to know how to configure my sudoers file (obviously, using visudo), to permit an user to run commands like root (doing something like "sudo service x ...