A family of Unix-like 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
1k views

Setting up Tor Bridge on Debian VPS via SSH

I have a currently unused budget VPS, and I'd like to contribute to the Tor Project by making it a bridge node in the network. However, I'm having trouble finding a clear and reliable guide outlining ...
2
votes
0answers
2k views

Accessing VM on host machine through IP address

I'm trying to set up a CentOS VM with VMware Fusion and get access to it through the host. I was following a tutorial online for this as this is my first time doing this. When I try to access the IP ...
3
votes
0answers
224 views

Is there a path from OpenSCAD to WebGL?

tl;dr version, Does a software path exist to convert from openscad input to render on a website via webgl? What I'm trying to do is display OpenSCAD created designs uploaded via post on a LEMPy ...
1
vote
1answer
513 views

Unable to ssh to my desktop

I'm trying to ssh from my mac laptop to my linux desktop. I ran ifconfig on my linux desktop (the target machine) and got the ip address listed under eth0 (the machine is connected via wire - not ...
1
vote
1answer
2k views

How do I create a one time use startup script on Linux - Centos 6.x

I want to set a script that will only run one time on a Centos 6.x box and then never run again, since it's going to set some system options based on hardware and then it's all set.
4
votes
1answer
826 views

ubuntu upstart permission error when writing to log on a non admin user

I have a simple upstart script: start on started network-services respawn respawn limit 100 5 setuid www-data exec node /var/testapp/app.js >> /var/log/testapp.log 2>&1 post-start ...
0
votes
1answer
901 views

Internal microphone: no sound level in pavucontrol but record with arecord, pacat -r and audacity work - Skype doesn't

My internal microphone is not working in Skype. The first thing I did was checking if the microphone was found by pulseaudio. I opened up pavucontrol and recognized that the microphone was there but ...
2
votes
2answers
123 views

Is there a programmatic Linux/Unix/Mac way to obtain the dimensions of a JPEG?

Inner Sanctum ~/mirror/images $ file wardrobe_square_90.gif wardrobe_square_90.gif: GIF image data, version 89a, 90 x 90 Inner Sanctum ~/mirror/images $ file wardrobe_square_90.jpg ...
27
votes
1answer
22k views

How do I delete all files smaller than a certain size in all subfolders?

I have a folder with many sub-folders containing small tif files (less than 160kb) which have been merged together in bigger pdf files, together with some big multi-page tif files. I want to delete ...
1
vote
1answer
519 views

How to login to EC2 Linux instance if sudo password is not known?

I am trying to login to my EC2 Linux instance, but someone has changed the sudo password. So I could not install or uninstall any application.
0
votes
1answer
2k views

MFT / NTLDR / NTFS (external drive) damaged after ntfsresize (Linux)

I have had an external USB drive attached to a RaspberryPi (headless), 1.5 TB Volume, 100% partition NTFS. During this question Creating ext4 partition from console, my goal was to change the overall ...
1
vote
0answers
49 views

Linux/KDE and “greedy” hotkeys

I've recently switched to Linux again, and this time I've decided to install KDE. I've set the layout cycling hotkey to Ctrl+Shift, but the problem is that it clashes with every other hotkey that ...
0
votes
1answer
289 views

s2disk does not power off on Debian with kernel 3.10 on Thinkpad

When I hibernate my Thinkpad T61 with s2disk, it does not power off. The problem occurred after migration to kernel 3.10 (3.2 works fine, 3.11 also broken). Any clue how to fix or at least debug it?
0
votes
1answer
112 views

DIff ignore arguments from a file doesn't seem to be working

When I run the following command, it doesn't seem to be ignoring what I specify in the ignore.txt file. I have tried adding some of the arguments with -x, but there are way too many to do that by ...
1
vote
0answers
239 views

Removing/changing default sound card number

I'm guessing my current sound card setup is cause conflicts with other software (particularly Rakarrack) and I ran the aplay -l command: **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA ...
2
votes
1answer
160 views

Arch Linux ARM: Send email after successful ftp transfer

I have a script running on my box that checks every 5 minutes to see if a certain time type was uploaded to a folder on my Ftp server. I would like for it to send an email when the transfer is ...
2
votes
1answer
271 views

