4
votes
1answer
5k views

How do I get GNOME 3 to work in Debian Wheezy under VMware?

I just installed Debian 7.4 in a VMware machine. On first boot, it gave me the following error: GNOME 3 Failed to Load Unfortunately GNOME 3 failed to start properly and started in the fallback ...
1
vote
1answer
1k views

How to regenerate initramfs so it can include bcache module?

Eventually I have converted root-fs into bcache (with the help of blocks). I skipped the step update-initramfs -u -k all because I've been using bcache on other partitions for some time, and I've ...
1
vote
2answers
330 views

Multiple GUI windows in one (GUI applications windows multiplexer/wrapper)

I was wandering if there are some programs or methods, where I can do something similar like Terminal multiplexer - Wikipedia, the free encyclopedia - except where each region of the "multiplexer" ...
0
votes
1answer
43 views

Why dircolors don't return enything for bash called from php

I have this code in php: header("Content-Type: text/plain"); exec("/bin/bash -c 'dircolors -b'", $result); echo implode("\n", $result); but it return LS_COLORS=''; export LS_COLORS Why I'm not ...
5
votes
4answers
11k views

How do I upgrade the Debian Wheezy kernel offline?

I using Debian (Wheezy) with the 3.2.0-4 amd64 kernel version and want to upgrade my kernel to newest version, like 3.13.3 stable, but I have no internet connection to my Debian OS. I have installed ...
14
votes
2answers
12k views

What's ssh port forwarding and what's the difference between ssh local and remote port forwarding [duplicate]

I feel confused about ssh port forwarding and the difference between ssh local and remote port forwarding. Could you please explain them in detail and with examples? Thanks!
5
votes
2answers
5k views

Disable PIN request for pairing on Raspbian

I'm running a Raspberry Pi with Raspbian Wheezy. I have a BT (Bluetooth) dongle attached to one of the USB ports (I have a model B RPi), I've downloaded and installed the following packages: bluez-...
0
votes
3answers
474 views

Bash in php exec in webpage don't colors for png and mp3 files on Linux

I have code like this in php: header("Content-Type: text/plain"); exec("/bin/bash -c 'ls --color=always'", $result); echo implode("\n", $result); and I've got result (escape is not visible) ...
0
votes
1answer
112 views

Can you provide an example use for `zrun`?

I was reading the manual pages for the package moreutils but I did not understand the page for zrun. My manual page is almost the same as the die.net one: ZRUN(1) ...
3
votes
1answer
9k views

How to enable two network interfaces both for internet in ubuntu12.04 [closed]

My physical server A has two interfaces: eth0 and eth1. I intend to enable the two network interfaces both for internet in ubuntu12.04. I configure the /etc/network/interfaces as below: auto lo iface ...
1
vote
0answers
9 views

Bash in php exec don't color png and mp3 files on Linux [duplicate]

I have code like this: header("Content-Type: text/plain"); exec("/bin/bash -c 'ls --color=always'", $result); echo implode("\n", $result); and I've got result: Makefile README Yann Tiersen - ...
0
votes
1answer
2k views

NodeJS for Slackware

I want to run NodeJS on Slackware based distro named PuppyLinux. Since I am used to Ubuntu and CentOS (the simple Linux land), I found it pretty hard to find a NodeJS package to run on Slackware. I ...
5
votes
2answers
891 views

Anyway to navigate percentage-wise in vim?

I often open large files, looking through logs for finding info. As all lines have timestamp in my case and I am sure of in which part of the whole file the info is present which I am interested in. ...
-1
votes
2answers
5k views

Cron job is not working [closed]

i have a cron job center code hereonfigured at var/spool/cron/testuser, Am calling "adindex.sh" file from there. Am getting results when am directly put the command directly in prompt(php and sh), ...
3
votes
2answers
6k views

delete old log files except the last one (alphanumerically sorted)

I have a number of log files in the form: log.2014-02-19-10_24_22 I.e. log.YYYY-MM-DD-H24_MI_SS The date that's part of the log file's name is when the log file was first created. So at any given ...
0
votes
1answer
345 views

mdadm large memory consumption [closed]

