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

6
votes
3answers
5k views

How do you find out a laptop screen panel manufacturer / model with Linux? (Samsung, LG, Chi Mei, etc)

How do you find out a laptop screen panel manufacturer / model with Linux? (Samsung, LG, Chi Mei, etc) + model number? I've tried using this command "lshw" in Ubuntu, but it doesn't seem to have ...
0
votes
0answers
169 views

linux rsync iphone photos on connection

I'd like to be able to automatically run a script that rsync's my iphone's photo directory to a computer directory in linux whenever I connect via usb. The rsync should be straightforward, assuming I ...
0
votes
1answer
118 views

Cant write to directory when not logged in as root

I am switching a site over to amazon ec2 and the pages that allow a user to upload a file to a directory arent working. When Im logged in as root via ssh I can 'touch' a new file to there but not when ...
4
votes
1answer
478 views

Escape the death of the OOM killer in Linux

Doing a bit of research I found it it is possible to tune or even make certain processes immune against the OOM killer by poking a value into /proc/pid/oom_adj I do of course need to find pid for my ...
0
votes
0answers
426 views

Change AeroFS folder location

I'm using AeroFS on a Linux/Windows dual-boot computer, and I need to find a way to change the location of the AeroFS folder so that it can be accessible from Windows as well as Ubuntu. Is there any ...
0
votes
1answer
378 views

Mounting local external hard drive on a remote machine

I have an external hard drive, which stores extremely large files. This is LOCAL and is connected to my laptop/desktop. I run many different programs on a REMOTE Linux server. I need to use some of ...
3
votes
1answer
296 views

How to reroute sound from one hardware output to another using software?

My notebook had some champagne spilt on it a long time ago. As a result of this disaster the internal speakers went silent and don't make any sound, so I was forced to use external speakers via ...
1
vote
1answer
829 views

Unable to connect to computer on local network although internet connection is working fine

I am having difficulty connecting wirelessly to my Linux computer with my Android mobile device. I have disabled the internal firewall of my computer and opened up access to it with port 80 on my ...
0
votes
1answer
557 views

How to delete Linux partition from computer?

I am running Windows Vista and Linux on my computer. I want to delete Linux. I know how to get this far: Log into Windows Vista right-click on My Computer Click Manage Choose Disk Management listed ...
0
votes
2answers
4k views

Connect to samba server remotely

I have a Samba server say at "abstergo.m12.in" I'm fairly new to Samba as I usually use SFTP for file transfers but I wanted something more Windows Native. I used the samba config from ...
2
votes
3answers
1k views

what is diff bentween xargs with braces and without in linux

I want to know what is the difference between this ls | xargs rm ls | xargs -i{} rm {} Both are working for me
3
votes
1answer
4k views

Turn off write cache on all USB External Drives (Debian / Ubuntu / Linux)