Could not perform immediate configuration on 'perl'

I'm trying to upgrade a debian squeeze system to wheezy. I've done an apt-get update && apt-get -V upgrade on squeeze, then changed my source.list to reference wheezy not squeeze. then, ...
1
vote
2answers
2k views

Can't Install CentOS 6.4 from USB

Cannot install Cent OS on a box I build up. Here are the log entries visible on the screen: sd 0:0:0:0 [sda] Write ache: enabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sd ...
3
votes
2answers
971 views

Resolving unix server disk space not adding up

I'm trying to evaluate where my disk space on my unix server is distributed. In order to see disk space current status I'm running: df -h But when trying to evaluate what is taking the disk space ...
0
votes
0answers
665 views

Linux ARP source address wrong, when pinging from different interface

I'm seeing some weird behavior, and was hoping someone could explain to me why this is happening: I have a linux box with two physical interfaces: arnout@arnout-VirtualBox ~ $ ifconfig eth0 ...
2
votes
3answers
642 views

How can I find all files on a folder tree that have a none alpha numeric characters in it

I have taken over from someone else a lot of historic data. However the file names are totaly random and badly formatted IMHO. To start with I want to get a list of all files that contain spaces, or ...
0
votes
1answer
122 views

Limit download over certain filesize through network

This is more of a network question rather than programming but Is there a way to limit a download over lets say 20MB to throttle at 16KB? I am trying to limit files over 20MB to throtle at lets say ...
1
vote
0answers
172 views

How to create Unix tarball with various file permissions inside on a Windows box?

Could anyone enlighten me on how can I create a regular Unix tarball archive (e.g., tar.gz or tar.bz2) on a Windows box in a way that will mark some files in that archive as "executable" (e.g., with ...
2
votes
2answers
386 views

Detect if the display is valid in Linux

Is there a way to detect if the display is valid in a controlled way? For example if I set $DISPLAY=anydisplay or $DISPLAY=0.0, is there a way to check if anydisplay or 0.0 is a valid display which I ...
33
votes
2answers
115k views

Creating ext4 partition from console

I have a volume /dev/sda1 (1.2 TB) containing an NTFS partition using 0.6 TB space. I want to make an ext4 partition in the remaining 0.6 TB space. I have not tried anything yet because I don't want ...
6
votes
1answer
144 views

List of files under a directory in name order

I wanted a list of files under a directory in name order to pass to an image viewer. I am using find $PHOTODIR -iname "*.jpg". Unfortunately this produces the images out of order. On a USB key ...
1
vote
2answers
523 views

Copy directories based on day they were created

Can you tell me any command to sort / copy / remove the directories which have been modified (or created, although Linux does not show it) on a particular date i.e. yesterday and they are inside ...
1
vote
0answers
376 views

Compile with openssl-1.0.1e but linked against old glibc

Desirable result: compile a binary with statically linked openssl 1.0.1e but dynamically linked glibc, stdc++, etc. Binary should run on most servers, for example Ubuntu 11.04 or RHEL 6, CentOS 6.4. ...
1
vote
4answers
2k views

How to revert to default google search from google.com/cse?

I have a problem with Google search in both Chrome and Firefox, when I type a search query, it will search at http://www.google.com/cse? rather than at https://www.google.com/#q= or at ...
2
votes
1answer
6k views

Permission denied using Rsync as root

All topics that I've come across involved rsync over ssh or rsync using a user with restricted access. I'm getting permission denied (13) errors as root. Here are my config files: /etc/rsyncd.conf: ...
1
vote
1answer
42 views

Why doesn't stdin from a file work in case of scp?

I'm trying to input a password to scp automatically from a file called passwd with a command scp folder/ user@server.com:./ < passwd but it's not working. I know we can use password-less SSH as ...
4
votes
1answer
5k views

How to easily break up a text file into pieces smaller than a threshold?

I have some text files that are 100 to 300 MB in length that I want to view in Emacs, but my Emacs gets into some performance issues opening and traversing such large files. Therefore, I'm looking ...
2
votes
1answer
233 views

copying a file to a hard link

I recently got bit by a misbehaving in a bash script of mine and was wondering: is this the expected system behavior, or is it a bug what are the ideal workarounds Essentially, the problem boiled ...
0
votes
0answers
765 views

sendmail does not send mail on Amazon Linux server

I am managing several servers at Amazon EC2, and one of them is not sending mail at all, strangely. All of them were set up using default Amazon Linux 64bit. The mail agent is default sendmail, and ...
1
vote
2answers
191 views

two network configurations in Linux?

I have two Ubuntu Desktop boxes that use a wireless interface to connect to a Wifi network I have no control of i.e. DNS, protocols, authentication etc. Now I would like to have a direct cable ...
0
votes
1answer
652 views

Raspbmc Truecrypt mpount volume: Failure to communicate with kernel device-mapper

I am trying to mount a 3TB external Volume with Truecrypt on my Raspberry Pi (Raspbmc). I had the same Problem with raspbian running on the Raspberry Pi and dont know how to solve it. I found many ...
0
votes
0answers
498 views

CentOS box does not have internet connection, eth0 active and no errors

I am having an impossible time figuring out why my new CentOS box is not getting internet connectivity. Strangely enough, it used to work fine and I did not change any of the configuration on my end ...
0
votes
0answers
116 views

Create FTP account under standard user

I run multiple client websites on a VPS purchased from Dreamhost. When I initially set up this VPS, I only required one user. I created a user called "thoughtspace" with the home directory at ...
-3
votes
1answer
1k views

Install Centos on PC using only USB with LiveCD

My laptop cd isn't working. I have a USB which has Linux Live on it. Am I able to use this to install a fresh copy of Centos on the laptop? If so, how?
0
votes
0answers
1k views

ClipBucket file for preset 'normal' not found, failed to stat file in ffmpeg

I am trying to fix my ffmpeg problems. When I upload any video it gives me an error that the file for preset 'normal' was not found, and it failed to stat the file. Any idea? Started on 2013-09-10 ...
0
votes
1answer
695 views

'zoom out' on linux/VNC viewer

Until recently I have used vnc viewer to scale my desktop down. I would start my server with a huge desktop size, then set my viewer to fit to scale. This effectively shrunk not just the text but ...
1
vote
1answer
227 views

Stuck in a while-loop in GNU/SU (seismic unix)

I'm new to programming. I have this loop (it's part of a data processing script) and I have it all good until this section cause I can't figure out why it stay looping in the second 'while' Take a ...
3
votes
1answer
2k views

