1
vote
1answer
655 views

using GPS with Linux & output only certain data

Hello I am currently using BU-353 S4 USB GPS in my Linux, the command, cgps -s Output various parameters including, Time, Latitutde, Longitute, Speed, Heading etc... is there any way to output ...
1
vote
0answers
259 views

Debian 7 black screen after loading OS

I have laptop Sony Vaio VPCCA with Debian Wheezy(7.1) installed as second OS. It worked fine for few weeks but now if I try to start Debian, there is all the loading stuff and when the GUI should ...
1
vote
2answers
608 views

Is a bad NFS mount preventing a clean boot?

I'm on Ubuntu server 11.10 (x86) and I basically ran into this problem as this: http://serverfault.com/questions/56588/unmount-a-nfs-mount-where-the-nfs-server-has-disappeared The umount command ...
1
vote
2answers
3k views

I messed up my EFI boot, what do I do?

I have Debian Wheezy installed on my computer using EFI boot. It used Grub2 as the bootloader. I then decided to install Arch Linux, using EFI as well, on another partition and chose Grub bootloader ...
1
vote
2answers
675 views

Running `sudo /sbin/service mysqld start` causes system to crash

OS: CentOS 5.10 Service: Amazon Web Services Attempted to remove MySQL 5.0 and install MySQL 5.6 I had a server set up, and was going to use MySQL, but it was was set up with MySQL 5.0. Since ...
1
vote
1answer
90 views

Linux adding wordlist for spell checking

We have a small linux cluster (12 machines). Before we populate our database (then create a report from database contents) we would like to spell check a few files. The problem I have is some fields ...
1
vote
2answers
381 views

How to invoke a shell built-in explicitly?

I want to customize the functionality of cd command as per my needs. I define following function - function cd () { cd "$@" && pushd "$@"; } The intent of this function is to automatically ...
1
vote
1answer
106 views

Is it possbile to mount Windows filesystems without using the root account?

As we all know, the intervention of root is necessary to mount a filesystem on Linux. But is it possible to do this without access to the root account? Because I don't know the password of root.
1
vote
1answer
413 views

Long(est) security update support for stable GNU/Linux distributions?

Which a) FLOSS b) stable (= not rolling release) c) desktop GNU/Linux distributions have a long security update support? Of course it’s interesting which distro has the longest support, but 2nd, 3rd ...
1
vote
1answer
1k views

How to set default auto mount options for removable media?

I have quite a bit of removable media (flash drives, external hard drives, etc) that I want to adjust auto mount options for. How does one do this? Is there something similar to /etc/fstab?
1
vote
2answers
217 views

How to load .bashrc from “bash -c”

Trying to run a function defined in my .bashrc using "bash -c ". I end up with the error "command not found". How do I get "bash -c" to load my init file?
1
vote
3answers
68 views

What is the exact definition for “logging in”

Radu's answer is extremely informative here http://askubuntu.com/questions/376932/why-who-command-does-not-shows-root-as-a-logged-in-user However this makes me wonder "what is the exact definition for ...
1
vote
0answers
37 views

syslog: process specific priority

I have two user processes A and B. Both use syslog using facility LOG_USER. I want to have different threshold levels for them: For A, only messages of priority ERR-and-above must be logged For B, ...
1
vote
2answers
347 views

Swap bash script pins htop's memory usage

I deployed a hack to add swap space to a VPS that otherwise didn't allow me to use swapon to create a file. Prior to adding and executing the script, I followed the steps outlined here. and ...
1
vote
1answer
3k views

apt-get update won't update - undo /apt-add-repository

When I run apt-get update, this happens: Hit http://dl.google.com stable Release.gpg Hit http://dl.google.com stable Release Hit http://security.debian.org ...
1
vote
1answer
2k views

How can I flash_erase mtd0?

I am trying to find a way to nandwrite my mtd0 partition which contains my u-boot environment. When I try to flash_eraseall /dev/mtd0 though I get: flash_eraseall: /dev/mtd0: Permission denied ...
1
vote
1answer
2k views

Cannot Connect to Internet but can SSH into Solaris x86 (vs. 11)

