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

0
votes
2answers
196 views

How can I determine on my system where process substitution creates FIFO files?

I'm writing a C++ application and need to work with process substitution in the Bash shell. I'm trying to find a way to validate the paths passed as arguments to my program, some of which point to ...
0
votes
2answers
261 views

Problem Installing jre in Linux debian

I am trying to install JRE in Debian Linux.I tried this command and it got installed successfully, apt-get install sun-java6-jre after that the /usr/lib/jvm got deleted from me unintentionally.Now ...
3
votes
3answers
5k views

VMware host-only networking Internet access

I am running a Ubuntu Linux VM using VMware Player on a Windows 7 host. I don't want to connect directly to the network or use NAT; I need host-only networking but also need Internet access. How can ...
1
vote
0answers
106 views

How can I restrict my Virtual Machine using an iptables rule?

I am using CentOS Linux and am planning to setup a rule on my VM's iptable. I want to restrict all outgoing and incoming packets to the VM for a temporary period and allow only the DHCP packet to ...
6
votes
5answers
3k views

Delete all files (except the four newest) throughout directories using a Bash script

I'm looking for a Bash script that will go into a list of directories and delete all but the four most recently created files. How can I do this?
1
vote
1answer
2k views

how do I turn a computer into a real safe router?

I have an old hp that i installed ubuntu on and I was wondering how I can turn it into a real router. By real router I don't just mean broadcast the internet but use security software, configurations, ...
3
votes
1answer
286 views

How does “Drag and Drop” work in the X window system on Linux?

I'm an old-school dinosaur, and I'd like to understand how drag and drop works on the X window system under Linux. Is it build into the X protocol? Is it a function of the window manager? Do ...
1
vote
1answer
270 views

Seeking Linux window manager, programmable, mouse optional, drag and drop photos

I've been using fvwm for over 20 years. But it doesn't support drag and drop, and I would like to be able to drag and drop photos from some sort of photo viewer into Chrome. I have no idea how drag ...
2
votes
1answer
308 views

Add Windows Vista to the grub menu

I had Windows Vista installed on my computer and created a partition to install Fedora 15. I chose the option to install fedora on any free space, so it should have installed on the empty partition. ...
0
votes
0answers
343 views

usb stick no longer working

