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

How to change the default command character in linux screen from cntr+a to cntr+t

I have been using screen in Linux and in some systems I get the default command character in Ctrl+T, but in others I get Ctrl+A. How can I change the configuration in those with Ctrl+A to Ctrl+T?
1
vote
2answers
6k views

How to auto commit to my git repository using cron?

I look into a lot of answers about this subject, but something is wrong here, let me explain. I create this script, to make my cron cleaner :) #!/bin/bash cd /home/valter.silva/Development/git/...
1
vote
1answer
131 views

Let a user to run a command as a member of a group he does not belong to, using `sudoers`

How can I let a user U to run a command /usr/bin/C as a member of a group G (while he does not belong to the group G), using sudoers on Debian Wheezy?
1
vote
2answers
490 views

howto change screen hardstatus dynamically with format, from shell?

howto change screen hardstatus dynamically with format, from shell ? I successfully configured screen using 256 colors and tabs and so on, here is my .screenrc : http://pastebin.com/g8XbMWBH I use ...
1
vote
3answers
3k views

UPnP / DLNA Render on Linux

I have a NAS serving as DLNA server, now sometimes, laid back as I as I am, I'd like playing a movie on my Linux Desktop and control it via DLNA App from my phone. I tried VLC and other media players ...
1
vote
1answer
232 views

Better way to extract a substring in bash

I have a list of mp3 files named like so: $artist/$album ($year)/$tracknum $title.mp3 Many of these tracks have incorrect or missing tags, which I am correcting through the use of id3v2 and regex ...
1
vote
1answer
2k views

Connect OpenVPN client through Tor's SOCKS port (Linux)

OpenVPN has the option to connect through a socks proxy. Tor, as you may know, provides a SOCKS proxy (listening on localhost) to anonymize the apps/traffic using it. I would like to connect my ...
1
vote
1answer
66 views

Is there a way to migrate the wi-fi configuration from one notebook to another?

I would like to find a way to migrate the wi-fi configuration from a notebook to another. I have already a working wifi configuration on the notebook A. Let's say I want to export all the necessary ...
1
vote
1answer
578 views

Effect of HOME on libreoffice to convert to pdf as non-root user

I installed libreoffice-headless and can convert documents when logged on as root. I then tried doing so as another user, and it didn't show an error, but didn't convert the file. I then found that ...
1
vote
1answer
4k views

How to download yum packages on windows (or online in browser)

I am newbie to linux and just started using it at home, but I don't have internet connection at home, and in office I have good internet but using windows, I just want to download yum packages on my ...
1
vote
1answer
1k views

how to run gtk app on linux without an x server

backstory - i need to run an adobe air app, which does some things and takes a screenshot of itself and saves out a JPG, then kills itself. (on linux environment) I have it successfully running on ...
1
vote
1answer
296 views

Linux hexdump offset strangeness

I'm trying to hexdump some bytes near the end of a 1 TB hard disk drive. First, let's look near the beginning, 0x1000: % hexdump -n 16 -s 0x1000 -C /dev/sda2 00001000 08 70 b5 7c 20 4c 56 4d ...
1
vote
1answer
343 views

Having a urxvt “sticky shell” with fluxbox?

I am trying to have a shell bound to a key, on my gentoo fluxbox. The idea is having a shell that would show or hide each time I press F11, but keeping the same shell, not creating a new one each time....
1
vote
1answer
1k views

.MOV file has audio synchronization errors in any editor but plays fine in VLC

I have a .mov file with H.264 1080p video and raw 16-bit PCM audio that I need to edit (remove a portion of). The original file plays fine in Gnome's movie player and VLC but as soon as I open the ...
1
vote
2answers
199 views

I want to put Ubuntu Linux on my Windows 8 laptop, but it only has 100 Gigabyte SSD, will it be viable?

I have a Lenovo Yoga Pad i5. I use it for gaming, work, watching movies and coding. It is my main machine. However I am getting quite bored of Windows 8, and would like to install Ubuntu. How much ...
1
vote
1answer
2k views

Python doesn't dump core files

I have a problem where a Python process is hitting a segmentation fault but not producing a core file. The following is a toy example that does not produce a core file on the following distros: ...
1
vote
1answer
434 views

Can ISO images written to USB drives be read under Windows?

