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
7k views

Writing a script for ash?

My VPN is behaving funny sometimes, and I have to restart it often. I wanted to write a script which does that for me. It doesn't have to be anything fancy, just a shortcut for the commands I have to ...
4
votes
4answers
10k views

How can I permanently fix my date synchronize problem in linux?

Ubuntu 7.10 server i386 clock/date/time won't stay in sync. Are their log files I can view to tell when the clock changes? For a temporary fix, I created a file in /etc/cron.hourly: #!/bin/sh ntpdate ...
5
votes
2answers
9k views

How can I use quotas in samba?

I have a simple set-up with just one public share on my configuration file. How can I restrict its size?
0
votes
1answer
51 views

Is it possible to boot live USB with latest Kubuntu version 9.10, as is possible with Ubuntu?

I see a few guides for Ubuntu on a thumb drive, but will it work for Kubuntu?
2
votes
0answers
2k views

How to send Windows key over VNC to Linux from Windows?

Alright, so I'm running Linux with AwesomeWM on my home machine. I'm running x11vnc on that machine and I want to connect to it from a windows machine. So it suffices to say that I need the Windows ...
2
votes
3answers
6k views

How are Linux environment variables DISPLAY and XAUTHORITY used?

How are these 2 variables used by the X Window system? On my Ubuntu 9.10 host, if I set XAUTHORITY to anything and then try to run a GUI program, I receive a GTK-WARNING ***: cannot open display ...
5
votes
1answer
2k views

Socat and rich terminals (with Ctrl+C/Ctrl+Z/Ctrl+D propagation)

socat - exec:'bash -li',pty,stderr,ctty -> bash: no job control in this shell What options should I use to get fully fledged shell as I get with ssh/sshd? I want to be able to connect the shell to ...
0
votes
1answer
689 views

boot from encrypted filesystem without user interaction?

Is it somehow possible to boot a Linux operating system from an encrypted filesystem/disk without having uesr interaction? Background: I am preparing a VmWare Image for shipment to a customer. This ...
12
votes
4answers
13k views

How can I run a program remotely via SSH but display locally

Is it possible for me to SSH to another server in Linux (Ubuntu), run a program there but display it locally? And is it possible for me to SSH to another server in my terminal, and configure it so ...
2
votes
7answers
8k views

Ubuntu 10.04 install - frozen at splash, no errors

Has anyone else come across this? After about as much of a fresh install as i can muster without buying new drives, and after walking through the amd64 alternate install with ease, and after a ...
3
votes
5answers
271 views

Should I switch to Linux for development? [closed]

Is there any advantage to use a Linux machine to develop instead of Windows? Everyone at work tells me to switch to Linux, since I'm developing hard-core on linux anyway. I manage 40 servers, and do ...
0
votes
4answers
1k views

Ubuntu: Memory Leak

I'm having trouble finding from where this memory leak is occurring. I'm running Ubuntu 8.04 LTS on a Dell XPS M1530. I have 3GB of ram and I'm finding after about an hour or so of use top shows me ...
1
vote
3answers
929 views

su using here document

file: test.sh who su superuser <<BELUGA mysuperpassword BELUGA who $ ./test.sh just waits for input. What am I doing wrong? Is there a way to automate this?
0
votes
2answers
2k views

Show default linux printer?

Linux command lpadmin will set the default printer. How does one show what the default printer is from the command line?
1
vote
1answer
1k views

How to change time (Advanced Eastern Time) on Slackware 8.1