One of my USB-sticks suddenly stopped working. I get the following errors in Linux: sudo dd if=/dev/zero of=/dev/sdc bs=512 count=1 dd: writing `/dev/sdc': Input/output error - sudo mkdosfs -F 32 ...
6
votes
2answers
557 views

Why can't I just copy a bootable CD to a USB drive and boot from it?

I would like to understand the following: I have a Debian installation CD that I can boot from. Now I copied that to an USB-stick using dd dd if=/dev/sr0 of=/dev/sdc bs=1M The CD-image should ...
3
votes
1answer
172 views

“Breathing” sound from Linux File Server

I have a Ubuntu file server and it makes the oddest sound. I can hear a HD making a "breathing" type sound, like the disc spins up for a moment and then cycles down. It happens on a very regular ...
13
votes
1answer
7k views

What do the power management tools in Linux do? (acpi, pm-utils, etc…)

I am really really confused about the power management tools available for Linux: I have Arch Linux with XFCE on my laptop. The guides on the the Arch Linux wiki list acpi acpid pm-utils cpufreq ...
0
votes
1answer
5k views

Connect from Linux command line to FTP server with proxy

I want to connect to an FTP server from the Linux command line. The server is configured behind a proxy. If I call: echo $ftp_proxy I get a result like this: abc.def.ghi.jkl:8080 If I call: ...
2
votes
1answer
100 views

What vimrc should I use in Linux?

I have installed vim by sudo apt-get install vim Now I want to customize it, but there are two vimrc files – one in /etc, second is in /usr/share folder. Both have a vimrc file. Why are ...
2
votes
1answer
749 views

What is an easy way to share screen / voice chat on Linux?

Currently I'm using Arch Linux. I'm more used to Linux now, but for communication, I still have some problems: My main software which I use on Windows is Skype and TeamViewer to share screen / voice ...
2
votes
2answers
12k views

How to install software RAID using Mint Live CD

I wish to install Linux Mint 11 with RAID 1 for my /home. I was wondering if I can install RAID 1 during the installation from the Live CD. I have managed to set up RAID from the Live CD and install ...
2
votes
2answers
3k views

Why does Linux Ubuntu/Mint lack a root account?

This is a question about Linux Ubuntu (and Mint). As a new user to the Linux system, I was interested in the fact that Ubuntu doesn't allow the PC owner to be root/administrator. Regardless of whether ...
1
vote
2answers
412 views

Samba/cifs shares on Linux

I'm trying to setup 2 samba shares (actual Linux permissions on them are 777): Volume_1 (cifs username is firstUser) Volume_1/someSubDir (cifs username is secondUser) I get this error when second ...
37
votes
8answers
133k views

How to upload one file by FTP from command line?

I need to upload a single file to FTP server from Ubuntu. This operation should be done in a script (in non-interactive mode). What is the right syntax for ftp? I'm trying this, to no avail: $ ftp ...
3
votes
2answers
1k views

How to make a floppy image and overwrite the MBR

I am trying to make a floppy image with a working file system so that I can test a 2 stage boot loader. When I attempt to mount the floppy and then cp the second binary over to it, mount gets all ...
0
votes
1answer
1k views

Bridging network interfaces in Linux

I have two physical NICs (eth2 & eth3) with eth2 connecting to the home router/dhcp server and eth3 connecting to another machine which needs access to the internet. I'm trying to create a bridge ...
3
votes
1answer
274 views

Secure screenlocking with X and tty login

I choose not to run a login manager on my systems, instead opting for a tty login and then invoking xinit manually (slightly long story, it makes my life a lot easier to have a bunch of environment ...
2
votes
1answer
198 views

Always create files/folders but only write to those the user owns

I need 2 Linux users to share a folder. Within this folder, users should always be able to create files and sub-folders and write into any sub-folder (whether they own it or not). However, they should ...
6
votes
3answers
17k views

How to set Debian to automatically update time and date?

I have an old computer and BIOS counts the time slower than real ;) So, how can I set my OS to update the time automatically using the internet? If it updated the time only during booting, it would ...
4
votes
2answers
283 views

How do I install a package and its depencies with dpkg? [duplicate]

Possible Duplicate: Install dependencies for a dpkg package? dpkg -i package.deb Doesn't install package if it has not-installed dependencies. What parameters do I miss to install that ...
2
votes
2answers
518 views

Remembering last window position by window manager or force it via xorg option parameters

Guys how come that window position of apps on screen is "remembered" only for some of them ? When you close it at x y wigth height and then start again. chrome, pidgin, xchat works, but Dolphin, ...
0
votes
0answers
341 views

A way to stream from a v4l2 device?

I have a Arch Linux server and I'm currently using the mjpeg format to stream a security camera. The problem is that mjpeg is a bad format in terms of compression. It compress frames individually so ...
1
vote
0answers
771 views

Cannot change Touchpad settings in openSUSE on HP Pavilion dm4-2015dx

I'm running openSUSE 11.4 on a HP pavilion dm4, with the kernel updated to 3.0.1. I've had many hardware/drivers issues, but I managed to solve them all except for the Touchpad drivers. The Touchpad ...
2
votes
1answer
374 views

What's to stop somebody from creating a setuid-root script on a flash drive, then putting it into another person's computer and getting root access?

What's to stop somebody from creating a setuid-root script on a flash drive, then putting it into another person's computer and getting root access? I assume there's some kind of protection against ...
1
vote
0answers
77 views

How do I set the meta key with the meta convert feature in most *nix terminals?

.Xdefaults: xterm*eightBitInput: false This command apparently allows you to use a meta key + something to enter vi editing mode in a linux terminal. But what is the meta key and how do you set the ...
3
votes
1answer
604 views

Can't ping another Teredo client behind the same NAT

I have 2 computers that are about as similiar as they can be Both run Fedora Linux 15 x64 Both are behind the same IPv4 only NAT (my house) Both run Miredo (Teredo Tunneling) and have unique ...
3
votes
1answer
520 views

Why doesn't GRUB see my SSD partition?

I have a HP nc4400 laptop with an SSD drive in it. Sometimes when I reboot I get a There is no such partition. grub rescue > prompt. If I power cycle the laptop all is good and GRUB is able to ...
0
votes
2answers
486 views

Another application besides ifconfig to change MAC address?

I have to change my MAC address in order to get an IP lease via DHCP. But almost no installer CDs have ifconfig and dhclient. ifconfig eth0 down ifconfig eth0 hw ether 00:22:15:C0:27:23 ifconfig eth0 ...
0
votes
3answers
2k views

How does route -n work in Linux?

I can understand the output of strace route -n, but does route really read any of the files in /proc to get the routing table? Also, if the routes and IP addresses are stored under /proc, why doesn't ...
1
vote
1answer
566 views

Unix tool to monitor too many open files?

I'm looking for a tool which can monitor whether a process is near limit of maximum open files.
4
votes
3answers
3k views

Control linux console session keyboard over ssh

I have a logitech wireless keyboard/mouse, but just lost the tiny usb wireless receiver. I want to use my laptop as the keyboard for the other machine (Ubuntu 10.10) until I replace the keyboard and ...
1
vote
1answer
67 views

Troubleshooting Rolling Reboots on Desktop Machine

I have a machine running Ubuntu that reboots itself every 20 minutes or so. I watched the output of the sensors command and none of the thermal sensors or high (about 38.0C). What else could cause ...
2
votes
1answer
3k views

Is it possible to use Linux USB drivers on Mac OS X?

I have a USB device that I use on a daily bases and it Linux and Windows drivers. I would like to use this device in Mac OS X (meaning not through a VM). Is it possible? Note that the drivers ...
102
votes
5answers
347k views

How to install the real Firefox on Debian?

Debian 6 ("Squeeze") uses a rebranded version of Firefox called Iceweasel. It, however, lacks plugin support, and most of my favorites don't work. So what is best way to install the "real" Firefox on ...
25
votes
4answers
35k views

How do I find (and kill) process running on a certain port? [duplicate]

Possible Duplicate: Finding the process that is using a certain port in Linux I'm using Ubuntu Linux 11.04. How do I write a shell script expression that will find the process running on ...
15
votes
1answer
22k views

When creating a symbolic link, how do I troubleshoot 'too many levels of symbolic links'?

I'm trying to create a symbolic link on Ubuntu 10.04 it says: me@laptop:~/PHPUnit$ ls assertions.php LICENSE PHPUnit README.markdown build.xml package.xml phpunit.bat ...
1
vote
1answer
5k views

How do I join 2 variables in a bash script?

I have $db and $DATE set in my bash script, then I need to join them like this: mysqldump --user=usr --password=pss --databases $db | gzip > /backups/sqlNew/$db_$DATE.sql.gz; Unfortunately, that ...
2
votes
1answer
1k views

What are the default fstab mount parameters in Debian?

I've accidentaly corrupted my fstab and cut the ends of lines. There are now disk uid, mount point, filesystem for root and swap, but the mount parameters are missing. The system boots as readonly. ...
1
vote
1answer
821 views

Force firefox to use different library

I'm trying to upgrade to Firefox 5 on RHEL5, and am getting the following error: ./firefox-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ...
2
votes
2answers
2k views

OpenBox - what is dock in ObConf?

I try to customize OpenBox. In ObConf i see tab Dock and there's set position top left. But i don't see anything there. So, what is that Dock?
2
votes
1answer
377 views

Does it cause any harm to use dual Operating Systems like Windows and Linux in terms of losing data?

I have Windows 7 working on my laptop. I have 20GB space unpartitioned. I want to install a flavor of Linux like Fedora or Ubuntu in that space, but I have heard that keeping a dual OS configuration ...
2
votes
3answers
1k views

How to ssh to a linux server behind corporate firewall?

My company has a linux server (CentOS 6 VM) behind a corporate firewall, I have full root control of the VM, but I have no control over the firewall. There's an ssh server running on it, and I can ssh ...
1
vote
2answers
4k views

Ubuntu/C++ : Make directory in /usr/local/bin/

I usually use mkdir function to make directory (e.g mkdir("/home/dhw/test", S_IREAD|S_IWRITE) ) But I can't make directory in /usr/local/bin. I guess it is problem with authority. I already know I ...
2
votes
1answer
2k views

Ubuntu Linux froze in VirtualBox

I am working on the newest version of Ubuntu Linux on VirtualBox under a 64-bit Windows 7 host. When I was working, VirtualBox froze, and I hadn't saved my work in Ubuntu. What should I do? (This ...