I am building a RAID 6 with mdadm (8 WD Red 3 Tb) on Ubuntu 13.10x64 server with ext4 filesystem. When I download torrent on the array, server RAM is filled for maximum cap (8 Gb) memory is free when ...
3
votes
2answers
373 views

using SUID bit to drop privileges

So this is a description of the system I'm working on : a "manager" process spawns all the other applications. The manager application runs as root user. so now, any process that it spawns also ...
5
votes
3answers
10k views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
0
votes
1answer
188 views

Partitionning disk for installation, what size should I give to filesystem? [closed]

I am planning to install debian on dual boot, I have 250GB free for that, but I d prefer answer for any size. I want to separate filesystem on different partition (/, /boot, /root, /home, /var), but ...
2
votes
1answer
2k views

Share/Stream live video on LAN network - raspberry

As in the question, I need to share a video in lan by broadcasting. From server, I've tried with: avconv -i video.mov -c:v libx264 -f mpegts udp://[destinationIP]:1234 From client I can play ...
14
votes
3answers
8k views

Delete files and directories by their names. No such file or directory

I need to delete all compiled data: directories called build, directories called obj, *.so files. I wrote a command find \( -name build -o -name obj -o -name *.so \) -exec rm -rf {} \; that ...
1
vote
2answers
10k views

How to reload routing table on Centos without lost network service

I've add 1 route in configuration network file, how to reload routing table on Centos without lost network service
0
votes
0answers
2k views

How to setup ATI/Intel dual graphics-card driver in Debian

I have searched it from the Internet, but there is only a solution for Ubuntu. Visit: http://xpressrazor.wordpress.com/2013/01/13/how-to-setup-amdintel-hybrid-graphics-cards-in-linux-ubuntu/ I ...
1
vote
1answer
325 views

How to deal with a problematic 3G dongle

I have an old 3G USB modem and I wonder if it's dying because it's very unreliable. Connecting it gives the following (/var/log/syslog): Feb 18 22:39:56 thome kernel: [ 5310.999854] usb 1-2: new full-...
2
votes
1answer
58 views

Does GRUB install itself on every disk?