How do you turn off write cache permanently for external USB drives in Linux (I'm using Ubuntu)? I've tried: Command line method : hdparm -W0 /dev/sdb <---- that works but only for the current ...
3
votes
1answer
4k views

How to make Windows XP USB flash install media under Linux? [duplicate]

I have: ISO image of Windows XP install media 4 GB USB flash drive no CD/DVD drive Linux (Linux Mint 14) installed Note: WinToFlash is for Windows OS. UNetBootIn doesn't work unless you've ...
4
votes
3answers
424 views

What Unix-like filesystem can easily and safely be mounted on both the Mac and Linux?

For a USB drive I'm looking for a file system (and/or fs creation options) that can be mounted without third-party drivers on both a current OS X (>= 10.7.x) and a recent Linux kernel (say stock ...
0
votes
3answers
83 views

directory in /proc/sys/net/ipv4/config have no hard links?

Why the directories inside /proc/sys/net/ipv4/config have no hard links? ls -l /proc/sys/net/ipv4/conf total 0 dr-xr-xr-x 0 root root 0 Dec 31 08:27 all dr-xr-xr-x 0 root root 0 Dec 31 08:27 default ...
0
votes
2answers
495 views

How to redirect output and exit on command failure?

This is how I log both stdout and stderr in my scripts (usually cronjobs): #!/bin/bash mylog() { echo "[`date '+%Y-%m-%d %H:%M:%S'`] $1" } ( mylog 'start' some-command || mylog 'error' ...
2
votes
1answer
2k views

Installing linux onto late 2008 Macbook Pro and getting corrupted screen

This is a somewhat general issue that I've been running into while trying to install Linux onto my late 2008 Macbook Pro. I've tried the following distros: Linux Mint 10 Linux Mint 14 Ubuntu 12.10 ...
0
votes
1answer
273 views

Double authenitcation needed with mounting a Nas In Linux Mint

I use the command and am prompted twice: sudo mount //192.168.0.12/volume_1 /mnt/stableNas/ [sudo] password for {myUserName}: Password: I use the same password This works great, but I am ...
0
votes
1answer
322 views

aufs module not listed in lsmod

I compiled my kernel(3.0.0+) from source with aufs support and aufs is currently working on my server. Why aufs module doesn't listed in lsmod? lsmod | grep aufs shows nothing.
0
votes
1answer
51 views

Get tomcat to start context(s) immediately

How would I get Tomcat to start/init a context immediately when the service starts? Currently the context is only loaded and initialized on the first page view. Is this something that has to be done ...
1
vote
1answer
205 views

Is there a program like Ubuntu's “System Testing” tool for other Linux distros?

Ubuntu has a program called "System Testing" which prompts the user to test various elements of their system (sound through headphones, sound through system speakers, network connectivity, available ...
0
votes
1answer
480 views

Network conf - ever time must set ifconfig

I need to autoconfigure network. Network Manager is removed because I need lightweight system. After system starts networks doesn't work. #service networking status networking stop/waiting #service ...
0
votes
1answer
518 views

Mint LXDE autostart doen't work

I need to autostart skype. /etc/xdg/autostart/skype.desktop - not working /etc/xdg/lxsession/Mint-LXDE/autostart + line @skype - start skype twice /etc/rc.local + line skype - not working Any ideas? ...
4
votes
3answers
5k views

linux shell wc -c count characters +1

I used the command wc -c to count the number of characters but it gives me a wrong number, number of characters plus one as an example: echo "k" | wc -c it gives me 2 characters so why not 1?
0
votes
2answers
406 views

How to create a local backup?

I have a linux (Ubuntu 12.04) web server and I want to create a cronjob to generate a differential backup, locally (in the same machine). Is that possible? With differential I mean that the first ...
1
vote
0answers
348 views

Can you run “fsck.ext2 -fycc /dev/mapper/truecrypt1” on an unmounted Truecrypt device?

Can you run "fsck.ext2 -fycc /dev/mapper/truecrypt1" on an unmounted Truecrypt device? The "extra c" in the -fycc causes it to do a supposedly "non destructive" read-write (Similar to what ...
46
votes
1answer
8k views

If I buy a computer with Windows 8 and Secure Boot, will I still be able to install Linux?

I've heard a lot about how Microsoft is implementing UEFI Secure Boot in Windows 8. Apparently it prevents "unauthorized" bootloaders from running on the computer, to prevent malware. There's a ...
5
votes
4answers
2k views

Azure VM (OpenLogic CentOS 6.3): no kernel-headers

I have set up a VM on Windows Azure (Openlogic CentOS 6.3 - of one predefined images). The problem is I see no kernel-headers package and it can't be installed (yum doesn't fine it). Thus, anything ...
1
vote
1answer
257 views

Sort columns next to last column in Linux

I have multiple files: File 1 a 1 2 b 3 2 File 2 a 2 2 3 b 4 3 3 File 3 d 3 1 2 4 e 4 1 1 2 I'd like to sort the files according to the column next to the last column, after sort: File 1 ...
0
votes
2answers
138 views

Count amount of received data - gnu/linux

How Can I count the received data from the internet. I want to run my bash script and count how many MB it receive. It could be stats for whole system.
1
vote
0answers
439 views

How to define a virtual screen (extending current desktop) for VNC?

How can I define a virtual screen/workspace to extend my desktop to which I can connect using VNC. I know vnc4server allowed you to modify the xorg.conf to define a screen, but this is not available ...
0
votes
0answers
34 views

Execute permissions set but still getting 'No such file or directory'

I'm trying to run a binary file from bash but I get the above error when I try ./launcher from the directory it's located. Execute permissions and owner are all in order so what's the issue?
0
votes
0answers
122 views

Setting up Fedora alongside Windows 8 with special considerations

I've recently found myself much more comfortable using the console and other tools on my Mac than their counterparts with Windows. Specifically, these tools include LaTeX/xindy, emacs and its load ...
1
vote
1answer
459 views

Fedora Is Asking For Username and password at boot

When I turn my computer on GRUB auto loads fedora and I get Username: then Password: and when i type them in i get error: access denied Failed to boot both default and fallback entries then i get ...
3
votes
0answers
435 views

intel/ati dualhead black monitor - brightness set to 0 (acpi issue?)

I'm using Arch Linux, but had this issue with other distributions as well: on HP Pavilion G6 laptop with Intel and Radeon graphic card. When I modify the xorg.conf file to enable dualhead (such as: ...
0
votes
1answer
3k views

Can't edit '/etc/network/interfaces' file through bash script in Ubuntu [duplicate]

Possible Duplicate: sudo permission denied I got need to edit /etc/network/interfaces through bash script, I am doing something like below... sudo echo something > ...
1
vote
0answers
1k views

mint4win.exe doesn't works on Linux Mint 14 (32-bit) on Windows 7

I am a recent fan of Linux Mint MATE and I found that its a nice work. Recently I have been facing an issue with the mint4win.exe. The package as a whole works since I have driven the OS live using a ...
5
votes
1answer
198 views

Is there a way to distinguish the output from a remote command from the output of ssh itself?

I execute a remote command thru ssh and I need to parse the output of that command. The remote stdout/stderr are forwarded fine by ssh back to my local box on the stdout/stderr of my local ssh ...
1
vote
2answers
45 views

how to use crontab with &

I used the crontab to execute a script, while the script had to do some jobs in the background in this format: for i in {1..100} do do_job & done However, the do_job won't be executed by ...
0
votes
2answers
461 views

How to delete all files & directories in a directory including hidden ones except .htaccess?

As the question suggests, I have a situation where I have a folder that users can upload weird stuff there. Have a cron job set up to clean this folder every a few hours. It has a .htaccess for ...
0
votes
2answers
587 views

Write permission on binary/executable files: Are they necessary?

I thought: echo hello world > /usr/bin/firefox would display the message in the browser. Nothing happened. Then I tried: echo hello world > /usr/bin/kwrite to see if kwrite opens with 'hello ...
1
vote
1answer
81 views

apt-get only downloading gnome classic

For the past few weeks, I've been having a problem with my two laptops. Somehow (both on linux mint 13 and ubuntu 12.04) I have been trying to download gnome 3.4 shell. Unfortunately it would only ...
-5
votes
1answer
87 views

Boot Linux directly into an Adobe Air application [closed]

I am looking for a way to boot Linux directly into my Adobe Air desktop application. I don't want the machine to be able to do anything else beside running my application, except for being able to ...
1
vote
1answer
80 views

Specify directory within zip file when growing archive

I have a file at /tmp/mylib.jar which I would like to put into the lib directory contained in myarchive.zip. I know I can use the -g option to grow the archive, but I'm not sure how to specify the ...
1
vote
2answers
606 views

Error when booting ISO partition from syslinux

My partition table is as follows: /dev/sda - /dev/sda1 Arch Linux (200G) - /dev/sda2 Swap (16G) - /dev/sda3 Recovery (1G) - /dev/sda4 Extended - - /dev/sda5 Arch_201212 (256M) - Free Space (15G) I ...
0
votes
1answer
41 views

what's the easiest way to match up /dev/sdx with a device mounted in /media?

I can never remember which device is what so when it comes to partitioning, etc. I'm afraid of messing up the wrong drive. Automounted devices like external drives don't seem to turn up in fstab. So ...
2
votes
1answer
8k views

httpd: bad user name apache

on centos when I enter service httpd start or restart server gives Starting httpd: httpd: bad user name apache [FAILED] I tried to add ...
1
vote
1answer
797 views

How to crop image in linux

Ok I know about the convert tool and I am wondering can it be used to say just remove the bottom 50 pixels in an image leaving the rest of the image intact. Can it be done in batch? Lets say i have ...
2
votes
3answers
226 views

How to prevent a user from viewing the entire file-system?

I've set up SFTP/SSH so that a user can only put to their home directory, however, they can still cd to all other directories and get files that they see. How can I prevent this? EDIT: My ...
1
vote
1answer
111 views

How do i setup this ip for two location which will be using a same gateway as different subnet?

I have two public IP, they have not given me any subnetmask and gateway for those two. But in seperate they have given me one subnet mask/gateway as below: 217.91.227.x 217.91.170.x To be use ...