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
vote
2answers
486 views

I've installed gcc 4.6.1 on lion, do I overwrite default gcc?

I (more or less) followed the instructions here http://solarianprogrammer.com/2011/09/20/compiling-gcc-4-6-1-on-mac-osx-lion/ to install a more recent version of gcc so that I can build ruby on a new ...
0
votes
4answers
1k views

Find and Delete Folder in Linux [non root user]

I would like to search within my /home/user for a specific folder name and delete it and all its contents. There is a posibility that we would find multiple occurences of the same folder across many ...
1
vote
1answer
550 views

How to solve “Broken Pipe” error when using awk with head

I'm getting broken pipe errors from a command that does something like: ls -tr1 /a/path | awk -F '\n' -vpath=/prepend/path/ '{print path$1}' | head -n 50 Essentially I want to list (with absolute ...
0
votes
2answers
682 views

How to drop traffic before it hits existing iptables conntrack rule?

I am running an application that injects iptables connection tracking rules into the kernel so the machine can forward incoming UDP traffic to its destination as fast as possible. Some of the ...
0
votes
1answer
153 views

Autostart with KDE Device Notifier

I want to automatically start a program when a new device is connected. I can create an action in the Device Notifier that I can click to start as soon as the new device is connected, but is there a ...
0
votes
1answer
2k views

How to kill TV like static noise in my Linux microphone?

I was capturing audio using alsa/pulse, or even without any microphone. But always i have this sample static noise. Similar to those (you can hear the exact noise what i have now): Sample 1 Sample ...
1
vote
3answers
323 views

Where can I download pdfconcat?

I've been looking everywhere (i.e. lots of Google searching) for pdfconcat, which supposedly is very good at merging PDF files together. Anyone know where I can get this? Thanks!
2
votes
1answer
352 views

Using pdfedit in linux, how do I enable the “draw rectangle” function?

I'm using pdfedit on Linux. I want to draw a rectangle over a document, but the "draw rectangle" menu item is grayed out, and the "draw rectangle" tool on the toolbar is grayed out. I have read the ...
1
vote
2answers
6k views

How to enable GNOME classic on Fedora 16

I have Fedora 16 with GNOME 3. I would like to use GNOME classic. How can I install GNOME classic (2)?
1
vote
1answer
1k views

Will cron on linux run the same job multiple times?

I am setting up an rsync backup job on linux (ubuntu 11.10 server). If the backup runs long, and is still running when the next scheduled time comes up, will cron start another instance of rsync? Or ...
10
votes
4answers
12k views

Continuously re-execute a command when it finishes in Bash

I'm trying to figure out a simple way to keep re-executing a command whenever it finishes, for any reason (error or otherwise). What would be the best way to approach this? EDIT: I wasn't clear ...
0
votes
1answer
203 views

Linux error when resume from RAM

