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

2
votes
2answers
611 views

linux DD disk backup - file smaller than disk?

I got small problem. I need to make a mirror of a disk. Zero it and then restore data. I'm using DD linux command to copy data to a file. sudo dd if=/dev/sde of=/media/Rozne-new/hitachi_disk2.img ...
1
vote
1answer
596 views

Install boot loader with no operating system on hard drive

I am trying to reset — or rather, install — a boot loader on my hard drive. I initially had a Linux distro installed, which I completely wiped out. Now, when I try to install Windows 7 ...
0
votes
1answer
156 views

How to get full cmd of a process in linux?

My process cmd is very long because there are lots of arguments. Now I would like to check the full cmd. By using cat /proc/PROCESS_NUMBER/cmdline, the cmd is not fully shown. Is there any other way ...
0
votes
2answers
53 views

GNU Emacs is crashing with -nw

When I run emacs with -nw option, the emacs really open, but I can't do more nothing. As if the user input is blocked and no keyboard signal is received and/or interpreted. I've tried run without load ...
3
votes
1answer
2k views

“There are stopped jobs” when I try to quit terminal

I am using terminal.app on a MacBookPro running Mac OSX Lion 10.7.5. When I try to exit the terminal, I get a message "There are stopped jobs" and the exit fails. What does this error message mean, ...
1
vote
1answer
113 views

OpenGL on Linux, Accumulation Buffer doesn't do anything

I have an OpenGL graphics project, a particle system to be exact, and I'm using such effects like an accumulation buffer implemented motion blur, and also using the standard smooth to anti-alias (I ...
1
vote
2answers
381 views

Debian: Removing read permissions to a single user

i'm trying to set permissions with chmod in Debian Squeeze. Its there any way to remove read permission to a single specified user? chmod u-r file That seems to deny permissions from the user ...
2
votes
0answers
118 views

Piecing together low-powered hardware for an RS-232 terminal server

I'm working on reconstructing my Cisco lab for training/educational purposes and I found that the actual terminal server I have is dead. I have a couple of 8-port PCI serial cards which would be more ...
5
votes
3answers
2k views

restart program every x minutes?

I have a mutithreaded Java program which uses a opensource library and this library has some bugs which cause deadlock I've reported the bug but it will take time for it to get fixed, I would need to ...
2
votes
2answers
1k views

How do i use a specific dns on my wifi connection in Ubuntu?

I read a few articles which stated that my isp(BSNL) has weak dns servers and using a different faster dns like opendns or google will increase the speed. I use a wifi connection through the router. ...
2
votes
0answers
247 views

Ubuntu 12.04 random key presses and key presses not registering

I have a problem with ubuntu 12.04 that started while using the fn and some of the f1...f12 keys on my keyboard. All of a sudden my computer starts to "press" volume up and directly afterwards ...
0
votes
1answer
190 views

Linux: access mounted volumes as normal folders/files

I have a closed source software (client) running on a Linux machine (Debian) to deliver files to a backup machine. This works fine except this client software does not access the mounted volumes ...
2
votes
1answer
129 views

Naming a file so it appears at the top when listing files

What I want to do is make it so a particular file is listed at the top when using ls or browsing via file manager like Nautilus. I want this to work without any system configuration as the files will ...
0
votes
2answers
98 views

Ethernet led is not on, when cable is plugged in on both ends to online PCs [closed]

Even if network is missconfigured, leds should be on, right? So here my network map: modem_------cab1-------(eth0)_linux_(eth1)------cab2----_winxp the led does NOT work ONLY when I connect eth1 ...
0
votes
2answers
3k views

Automounting SD card when inserted in Ubuntu

I am trying to write a BASH script that automounts an SD card once it is inserted in the card reader, then move all pictures to a folder in the HDD and renaming each file to the date and time the ...
6
votes
2answers
1k views

Screen divider / border width and color

In GNU screen, using a horizontal / vertical split, how do you set the color and width of the divider between the splits? I want to make them thin and darker so they don't stand out as much. There is ...
26
votes
2answers
10k views

How to run a minimal Linux inside a running 64-bit Windows 7