apt-offline on Windows

Following this tutorial, I don't know how to reproduce step 2 on a windows machine: apt-offline get C:\apt-offline.sig --threads 5 How do I install apt-offline on a Windows machine so I can run ...
0
votes
2answers
1k views

How to install .exe on ubuntu 12.04

I am a complete noob at Linux so the simplest answer is the best answer! I need to use Galfit on my laptop. I made a virtual machine (ubuntu 12.04 on vmware player) so I could test if it works ...
0
votes
4answers
368 views

Dual Boot At the Same Time

Assume I have a Linux host, with Windows-7 installed in a partition on the same drive. Is it possible to boot into Linux, save its state to memory (Hibernate, essentially) then boot up Windows right ...
2
votes
1answer
1k views

ps and top give different CPU usage

I've seen a few posts similar to this, most notably here, but wasn't quite satisfied with the answers. I'm comparing top and ps results on a specific process and see huge discrepancies in CPU usage. ...
2
votes
1answer
507 views

Recursively delete all .exe files with the same name as the containing folder

I want to delete all .exe files in the current folder and all the sub-folders. I read that find . -name "*.exe" -exec rm -f '{}' \; will do, but I want to do the delete only if the container folder ...
3
votes
2answers
2k views

ls command different output in shell script

I have a strange behavior on my linux box and i want your advice. I want to capture the output of this command ls -log /some/directory Running command from command line the result is OK: ...
0
votes
0answers
135 views

Openbox: run program and exit when it closes

I need a way to open a program in its standalone X server (for the RaspberryPi)... Sadly I can't use startx directly with my app as a client because it has some weirdness... startx /path/to/my/app ...
0
votes
0answers
322 views

postfix on Linux won't restart after kill postfix-process

Briefly: I had a problem with postfix. That is why I killed the process. Problem now is that I can not start it again. How can I solve this? And what additional information do you need? Output from ...