I am able to connect remotely to the machine using SSH, but I cannot ping www.google.com through the machine. I did the following to make sure SSH was enabled (well I know it is, as I am using ...
1
vote
1answer
59 views

bash script var not changed after the loop [duplicate]

I'm quite new to bash scripting, and I wrote the following script to emulate the wc -c command: (I know it doesn't count the end of the line) #!/bin/bash echo $1 len=0 cat $1 | while read line do ...
1
vote
1answer
600 views

How do I install TazPkg in SliTaz Linux

How do I install TazPkg in SliTaz Linux? Usually to install tazpkg packages you need TazPkg but I unsintalled TazPkg because it was broken now how do I install it again?
1
vote
1answer
333 views

How can I finding the Modify/Access/Change time of a file or directory? [closed]

I am using Debian 7.2 and would like to know the shell command for finding the MAC time of a file or directory. I tried man -k "MAC" and got a lot of hits about macros. I then tried man -k "MAC ...
1
vote
2answers
1k views

Automatically disable Linux extensions for Samba mounts

Samba enables Linux Extensions by default, which can be checked via /proc/fs/cifs/LinuxExtensionsEnabled On Mac OS X (10.8.5 or older) as well as older CIFS shares, mount.cifs will fail with a ...
1
vote
1answer
254 views

Unable to update my system Ubuntu13.04: Getting message - requires installation of untrusted packages

I had been trying to update my Ubuntu13.04 via 'software updater'. The updater messages that the following needs to be installed. Press continue to install When I press continue , a window appears as ...
1
vote
6answers
494 views

How to calculate by taking first field

I am trying to do a calculation like this, I have a text file with numbers like 459 455 463 And I must calculate percentage of those numbers relative to 600. I mean exactly (459/600)*100 that ...
1
vote
0answers
353 views

How to install Ubuntu in a netbook, but keeping the original win7 installation in storage

I have a Samsung N210 netbook. It has windows 7, starter edition. I´ve tried the latest Ubuntu version using a pendrive and loved it so far. I would like to install it in my netbook, but I would ...
1
vote
1answer
3k views

Linux Mint 15: Oliva can't wake from suspend/hibernate?

As most issues people have had, I can't wake my laptop from suspend or hibernate mode. The computer goes to the lock screen and then freezes up to the point where the mouse won't move, forcing me to ...
1
vote
1answer
157 views

Kernel pppd task hung after running over serial port

I am trying to run the ppp daemon on the console port of my board which has p2020 processor with Linux kernel 2.6.32. After running ppp interface ppp0 is not coming up and I get an error pppd blocked ...
1
vote
0answers
192 views

Why does my CMS run extremely slow in my workstation (Ubuntu)

For over a year I have been struggling with the response speed on my Drupal v7.2x CMS install. Let me explain. I'm running Drupal 7.2x on an Ubuntu 12.10 (upgrade to 13.xx pending) for the purpose of ...
1
vote
1answer
91 views

Are there issues concerning trustworthyness of selinux? [closed]

Since selinux is/was? developed by the NSA, and with the current noise around privacy etc concerning said agency, should I be concerned about compromised security on my system?
1
vote
1answer
938 views

Why aplay cannot play a 4 or 6 channels sound when speaker-test does?

I am currently trying to setup a soundblaster card (CA106 chipset) to output to 4 channels. I plugged 4 speakers to analog output (using the jack plugs). When I am testing the pseakers using the ...
1
vote
2answers
408 views

Linux - Windows 8 - Samba - Can see dir and contents but not create

have the following setup Raspberry pi with samba installed and running Windows 8 machine that can see the samba share, access the proper DIR, see all contents In the smb.conf file, at the base of ...
1
vote
5answers
4k views

Find files by the length of filename

I want to find all files by length of the file names. For example if I want to find files of length 1, such as a.go, b.go I put: grep '.\{1\}' file But this does not work. What command can I use ...
1
vote
3answers
389 views

Why brace expansion not supported?

Do I have to do any configuration to start brace expansion? When I run mkdir {1..10}, it just creates a dir naming {1..10}.
1
vote
1answer
876 views

OpenVPN port forwarding without router forwarding?

I would like to setup an OpenVPN server with port forwarding on my VPS, because I can not forward ports in my home router. The general question is, if it is even possible to bypass router port ...
1
vote
2answers
399 views

“Out of Memory” error while copying large files with pcmanfm