I have a linux (Slackware) machine and the time/date is like, June 23rd 2003, 10:00am (It's 11 here) and I am not able to set the time to have it correct. I change the timezome to Montreal but the ...
4
votes
5answers
725 views

Automatically wake up notebooks not on the ethernet

I am looking for an automated backup system and I like bacula. I have 3 Notebooks and a Desktop computer that need regular backup. Now I don't want to let them run all night just to do the backuping, ...
2
votes
2answers
200 views

What emulator / VM software can I use to create a Win32-portable Linux Guest?

I want to create a portable VM setup so that I can boot a Linux install regardless of which Windows XP / Windows 7 host machine I am on. I was looking at Qemu but it doesn't appear to have a ...
2
votes
1answer
1k views

Dual-screen Multimedia Control Suite for Linux (like Screen Monkey)

I'm looking for some linux software to manage and control a dual monitor/multi screen setup for use in professional-like presentations (ie: monitor1=control, monitor2=projector/audience). I have the ...
1
vote
2answers
5k views

How to make Slitaz USB persistent

I installed Slitaz on a USB pendrive. However I can't figure out how to make it persistent automatically. There are different sources telling me different ways to make it persistent. One told me to ...
1
vote
2answers
2k views

Permission denied when trying to execute a binary burned to a CD-R

On an Ubuntu 9.10 (Karmic Koala) machine, I burned a CD from the command prompt using: cdrecord -v speed=16 dev=0,1,0 /FPS.iso The CD now contains an executable and some files. I tested the CD by ...
3
votes
1answer
754 views

How print multiple independent pages in one print job?

How can I combine multiple single page prints into a single print job? For example, using Firefox on Linux one can print a web page such that each sheet of paper has four pages printed upon it. I ...
5
votes
1answer
8k views

Determine what files are being accessed by a process

How would I find out all the files a particular process accesses? I am using Ubuntu 9.04.
2
votes
1answer
53 views

Backing up the master boot

I want to back up the master boot on my hard drive, in case something screws it up. What software do you recommend for this? My first idea is to boot from a Linux CD and dd the first 512 bytes of ...
6
votes
6answers
6k views

Manual Duplex printing for Mac (and/or Linux)

My printers don't support automatic duplex printing. I'm looking for a solution for my Mac and Linux computers that I've seen with most Windows printer drivers: Check "Manual duplex" in the printer ...
1
vote
1answer
402 views

One incorrect SSH login attempt locks me out for an hour

I've never observed this problem neither did any of my colleagues trying to SSH into the same system. If I try logging into my server using a wrong username and then press ^C to terminate or exhaust ...
0
votes
5answers
178 views

Using Windows 7 with Linux - Tools for Multibooting?

I'm looking to install a Linux distro on my Windows 7 machine. Could anyone suggest any tools to handle the multiboot? (I may install 2-3 distros to try out)
2
votes
1answer
172 views

unable to install new versions of linux on my PC

I have an MSI-RC410 motherboard with onboard ATI Radeon XPress 200 series Graphics card. I have used OpenSuse-11.0 on my PC for over an year. but when I tried to upgrade to OpenSuse-11.1, I managed ...
4
votes
2answers
7k views

Linux Kernel Messages: ata1.00: status: { DRDY ERR }

I am receiving a lot of these messages. Is my HD going to die tomorrow morning? ata1: link is slow to respond, please be patient (ready=0) ata1: device not ready (errno=-16), forcing hardreset ata1: ...
1
vote
1answer
63 views

What should I do if tar have no “-I” option?

I found "-I" option of tar is only availbe for Solaris, and no countpart in Linux machine, what should I do to realize same operation?
2
votes
1answer
4k views

User Permissions: Daemon and User

I often run into this issue on Linux, and I'd love to know the proper way of solving it. Say I have a daemon running. In my example, I'll use LigHTTPD, a webserver. Some software, like Wordpress, ...
1
vote
1answer
183 views

Load Average runaway

Is there any way to chase down lockups and runaway load averages? Every so often (pretty randomly) I'll get my load average spike up over 5 usually to around 10-15 and sometimes as high as 75 (dual ...
1
vote
1answer
267 views

How can I give names to virtual desktops in xmonad?

I would like the name of a virtual desktop to be displayed when I switch to that desktop.
6
votes
6answers
14k views

linux/shell: change a file's modify timestamp relatively?

My camera produces files like IMG_1234.JPG and MVI_1234.AVI with timestamps on those files. Unfortunately the time wasn't set properly and timestamps are off. I would like to set the file's timestamp ...
1
vote
1answer
1k views

What causes a socket write error (135) when uploading a big file using Transmit?

I am trying to upload a 12MB .wav file on a Mac running Transmit to a Linux box running Apache and get the following error after uploading just 160KB of the file: error-135-socket-write-error Any ...
1
vote
1answer
929 views

Why can't my .cshrc file be sourced automatically?

When I SSH to a certain Linux host, although my default shell is tcsh, the .cshrc file under my home directory is not sourced at all. I can't understand why this happens because from my understanding, ...
14
votes
2answers
8k views

Is there a way in Linux to update the user/group properties without having to login again?

After I edit /etc/group and I add a user to groups it didn't belong to, the user will not be able to use it's newly acquired privileges unless it starts a new session. Is there a command to refresh ...
4
votes
5answers
869 views

How can I create consistent snapshots of tmpfs?

How can I create consistent snapshots of tmpfs or any RAM disks?
2
votes
2answers
360 views

Still about SSD potentials…write and read speed

I have been working on SSD (solid state disk) for several months..Problems and Questions hit my head unexpectedly..Coz i am a virgin in ssd... Especially these days I was testing the write-read speed ...
0
votes
1answer
155 views

How to solve cryptic dpkg error?

I get this message when my ubuntu system was crashed. dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem How to solve it?
0
votes
2answers
376 views

How to recover the ubuntu system?

I istalled the ubuntu virtual machine on vmware. However, one time the disk was full, the system was installing some updates, it quit without giving any message. Now the system is crashed, I can not ...
3
votes
3answers
2k views

How to check for duplicate files?

I have an external hard drive on which I have backed up files several times. Some files were modified between backups, others were not. Some may have been renamed. Now I'm running out of space, and ...
27
votes
6answers
10k views

/usr/local or /opt?

How do you generally proceed for your package installations on Linux, for packages that are not part of your distrib's repos? On my side I am used to install in /opt. But since, I saw this doc on the ...
1
vote
1answer
8k views

How to install missing Sound Drivers in Ubuntu?

I seem to be missing drivers for my Gateway laptop MA7. I have looked in System->Admin->Hardware Drivers, but it does not show up in there.There are also no devices listed in Sound->Hardware. I'm ...
2
votes
2answers
813 views

How can I make Shift-Ctrl act as alt-gr (right-alt) in Ubuntu?

I would like to be able to hit shift-ctrl instead of alt-gr (right alt) on my wireless apple keyboard in Ubuntu. Is it possible to do?
22
votes
5answers
30k views

How can I view results of my cron jobs?

I see so many guides on how to run crontab, but what I need right now is to learn how to Find log files about cron jobs Configure what gets logged
0
votes
1answer
568 views

Linux LiveCD (or LiveUSB) with custom xorg.conf

Is there some Live Linux distribution (on CD, DVD or USB), which allow one to use specific xorg.conf file, i.e. specific X11 configuration? The problem I am trying to solve is to find Linux Live ...
0
votes
1answer
425 views

Restoring the owners on debian system files

Due to my inattention, tiredness (and probably stupidity) i've run "chown -R someuser:someuser /" and now all your base are belongs to us the files on the server belong to one user (lol). After ...
1
vote
2answers
885 views

How do I automatically empty the trash on logout?

Users on a linux (CentOS4) machine I administer consistently forget to empty the trash. Since the people work on big files, this can fill up the /home partition very quickly. Therefore, I would like ...
14
votes
3answers
3k views

Change Linux Console's Default Monitor

Is there any way to specify which monitor the console is displayed on in Linux? Details: I have a 3 monitor setup with 2 video cards. When I boot the computer, the BIOS displays on the PCI graphics ...
1
vote
1answer
790 views

Screen refresh rate in Ubuntu

I am having problems with the refresh rate if the screen . In the the refresh mode of the monitor in the monitor options have only one option 60Hz. I have LG 24 + ATI Radon 3870, and have already ...