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

0
votes
3answers
717 views

run centos 5 from a usb stick to test a program

I have a very specific issue, I wanted to run a C - program on Cent OS 5, but i dont really use cent os for much work. I was wondering if I can have a 'live' version on a pendrive and test the C ...
1
vote
1answer
171 views

Can a consumer-level (i.e. cheap) UPS trigger a custom script on power failure on Linux?

I am essentially trying to build is a poor mans server failover solution. The non-profit organization I am part of is planning to host several web applications. In order to save on hosting costs we ...
0
votes
2answers
1k views

How does HP's “Scan to computer” feature work?

Many HP all-in-ones have a "Scan to computer" function where you can be standing at a network printer and scan all your gubbins straight to your computer without having to load up scanning ...
0
votes
1answer
2k views

only show running services using service --status-all and grep

If I do service --status-all I get something like this: [ ? ] webmin [ ? ] whoopsie [ + ] winbind [ - ] x11-common I want to show just the running ones ([ + ]) so I did service --status-all | ...
2
votes
2answers
672 views

Remote sharing of a terminal

At work, I fire-up a terminal and start executing some huge process(which may take couple of hours to complete) and leave office. When I reach home, I want to check what is happening to the process(...
2
votes
0answers
1k views

gpg-agent fails with “command get_passphrase failed: End of file” on pinentry

I'm trying to use Enigmail with Thunderbird on Linux. GPG itself is set up, keys imported and I already can use the key management functions (including signing of keys) from kgpg. But Mail encryption ...
0
votes
1answer
1k views

Linux kernel source not found

I downloaded the source code of a driver (tun 1.1) and i was planning to installing when i obtained the following error: root@sergiosaturn-HP-Pavilion-dv6500-Notebook-PC:~/Documentos/Tese/tun-1.1# ./...
0
votes
0answers
858 views

Linux Print Using Command acroread Layout Incorrect

At the moment we are using the command cat file.pdf | acroread -toPostScript -shrink -rotateAndCenter | lp -s -dprintername to print PDF files to a network printer. This is in a Linux (RedHat) machine ...
-4
votes
4answers
10k views

Linux-based “Darwin OS” as possible Hackintosh alternative? [closed]

I stumbled across a website on the internet for an Operating System named "Darwin OS". I know that Darwin was an open source project made by Apple and is still included in modern day OS X operating ...
1
vote
1answer
193 views

Where are the open ports ? Am I getting an incomplete list?

As I enter the netstat command in the terminal, I get the following list. Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State ...
1
vote
2answers
23k views

Reaver used to work so fluently, im getting FAILED TO ASSOCIATE.?

I am running debian the latest with amd64 on a dell inspiron 1564 with a Broadcom pci adapter BCM4312 part of the B43xx family. im also running the latest version of reaver now I know this adapter I ...
56
votes
2answers
33k views

Why is “/dev/rdisk” about 20 times faster than “/dev/disk” in Mac OS X

According to the rasbery pi documentation, You can load your OS to a flash card with either /dev/disk or /dev/rdisk. rdisk stands for raw disk. /dev/disk is a block level device, why would rdisk ...
1
vote
1answer
300 views

Battery sort of died after a power outage

So today the power went out and my laptop did a strange popping sound and turned off even though it had like 50% battery (it was plugged in at the time though). This has never happened before, it'll ...
0
votes
2answers
247 views

Writing a single line command that interprets conditional output from pdbedit

I would like to run a command on a single line that will tell me if the flag is set for a user's password to be changed on next login. This command will interpret the output and return a true/false. ...
0
votes
2answers
1k views

Linux terminal emulator with terminal autocomplete? [closed]

I've moved from OSX back to Linux and am mostly happy. One of the main things I miss is iTerm2, especially its terminal based autocompletion feature (tmux integration would also be nice). I've looked ...
0
votes
2answers
73 views

Automating OpenOffice Installation

I am attempting to write a shell script which will download the latest version of OpenOffice using wget, and then use the command-line to install the application. I have seen that installing the ...
1
vote
3answers
78 views

Is there a log of the output of startup commands?

While Ubuntu is starting up, the init rc commands are run. Is there a way to see their full output after the system has started?
0
votes
3answers
1k views

How to schedule/unschedule cron job from shell

I have a ubuntu server where I put my application core. It's a jar that needs to be always listening for requests. I made a script to run it with the correct parameters. The scenario is similar to ...
0
votes
1answer
577 views

Syslog cannot start

I run rsyslog on Ubuntu server. after rsyslog starts, it restarts in a loop. here is a piece of /var/log/syslog: Aug 13 16:05:50 ip-10-92-237-215 rsyslogd: rsyslogd's groupid changed to 103 Aug 13 ...
5
votes
1answer
191 views

Is it safe to “use” to disk if extended smart check is in progress?

As simple as the title suggests. /dev/sda is a unit from /dev/md127 - RAID1 drive. I'm currently running a test - started a smartctl -t long /dev/sda. Afterwards, I started to copy files over ...
2
votes
1answer
421 views

English dictionary on Debian/ Linux [closed]

I'm looking for a CLI + GUI that I can use to look-up definitions for [English] words, much like the Dictionary app that ships with Mac OS. The term 'dictionary' is so polluted its tricky to find ...
0
votes
1answer
299 views

How to show (for copy&paste) a secret GPG/PGP key without creating a file

I need to access my secret GPG/PGP key to copy/paste it into another application. How do I show my secret key without generating too much traces of it? I only know of the export command to gpg (or ...
0
votes
1answer
216 views

How to reinstall Windows 8 on a laptop

I have a laptop that was shipped with Windows 8, I nuked the drive and installed a linux distro on there temporarily. I'd now like to put Windows 8 back - but I have no physical Windows 8 ...
0
votes
1answer
325 views

installing arm-none-eabi-gcc on freebsd 9

I'm trying to follow this guide : https://wiki.freebsd.org/FreeBSD/arm/ArndaleBoard but as you can see here : http://www.montedivenere.it/images/freebsd-arm/freebsd-arndale.png I need to install ...
0
votes
0answers
212 views

Transfer folders and files from Linux to Winows using SCP as protocol in WinSCP.com (command line utility)

I have to login onto a remote Linux target using a local windows machine. I was using Putty and WinSCP as a GUI utilities to login. But I have a requirement which needs to automate the login procedure ...
0
votes
2answers
291 views

Writing a disk image back to disk with bad blocks

I'm experimenting with backing up hard drives by creating disk images rather than copying files. If I have an image created with something like dd if=/dev/sdb of=/backup/sdb.img what will happen ...
1
vote
2answers
3k views

RHEL Desktop: How to install g++?

I would like to install the gcc-c++ package on RHEL 6. When I search for it with yum, I get No matches found. Searching for it on the web, it seems that I need the workstation sub-channel. However, I ...
6
votes
1answer
285 views

monitoring ISP bandwidth data

On Windows/Linux, what would be a way to run a sample measurement of the bandwidth that I have available? I need to run a measurement at periodic intervals. There are many website which will give you ...
0
votes
2answers
1k views

Tar - Remove Common Prefix When Creating Archive

I am attempting to tar up the contents of a root file system, located at $rootfs. The problem is, when I try to tar -c $rootfs > $dest, the directories between my current directory and the actual ...
0
votes
0answers
1k views

Yum hangs on setting up package sacks

I'm having trouble with Yum installing postfix. I'm using yum on a trixbox/freepbx system and trying to get voicemail-to-email setup for VOIP Cisco phones in an office environment. Anyways I try ...
5
votes
2answers
5k views

what does “-m tcp” mean in this iptables rule?

Firewall configuration written by system-config-firewall -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
0
votes
1answer
209 views

Show boot log only on Primary Monitor in a multi-monitor environment

I have two monitors on my graphic card. When I boot Linux Mint both show the boot Log. Is it possible to limit the boot log or splash screen to one primary monitor instead of cloning it to both? (...
1
vote
0answers
717 views

Mailbox is always read-only in Mutt

I just installed Mutt and I'm currently unable to delete mail from my mailbox. Mutt will give a message saying it is unable to do this because the mailbox is ready-only. I can send and receive ...
1
vote
2answers
685 views

Change names in a column in bash

I have a tab-separated file in Linux that looks like this ~$ head list.tab "x" "1" "FUHGF.jnf.m22-1" "2" "HDFHFEY.gfs.d2-1" "3" "KJFGJF.fr.md2-1" "4" "SDFSDIB.gfd.rtl2-1" "5" "FGJFGOB.hgd.k2-5" "6" "...
3
votes
2answers
2k views

How do I configure a linux machine to ignore wifi when connected via LAN?

My laptop is set to automatically connect to my campus wifi network, which is desirable under most circumstances. However, in my office, the signal is quite poor, so I rely on a wired connection. ...
0
votes
1answer
160 views

Is it feasible to have a machine work both as server and client on SSH?

I have OS X and within it installed Ubuntu 13.04 via Parallels 8, and I also have iMac, within it I installed Ubuntu 12.04 (not Virtual Environment). So, now I have three OS - OS X, Ubuntu 13.04, and ...
1
vote
2answers
877 views

Linux - starting a visible terminal on boot

I have a C program I wrote for debian on the raspberry pi that asks the user to enter a number, 1-4 which it then stores in a configuration file. This only happens if the configuration file is missing....
2
votes
1answer
1k views

Linux command line: Kill vs Kill -9?

So I've set up some shell scripts to auto-deploy a fresh war file to a tomcat server. I call the shellscript to stop tomcat (shutdown.sh), and then I kill the catalina PID, however I've noticed that ...
3
votes
1answer
2k views

Meta + Arrow Keys to move windows between monitors?

In Windows I can use the "Windows Key + Arrows" snap feature to quickly move windows between monitors in a multi-monitor setup. I'm looking for a way to do this same thing in Linux. I've tried ...
0
votes
1answer
41 views

How to know what are in a file and what aren't in another?

I doing a nrpe check for my nagios about the files that I backup, sending to Amazon S3. I have two files then, s3, which list all my files that are in Amazon already. And local which list all my files ...
1
vote
1answer
142 views

In tspc ipv6 tunnelling, does tunnel broker required for ipv4 to ipv4 communication?

I am new in embedded systems and trying to add support the ipv6 network availability in my new product but I have understood that, First of all, My system is connected to IPv4 ISP and I want to ...
5
votes
3answers
3k views

`vi` command doesn't open newly installed Vim 7.4 on OS X

I just installed Vim 7.4 on my MacBook using Homebrew. When I enter vim on the command line, it successfully enters Vim 7.4, but when I use vi I still get the old 7.3. To install Vim 7.4 I used this ...
0
votes
1answer
21 views

RAM ticking all the time on Linux box

I have Ubuntu as my dev box and for the last few weeks the RAM has been ticking all the time. I know how to list processes that are using the most memeory using top but I was wondering if there is a ...
2
votes
2answers
1k views

Linux ping and telnet automatically add .com to non-existing domain names

I have a strange problem with domain name resolution on my VPS. The problem is that when I do a ping, or telnet to a non-existing domain name, then the ".com" top level domain name gets automatically ...
0
votes
2answers
796 views

Rename and reverse the numbering of a list of files

In Linux, preferably using bash, what would be the best way to achieve the goal below? Say I have a series of numbered files 001.png, 002.png, 003.png What is the best way to move/rename them to ...
1
vote
1answer
363 views

Can't reach web server from local virtual network

I have installed a couple of virtual machines. Some uder Windows, some under Fedora Linux. On one of the Fedora machined I've installed Apache web server. I have setup server name in httpd.conf to ...
0
votes
3answers
151 views

Using git to take over the management of half synchronized text file directories

This is a problem that hard to describe (and of course hard to search for answer), the closest that I found is Moving two existing already-synced directory trees to git annex I have two copies of my ...
3
votes
2answers
4k views

Debian cron.daily messages

Every week, I seem to be getting the following two Cron messages: /etc/cron.daily/logrotate: gzip: stdin: file size changed while zipping /etc/cron.daily/spamassassin: channel: no 'mirrors.updates....
0
votes
1answer
136 views

Point Size with X11 Fonts

I'm trying to set up my fonts on a bare bones X windows system, but my settings aren't giving me the results I expect. I'm using Terminator as my terminal. I've set my Terminator font to "Monospace ...
0
votes
0answers
42 views

Occasional refusal to boot

My PC (custom-built, dual booting Server 2k3 and Arch Linux) will occasaionally refuse to boot up. It will pass the BIOS screen and I will get past NTLDR and SYSLINUX (in my case NTLDR is the primary ...