I have 4 hard disks. One of them houses Debian, one Windows and others are just storage. Does GRUB install itself on every MBR of every hard disk? (I have not specified any path explicitly for GRUB ...
1
vote
1answer
90 views

Is there a way to check which process terminates first during reboot

Assuming I have 2 processes running. Is there any way for me to check which process terminates first during reboot/shutdown? From this link, it tells about appending boot to a file. Yet, I still don't ...
3
votes
2answers
33k views

Change sshd logging file location on CentOS?

How do I change the sshd logging file location on CentOS? sshd logs to /var/log/messages instead of /var/log/secure. How can I change the setting so sshd will stop sending logs to /var/log/messages?
11
votes
5answers
51k views

What is the right file permission for a .pem file to SSH and SCP

I have tried to SSH into my AWS ubuntu server and copy the directory to my local machine. Throughout the process I experience different file permission errors (noted below). Is there one specific ...
2
votes
0answers
1k views

Enter user authentication details for a printer?

I have a printer which is configured using the correct drivers. However, the printer requires user authentication (i.e. a username and password) to print. Where are authentication details usually ...
0
votes
3answers
197 views

How does one install a camera driver from a c file, and what is this driver doing?

I need to install a driver for a MT9M032 CMOS Image Sensor USB machine vision camera made by Aptina (formerly Micron). I am working on a Macintosh running OS X 10.9.1 and am new to Linux/Unix when it ...
0
votes
1answer
43 views

How to locate an application that is using the 'bash' command? [closed]

I saw a command called 'sshd' that is using the BASH command (according to ps aux) to write to a file. But how to locate the code of this application that is using the bash command?
8
votes
5answers
8k views

Extra-bytes error when unzipping a file

When I enter unzip ../founation-latest.zip, it outputs this: warning [../foundation-latest.zip]: 248 extra bytes at beginning or within zipfile (attempting to process anyway) The file is 138KB. ...
1
vote
2answers
104 views

Why are user account on remote server called shell account

Why are user accounts on a remote server called shell account , remote account sounds like a more intuitive name what is the reason behind this very unintuitive name ???
3
votes
1answer
1k views

Is there an easy way to check which program wrote to /var/log/messages?

Is there an easy way to check which program wrote to which file? I'd like to check which program wrote an error to /var/log/messages for example.
2
votes
2answers
288 views

Highlight today in Mac's cal

Every Mac comes with cal which shows a simple calendar of current month. Output is something like this: February 2014 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 ...
1
vote
2answers
2k views

How do I capture audio from interactive webpages using VLC?

I'm trying to capture an audio video feed (screen-cast) from my web browser and all screen-casting options I tried have the same issue: No sound is captured Platform I'm using a near default ...
0
votes
1answer
277 views

Combining two bash scripts by adding flags

I have two scripts which transform the code from software v.1 to software v.2 and viceversa. These are essentially a lot of sed substitutions. In the way I wrote them they accept two arguments: first,...
6
votes
4answers
15k views

how to rename files while copying?

How would I copy (archive style where date isn't changed) all the files in a backup directory to the user's directory while renaming each file to remove the random string portion from the name (i.e., -...
2
votes
0answers
550 views

Is there a way to mix between two RTMP streams (depending on which is up) using something like FFMPEG?

(Apologies about the question title, not quite sure how to word it) So I'm working on a turnkey streaming solution / server for a local LAN party, using the fantastic nginx-rtmp to handle incoming ...
0
votes
2answers
3k views

How to permanantly disable /var/log/lastlog?

When I delete files such as /var/log/lastlog, /var/log/utmp and /var/log/wtmp the files will be recreated. How do I disable the recreation of those files?
2
votes
1answer
873 views

NFS Ownership/Permissions

I'm trying to get NFS working properly on a DD-WRT install using OTRW2. I can see and mount the share from the client. But when I do, the mounted folder changes it's owner to root:root and so my ...
0
votes
3answers
144 views

Red Hat Enterprise Linux 6 wakes up spontaneously after sleeping

I have a Lenovo ThinkPad T430 running Red Hat Enterprise Linux 6.5. Today I put my computer to sleep, double checked 10 seconds later, only to find out after arriving to my office that my computer ...
3
votes
2answers
221 views

403 Forbidden, Tried everything

So currently I am getting the 403 forbidden error. I have tried everything that I could possible think of. It was working a couple of days ago however it has stopped working now. I have tried ...
2
votes
1answer
780 views

Booting from usb fails as I try to install elementary OS on my PC

I'm trying to install Elementary OS Luna on my PC. The problem is that every time I try to boot from my usb, on which I've got the OS installation files, it fails. First I press F12 to get to the ...
0
votes
1answer
65 views

Piped search queries in vim or less

I would like to be able to search a log file for lines that being with ^2014-02-18 15:30:[0-9:,]* and have UserName:someguy much later in the same line. I am sure I could do a regex to include any ...
3
votes
1answer
133 views

How to cd into more than one directory?

I'm not sure if I'm asking that right, but here is the script: #!/bin/sh # foundation-setup.sh --- Gets the latest Zurb Foundation release if test $1 then mkdir $* cd $* wget -q http:/...
6
votes
2answers
392 views

Extract given tarball and retar it exactly

My versioned project uses the contents of an upstream tarball. I would like to extract the contents in such a way as to be able to recreate the original tarball exactly. The reason is that I don't ...
1
vote
2answers
3k views

Is there a Lubuntu, Centos equvialent…Centos that runs lxde out of the box?

Are there any CentOS distros that run LXDE out of the box? I want to use CentOS for a server I'm throwing together instead of Ubuntu, but I want to be able to run LXDE as the system I'm using has ...
9
votes
2answers
3k views

Using environment variables in Tmux status bar shell commands

I am attempting to create a tmux status bar which shows three timezones: US Eastern Time :: UTC :: Central European Time. Using the TZ environment variable makes the date command show the time in a ...
3
votes
2answers
5k views

How to install Linux Mint on 24GB SSD alongside 1TB HDD

I had a Lenovo laptop with Windows 8 on it but I wanted to switch to Linux Mint. After disabling UEFI secure boot and some other things I managed to get Linux Mint installed on the 24GB SSD. I'm new ...

15 30 50 per page