The last two times that I have resumed my laptop from sleep, it has hung and given me this set of errors: [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 1sec aborting ...
1
vote
1answer
1k views

Locked out of VPS - No SSH

I've broken the SSH on my Debian 6 VPS (no GUI). When I try and connect, I get the following message: ssh: connect to host XXX port 22: Connection refused I have no physical access to the machine. ...
0
votes
2answers
4k views

Applying proxy settings system-wide on Linux?

Our campus employs proxy server with authentication. So, I have to apply http://username:password@proxyIp:port/ bash configure file(suppose for wget or curl) or manually entering details for every ...
2
votes
1answer
512 views

How can I prohibit executable files in a Samba share?

I want to setup a Samba share for file sharing in my intranet. Is there any way to prohibit some kinds of files (e.g *.exe) from being uploaded to the share folder? How can I force the user to ...
2
votes
3answers
662 views

Is it possible to save a password with PUTTY? [duplicate]

Possible Duplicate: Is there a way to “auto login” in PuTTY with a password? Store passwords in putty I frequently use Putty, I know that possible save login like: ...
1
vote
1answer
992 views

Capturing yum progress bar percentage

I would like to know if it's possible to capture download progress i.e percentage download complete shown by 'yum' while it's downloading a package. Capture, in the sense, could be to a text file or ...
4
votes
1answer
6k views

How to setup MX Record?

I am trying to setup a mail server in my PC for my LAN network and I opted for Postfix but the configuration ask me to configure the MX Record, something about DNS configuration but I have no idea of ...
1
vote
1answer
442 views

Erros installing archlinux on macbook air

I have "installed" Archboot on my MacBook air, and I am getting screen problems after it loads UDEV, it is last thing I can read. Basically I am following these instructions. But then I got error ...
0
votes
1answer
2k views

RTL8188CE doesn't connect to any wifi access points

I'm using network manager to connect. Also, tryed iwconfig. Results are same. I even try to connect to open access point — results are same. More information: Drakmail@thinkpad-x220:~$ lspci | grep ...
1
vote
0answers
30 views

Restricting memory area for linux kernel [duplicate]

Possible Duplicate: Restricting memory area for linux kernel I am running ltib linux on P1022RDK (P1022 Core) platform. I have 512 MB = 0x20000000 memory. I want my linux kernel to use ...
0
votes
1answer
545 views

install and configure metacity on crunchbang

I am trying to get metacity to work on my #! installation, but instead when I try to run metacity at the command line, it tells me that there is another WM in process. I then tried to run metacity ...
5
votes
1answer
4k views

What are the default Window Managers in Ubuntu and Fedora?

What are the default window managers in Ubuntu (11.10) and Fedora (16)? I didn't seem to be able to find it online, and if it can be installed in CrunchBang.
0
votes
2answers
494 views

How to configure virtual network adapters for Ubuntu Server on Virtual Box

I have two network adapters on Virtual Box for Ubuntu Server. Adapter 1: internal network called intent Adapter 2: NAT I want to configure them as follows: Static IP 192.168.10.101 for the ...
11
votes
2answers
709 views

mv command confuses directory name with command option

I have a directory called --pycache--, which I need to move to __pycache__. Using the mv command in the following way, gives me the listed output. How can I use the CLI to do what I want? $ mv ...
0
votes
1answer
92 views

Is there Linux software that can read out times?

I have seen how Mac can tell (and say) time on hourly, half-an-hour, or quarterly basis. This is very convenient because you can hear the Mac telling you what time it is. I am looking for something ...
1
vote
1answer
890 views

How do you set the default user in Linux for file creation?

I want to create a directory, for example: /public/all But I want it so that if you create a file in all, the owner is root, but anyone with access to the /public/all folder can delete/edit/etc the ...
0
votes
1answer
533 views

Targus USB-to-RS232 not working with Linux?

I have the Targus PA088 USB to RS232 converter, but it seems that it does not work with linux. Its RX and TX lights are flashing, but I can't see the data in minicom/picocom. When using it with ...
1
vote
3answers
254 views

Linux date command is 4 minutes slow

I installed Centos onto my server and I noticed that when I compared the date command's output to time.gov (same timezones, of course), the output was 4 minutes behind. This also affects my ...
1
vote
2answers
647 views

How to redirect output from an infinite-loop program

I have a program running an infinite loop and will not terminate until receiving a CTRL+C signal. What I want to do is redirecting the output from this program into a file, say log for example. ...
1
vote
2answers
675 views

Kill -9 doesn't kill process in Ubuntu

This process is marked as <defunct> and kill -9 doesn't kill it. What can I do? Why can't this process be killed?
1
vote
1answer
467 views

Jobs with anacron won't run

I would like to run two bash scripts daily using anacron in order to backup some data. Unfortunately I can't figure out why said scripts are not executed. For test purposes I let cron execute the ...
0
votes
1answer
13 views

two functions in samba

I want to setup a samba for file sharing in my intranet, but I want to know if there is any way to prohibit some kind of files (e.g *.exe) uploaded to the share folder? And I want to know if there is ...
9
votes
2answers
5k views

How to get length of video file from console?

Suppose we have video file some_video. How to get length of it from a shell script (with mplayer/transcode/gstreamer/vlc/ffmpeg/whatever)? VIDEO_LENGTH_IN_SECONDS=`ffmpeg .... -i some_video ... | ...
0
votes
1answer
636 views

Can't route into WAN with IPCop Router

i try to setup a IPCOP Router but i can't access the WAN from LAN but the LAN from WAN works fine. Example: WAN IP from IPCOP 192.168.1.130/26 WAN IP aliase from IPCOP 192.168.1.131 ... 190 /26 WAN ...
2
votes
0answers
487 views

Can't ping Linux IPv6 bridge from host

I'm using a Linux box with two network interfaces as bridge (br0) and one system (X) behind the bridge with its own IPv6 address configured. Its other end is connected to a router. The bridge ...
1
vote
4answers
249 views

If I stop Linux process will it quit by itself

Suppose I am downloading file from internet with wget. Now if I press CTRL + Z then it says process stopped. Now I want to know that will it gets killed automatically or it will stay as it is. Will ...
2
votes
1answer
128 views

Maintaining “Portability” Between Linux and Windows 7

I am using the following ways in my office's Windows 7 machine to maintain my "portabilibity" when disaster strikes and I need to switch computer while I have no luxury of time for reinstalling all my ...
3
votes
2answers
8k views

Can I encrypt the home folder after I have installed Linux Mint 11?

If I did not choose to encrypt the home folder during the installation of Linux Mint 11, can I encrypt the home folder after it has been installed? Also what does in encrypt in the home folder? Is ...
1
vote
1answer
685 views

Is it possible to run FreeNAS on a Sheevaplug?

I recently acquired a Sheevaplug (this spec) and would like to use it for: Storage for my home network Sharing media with home media devices like my TVs Is it possible to use FreeNAS on the ...
0
votes
3answers
1k views

Check if string equals asterisk in Bash scripting?

I'm making a bash script to do basic arthmetic and when I do: if [ $2 == "*" ] it does not work. How can I check for asterisk?
2
votes
1answer
380 views

Linux program unable to access files in group

I'm having trouble configuring things on linux so that a program can access certain files. Let's call it pgm A. It has uid uA and gid gA. In addition, uid uA is listed in /etc/group as a member of ...
1
vote
1answer
1k views

Route via PPTP or VPN Depending on Application or Port

I want to use my primary internet connection (eth0) on my PC for all traffic, but route traffic over a pptp VPN for specified application/or port. Details eth0 = current internet port pptp1 = VPN ...
0
votes
1answer
350 views

Is possible to lower power consumption at new Kernel 3.2?

I'm currently using Kernel 3.2, but i'm don't like it's high power consumption. Is there any way to lower it. I'm currently using Arch. But i'm not afraid of gentoo where almost everything gets ...
2
votes
0answers
486 views

Keybindings not working in Swing/AWT applications

Digging on problem with keybindings not working in PhpStorm IDE, I tried several Java applications and realized that keybindings with letter keys are not working in Swing/AWT applications on my linux ...
0
votes
1answer
186 views

How to remove attributes from a file in Linux?

From the command line, how could I for example remove all RW attributes from a file? Thanks
1
vote
1answer
3k views

How do I install a GUI from the command line?

I have a CENTOS 6.0 machine that I have installed from a x86_64 minimal ISO. It runs at init 3 at the moment, and I want to install a GUI on it. When I do an init 5 from the prompt, all I get is ...
4
votes
2answers
638 views

How do I display the route to a website (eg www.google.com)?

What is the Linux command for display the route taken to a website?
1
vote
0answers
23 views

Account specific interface binding [closed]

Im looking to have applications started from different accounts automatically bind to a specific interface. for example: applications started on accountA bind to eth0 and applications started from ...
1
vote
0answers
728 views

Build a Linux Firewall/Router/NAS/WAP [closed]

I want to build a linux based Firewall/Router/WAP from a PC that I have. Here is what I want. Act as a firewall where I can deny all incoming traffic except what I want Allow me to run servers with ...