This is an older machine running a Debian-based distro with lxde and pcmanfm used as file manager. pcmanfm normally runs quite well, except when it comes to copying very large files (e. g. *.VOBs from ...
1
vote
4answers
11k views

Helo command rejected: need fully-qualified hostname Error

My mail server is in some blacklist cause of spams. I reconfugured postfix. Aften then My customers get this error they can't send emails. 404 4.5.2 <PLLAMNAZIFE>: Helo command rejected: need ...
1
vote
1answer
4k views

“No such file or directory” on files that exist? [duplicate]

In the past day, I've found at least 4 binaries that say "bin-name: No such file or directory" when I try to run them. Even if I type part of the name and tab complete it, I get the same error. I'm on ...
1
vote
1answer
797 views

XBMCbuntu freezes at random intervals

I have a Gateway GM5474 which is running XBMCbuntu on a 500GB Hard drive (the originial I believe or maybe slightly newer hard drive). Little background: The system is still stock, and I was having ...
1
vote
0answers
20 views

Using tput in $PS1 is breaking line wrapping [duplicate]

Good Morning- I'm trying to use tput outputs in my $PS1 to set the background color to red in the event I'm on a production server: if [[ `hostname -s` = prod-db ]]; then export ...
1
vote
1answer
529 views

Broadcast port to other computers after SSH reverse tunnelling

I have been reading on how to reverse tunnel and I am using this command: ssh -f -N -T -R25565:localhost:25565 dns.mindfulhacker.tk To forward my Minecraft server. My other server can connect to my ...
1
vote
0answers
133 views

How to disable SMTP auth plain for Citadel 8.20 on Slackware 14.0?

How do I turn off SMTP AUTH PLAIN for Citadel 8.20 on Slackware 14.0? If I set up postfix to handle SMTP would this allow me to not have SMTP auth plain enabled
1
vote
1answer
1k views

Why does yumdownloader download i686 files if my pc is x86_64 and also installs them?

I simply found out what packages were in the group: Desktop Platform via yum groupinfo "Desktop Platform" Then I downloaded them all one by one via: yumdownloader --resolve ...
1
vote
1answer
244 views

32-bit on 64-bit: memory usage for multiple processes

I'm working on a Linux hosting solution for game server software, however the software in question is 32-bit and I'd be running 64-bit on the host. Now, I know I can run 32-bit apps on a 64-bit host ...
1
vote
4answers
5k views

Match multiple regular expressions from a single file using awk

I'm trying to parse a HTML file using shell scripting. There are 4 different regular expressions that i need to catch: name= , age= , classs= , marks=. Using grep "name=\|age=\|class=\|marks=" ...
1
vote
2answers
105 views

string having doublequotes in between apart from the enclosing quotes

I have a requirement. My CSV file has a string "Testurteil "sehr gut"" and I need to load this file (into redis) without removing the quotes, or I want it this way: Testurteil "sehr gut", even if it ...
1
vote
6answers
16k views

bash variables in for loop range [duplicate]

I want to print list of numbers from 1 to 100 and I use a for loop like the following: number=100 for num in {1..$number} do echo $num done When I execute the command it only prints {1..100} and ...
1
vote
3answers
355 views

Group+rx permission only in directories using ACL?

I need to install acl in order to set up a very specific permission structure. Group members should be able to see the files in a directory and change into the subdirectories. However, they should not ...
1
vote
1answer
922 views

audio recording - record two sources simultaneously, merge into a single 2-track recording

How can I record two audio sources at the same time and create a file where one source is the left channel and the other source is the right channel of a lossless stereo audio recording? My distro ...
1
vote
1answer
226 views

How achieve variable indirection (refer to a variable whose name is stored in another variable) in tcsh

I'm trying to do the following: set a = kitten set temp_kitten = purr echo ${temp_$a} I want the echo command to return "purr". The overall idea is that I have a bunch of variables in an array and ...
1
vote
0answers
58 views

Where does backtick and single quote come from when denoting commands e.g. `prog'? [duplicate]

When referring to commands in tutorials, man pages, and articles I see authors use the backtick and single quote in this way: `./configure' `make' I believe I have seen gcc denote points of failure ...
1
vote
2answers
2k views

Find and move directories based on file type and date

I have a directory "New Movies" containing 200+ subdirectories "Movie Name (year)". The subdirectories "Movie Name (year)" contains a single video file (avi/mkv) and several related jpg/xml files. I ...

15 30 50 per page