On my previous Windows Vista laptop, I used to run Portable Ubuntu Remix for Windows, which is based on coLinux, like the similar andLinux. This worked fairly well with limited system resources (a ...
1
vote
2answers
592 views

Suspended processes in Unix

beginner's Unix question: I'm a bit confused about the purpose of suspended (Ctr+Z) commands in a unix shell. From what I gather a suspended process/command is neither in the background nor ...
1
vote
2answers
2k views

Set up CentOS6 Web Server on local network, but unable to view websites on it?

I've set up a web server on our workplace domain. The server has been configured so that Apache works on it and everything seems to be working fine. However, I am struggling to access the machine via ...
2
votes
2answers
263 views

Automatically commit a file to git

Is there a way to easily commit a file to git if it has updated? I want to take a list of files in a directory, write it to a text file, and commit it to git if it's changed. I assume this would ...
2
votes
1answer
207 views

Why does Firefox need a loopback connection?

I was playing around with firewalls and iptables. When I blocked any traffic except HTTP and DNS I was able to establish a connection to google.com via wget google.com. But I wasn't able to open ...
1
vote
2answers
467 views

how to flush “ip a” display in linux

I'm using suse sp1. I found there are difference between the output of comamnd "ip a" and "ifconfig", like: nssh# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN ...
1
vote
1answer
301 views

How to name a newly added NIC in Linux

I'd like to name a newly added NIC as eth4. How can I do that under Linux? To be specific, the distribution I use is SUSE, SP1. I guess there is a one to one mapping between the NIC hardware and the ...
2
votes
3answers
4k views

How to set tab to 4 spaces in vim?

By default, the space in vim is set to 8 spaces. How can we set the tab to 4 spaces in vim permanently?
0
votes
1answer
403 views

Create master volume control keyboard macro in linux.

I have a keyboard with no specially designed keys, so I was thinking I'd put in windows+up/down for controlling the master volume. How would I do this?
4
votes
1answer
4k views

Set the terminal prompt in Ubuntu to show only the working directory name instead of its full path

I have been searching around for a while and have not been able to find an answer to this. Whenever I use the command line in Ubuntu it always lists the full directory back to my home directory, how ...
1
vote
0answers
353 views

FFmpeg encoding for meta data wrong – need it in UTF8

When I run this command ffmpeg.exe -i test.mp3 -metadata title="The Title You Want" -metadata artist="ÄÄÄßß!`n Artist Name" -metadata album="Name Fö#'ddp+!of the Album" -c:a copy -id3v2_version 3 ...
1
vote
2answers
214 views

Improve black prints on a colour laser printer

My Kyocera FS-C5400DN colour laser printer prints some documents that include graphics (greytone or coloured) blured A pure textpage is perfect and most time colourpages are fine too. It looks if ...
3
votes
0answers
5k views

ubuntu 12.04 server and tftp access violation issue on put command

I installed tftp as per this document: http://icesquare.com/wordpress/solvedtftp-error-code-2-access-violation/ I followed this to the letter 3 times and every time I put a file I get: ...
1
vote
1answer
985 views

Linux: second monitor as terminal?

I'm looking for a way to make use of my dual-screen setup. I have two monitors, keyboards and mouses (one set is laptop's built-in, another is the external one, connected by USB/VGA cables). I'd like ...
0
votes
1answer
724 views

How to give Admin privilege to a user in Linux?

Just like we add a user with administrator privilege or to server operators local group in windows so that he can add/edit/delete files/folders on the server, can I give such privilege to a user in ...
1
vote
2answers
783 views

iptables block everything except http

I'm trying to configure my iptables to block any network traffic except HTTP: iptables -P INPUT DROP #set policy of INPUT to DROP iptables -P OUTPUT DROP #set policy of OUTPUT to DROP iptables -A ...
-1
votes
2answers
1k views

Changes to talk/ytalk or alternative chat in the Linux terminal [closed]