I have written an ISO file to a USB drive from Linux using dd if=file.iso of=/dev/sdb1. This works fine, I can then read the data on Linux. Automount works, as does mounting manually (filesystem is ...
1
vote
1answer
342 views

How can I make my computer without an X-server stop booting into TTY 7 and boot directly into TTY 1?

I recently disabled the graphical login manager on my Ubuntu and started using startx. But when the computer turns on, instead of giving me a login prompt in one of the TTYs (I think that's how you ...
1
vote
3answers
822 views

Alternative ssh server - which is possible to configure to allow all connections without authentification?

Please tell me, is there a ssh server with this unusual capability? Or I would have to edit the source code of openssh-server and recompile?
1
vote
1answer
1k views

How to boot Ubuntu from my SD card?

I have installed Ubuntu 12.04 onto a micro SD card for an embedded device. However via the SD card adapter I have, I would like to boot it up on my laptop for development purposes. The SD has 32gb ...
1
vote
1answer
1k views

Remote asynchronous execution with SSH

I have a script on a mac mini server that slowly downloads a multi-gigabyte file. I would like to launch this script via SSH from another (linux) server with ssh mac-server 'nohup /path/to/script ...
1
vote
2answers
634 views

A way of accessing a remote linux server via SSH anonymously and running a graphic web browser?

I need a way of connecting to a remote server anonymously and running (with further possibility of visual manipulation) a graphical Web Browser (not text-based) - Tor has been chosen for this and ...
1
vote
2answers
462 views

Access 2nd server on LAN via PuTTY

I have two Linux servers with static IP addresses 192.168.0.200 and 192.168.0.201. Both machines are connected to my router which is set up to forward SSH Port 22 to 192.168.200. I have PuTTY'd into ...
1
vote
1answer
632 views

Accessing virtualbox guest from LAN

All the tutorials and guides I have seen about accessing remote desktop in virtualbox claim that it is extremely easy yet I keep getting errors. Every time I try to access the virtualbox client ...
1
vote
1answer
340 views

non-smooth fonts in Fedora's gnome

I don't know is that only my problem or not but I have a little eyestrain when using Fedora (19) with Gnome 3(.8) compared to Ubuntu, Linux mint or Windows. Maybe the problem is caused by font ...
1
vote
1answer
527 views

How does “swich user” work with Unix/Linux and X11

In Unix/Linux + X11 you can have multiple user sessions by (a) changing individual windows using su, sudo or even ssh or (b) running two desktop environments using something like a "switch user" menu....
1
vote
1answer
73 views

Package name suggestion in fedora

In Ubuntu when an app is not installed and in Terminal you type for example gvim it says that this app is contained in package vim-gnome and try installing that but in fedora that doesn't happen with ...
1
vote
1answer
231 views

How do I see the size of all .XML files in subdirectories on Linux

This a stupendously simple question. How do I see the total bytes consumed by XML files in a subtree? I've tried ls -R *.xml but it says No such file or directory (I'm a Windows Engineer and C# ...
1
vote
3answers
10k views

dd to create bootable linux usb, resulting filesystem unrecognozed?

I tried to create a bootable usb of kali linux using "dd if=kali.iso of=dev/sdb bs=512k" as per http://docs.kali.org/installation/kali-linux-live-usb-install but the resulting filesystem is ...
1
vote
2answers
130 views

File POSIX Capabilities

In Linux kernel v2.6.~ there was an option File POSIX Capabilities in kernel configuration, which, in particular, is necessary to build and use Linux Containers successfully. I'm currently using v3.9....
1
vote
1answer
215 views

Why should I not make each individual shell I run a login shell?

I've been told by numerous people that I shouldn't make each shell I use a login shell. Wether via a TTY, or an Xorg terminal app running bash.. can anyone explain the potential reasoning behind this ...
1
vote
2answers
11k views

How to install Nagios + Centreon in centOS 6?

I already tried many tutorials over the internet trying to setup nagios and centreon to work together in centOS 6.4. What I want is to run a script and it does everything, I should go to centreon web ...
1
vote
1answer
281 views

How to open NTFS binary image on Linux?

Basically I have binary image of NTFS partition made with WinHex. WinHex is able to open such files and show directory structure, besides hex editing. Is there tool with similar capabilities on Ubuntu ...
1
vote
2answers
80 views

Hide (Encrypted) windows installation under Linux

I've got a PC running Linux (Ubuntu, in case it makes any difference). I want to install windows (Seven) to a hidden-encrypted partition on that drive. So on boot-up I have a selection screen: If ...
1
vote
1answer
3k views

My raspberry pi server hostname doesn't work?

The people over on the rPi forums don't have any answers for me... I've got a raspberry pi running raspbian server edition. My problem is that the only way I can ssh into it with putty is through the ...
1
vote
2answers
430 views

Grub boot loader uninstallation

The laptop I use is Acer 5733. I've partitioned my HDD as AHCI and IDE modes and installed Red Hat server in AHCI and Windows 7 in IDE. Now I want to remove Red Hat, how do I do this? Thank you in ...
1
vote
4answers
2k views

RAID 6 that can read with least 1000 Mbit/s?

I purchased a Dell PERC 6/i which I expected to be able to read with 1000 Mbps. There is not much to do now, but there are some things I wanted knowledge about for another time. I have configured it ...
1
vote
1answer
1k views

How do I prevent Linux kernel from responding to incoming TCP packets?

For my application, I need to intercept certain TCP/IP packets and route them to a different device over a custom communications link (not Ethernet). I need all the TCP control packets and the full ...
1
vote
1answer
277 views

deb installation error: “Could not download all required files”

I'm running 64-bit Crunchbang 11 "Waldorf" on Debian Wheezy. I'm trying to install a driver for my Epson printer. The file that I click to download is called epson-inkjet-printer-escpr_1.2.3-1lsb3....
1
vote
1answer
196 views

How to make an unattended Ubuntu install

I need to know how to make an unattended Ubuntu install. I've tried and so far it just crashes when trying to fill in the timezone.
1
vote
1answer
593 views

Find command doesn't work for certain subdirectories

I just downloaded some source code from a repository and I'm trying to locate a specific file in it. For simplicity, assume that the entire project has the following directory hierarchy ...
1
vote
1answer
496 views

Is there a way to limit maxdepth for ls -Rhal?

Is there a way to limit maxdepth in a ls -Rhal command? I am aware of find . -maxdepth, but I want to be able to get the file information that comes with ls -Rhal.
1
vote
1answer
177 views

wmii on Debian not working

I did a fresh install of Debian 7.1 headless, and installed wmii along with several X packages. Wmii opens when I run startx, but not completely, and it is unusable. Although I'm fairly proficient ...
1
vote
1answer
200 views

How can I conditionally start a service based on the current local time using Mint Linux 15?

I have set up cron jobs which stop services at 2:00 AM and then restarts them at 8:00 AM. However, my enterprising users (my family; securing the box isn't a possibility) have determined that if they ...
1
vote
2answers
1k views

Gunzip directory of files and pipe output Linux

I'd like to gunzip a directory full of compressed files and pipe the output (preserving the original files) to a different directory. I need the original names to stay the same. So... gunzip -c *.gz ...
1
vote
1answer
731 views

Failing to update kernel

I have a Natty linux server with linux 2.6.18 in a VPS. I wanted to install new software in it now when I realized Natty is not longer supported. So i changed the repositories to Oneiric (deb http://...
1
vote
1answer
137 views

Installing java on red hat enterpirse linux 3

I am trying to run eclipse IDE which results in an error which says no java virtual machine was found. The result of running "/usr/sbin/alternatives --config java" command is that it displays - one ...
1
vote
2answers
2k views

Permission denied (publickey,gssapi-with-mic) when cloning Git repo

I was cloning a Git repository and I had copied my id_rsa key from another PC to my /home/me/.ssh/ on Ubuntu 12.04, however this error shows up: Permission denied (publickey,gssapi-with-mic). ...
1
vote
2answers
3k views

slow sftp, starts fast, stalls after 10 sec

On a 32 bit Ubuntu machine (12.04), I have a speed problem transfering files (~100MB) with sftp (command-line), from my machine to a server, on a ethernet 100Mb/s network. The transfer starts at ...
1
vote
1answer
677 views

Linux distro with C/C++ development tools included

I work at a company that does not allow Internet access to Linux based machines. However, I need to develop C programs for my job. (Strange I know...) Is there a Linux distro with common IDEs and ...