While looking for a piece of software that provides chat between 2 Linux server users logged in the terminal, I tried talk/ytalk. Unfortuntaley it provides chat between users on separate walls (each ...
0
votes
0answers
289 views

Linux doesn't boot with hyperthreading enabled

I've had this problem since 2.6.39: my computer won't boot without disabling hyperthreading in the bios. I'm using 3.6.6 now and still have the same problem. The only thing I can add to the ...
2
votes
1answer
168 views

Unable to clone bare repository with Git

I've created a bare repository on an external hard disk in path /media/Segate/Repos/project01.git Then I've added and commit the latest version of my project sources to this repository. Then I ...
1
vote
2answers
390 views

Divide bootloader from dualboot with Windows 7 and Windows XP

My problem is the following: I have a dual boot running on my pc. I installed a programme called "Keriver", it automatically installs GRUB, too. When I start my PC, the first thing you see is GRUB. ...
2
votes
2answers
408 views

2 and more keyboard layout groups in Linux changed by different hot keys

So, this is something I've been dreaming of for years now. I've sporadically foraged for a solution on Google but never really found anything. I was told once by someone on IRC that it's possible but ...
1
vote
2answers
249 views

Data permission: what if adding only write permision to a file?

What if a user got only write access to a file? Is he able to read the file or only to "write"? However, if you can write, you can also read, so this doesn't make sense? The question is for Unix-like ...
0
votes
0answers
89 views

Install old python and wxpython version in linux

I have been trying to use an app that is dependent on Python 2.5 for a while. It's no problem installing it in Ubuntu (which I use) but to then get wxpython is harder. I could'nt compile it for some ...
0
votes
1answer
54 views

Cannot access files after trying to upgrade Ubuntu

I tried to upgrade Ubuntu from 11.10 to 12.04. I left it for 24 hours but the upgrade did not complete. Hence I cancelled the upgrade. I thought I will copy all the files that I have to a DVD/CD and ...
1
vote
1answer
554 views

Linux download manager with automation feature?

I am looking for a debian download manager which can watch folders on a remote FTP site and download new files to my computer locally. This is a one way operation and not a sync, I simply need to get ...
1
vote
3answers
1k views

Does Linux Mint provide sames packages as Ubuntu?

i have been using ubuntu 12.04 for quite sometime and was happy until i decided to upgrade to 12.10 which IMO does not match even upto 12.04.. I like gnome and its intuitiveness, so was looking for ...
2
votes
1answer
741 views

Find out the name of a folder in a root directory inside .zip file

I'm using Fedora 17 and bash as my shell. I have a specific zip file, which has just one folder in it's root. I.e. upon unpacking the zip file i see the following: > unzip myzip.zip> ...
1
vote
2answers
769 views

Does sudo really make you root for a little while?

On Linux, in what kind of situations, if any, running a command as a non-root to access a file/folder or create/delete a file/folder using sudo may result in "permission denied" while running the same ...
1
vote
0answers
250 views

Port forwarding & OpenVPN

I have a raspberry pi running Debian (raspbian) and I'm having issues that don't seem raspberry pi related. I connect to this device via ssh most of the time on my local network, but decided I would ...
2
votes
1answer
468 views

Adding domain users to CUPS allow list

CentOS 6, CUPS. I've been able to log in with my user account to the web admin CUPS login, but I can't work out how to log in with a domain user account (on the command line, it's domain\user). Does ...
0
votes
2answers
173 views

su misbehaves when executing a command that prompts for a password

I have 2 users in my debian server, gooduser and root. Command my_cmd prompts for a password (it connects to a ssh server). When I execute my_cmd as gooduser, everything works as expected: ...
3
votes
1answer
257 views

Can't terminate a nohup process

I would like to send a SIGTERM signal to a nohup process, but this signal is completely ignored, only SIGKILL works, which is considered a bad choice to terminate a shell script. Do I have any options ...
2
votes
3answers
1k views

Set up “smart” DNS server

I'm in a restricted network and I want to setup a smart DNS server for personal use. I don't want to use any VPN services since it required setup on my Windows 8. I don't want to encrypt internet ...
1
vote
0answers
239 views

Trying to copy two files with uppercase and lowercase extentions. Linux to Windows

Trying to copy two files with uppercase and lowercase extentions. example: textfile.txt, and textfile.TXT. was copied onto a dvd from linux. but when trying to copy to windows it cannot copy the ...