Linux refers to the family of Unix-like computer 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

-2
votes
0answers
14 views

How to get total records affected in databse: A shell script

I have written a shell script to update the records on database server. The query.sql file contains variable number(almost 600 to 800)of insert queries. As I am running the script, it runs fine and ...
-4
votes
0answers
14 views

linux crash graphics go crazy

Frequently at boot my computer does this. It is extremely frustrating as I have to restart it many times till it works normally. Any ideas are greatly appreciated. system specifications ubuntu ...
-1
votes
0answers
6 views

need to recover data from bcache device

I have had some problems with a bcache device, that ended up in: bcache-super-show /dev/bcache0: sb.magic bad magic invalid superblock(bad magic) I need to save the data that was on that device, I ...
0
votes
1answer
22 views

Why an OS has same name on different achitectures?

What is the similarity in running a same OS (like Linux) on different architectures? I mean, we cannot run Linux x86 apps on Linux ARM. And even the OS itself is constructed differently for different ...
0
votes
0answers
9 views

Wifi hotspot, what's wrong with this redirection structure/code?

My linux machine provides a Wifi access point (made with hostapd package). Interface wlan0 is thus accessible by machines around. When clients webbrowses my machine, I would like any IP/url to be ...
2
votes
3answers
14 views

How to make a local tar file of a remote directory

This link describes how to copy tarred files to minimise the amount of date sent over the network. I am trying to do something slightly different. I have a number of remote files on different ...
0
votes
1answer
7 views

I am trying to run a cronjob but it is not executing correctly

I have the following line in my crontab */1 * * * * /usr/bin/screen -S lftp /bin/bash /media/c419d280-9833-4432-b5a5-520f040b87ec/NASDataDisk1/Other/autolftp-sftp.sh >> ...
-4
votes
0answers
12 views

The conflict spread: http://archive.ualinux.com maya Release (expected maya, but received precise) [on hold]

The conflict spread: The conflict spread: http://archive.ualinux.com maya Release (expected maya, but received precise) broccoli@K53SV ~ $ ls 123.txt Playlist.pls ...
0
votes
1answer
14 views

What is MASQUERADE made for?

A simple redirection is used on my server, with iptables rules : $ iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 13.37.42.1:80 $ iptables -t nat -A POSTROUTING -j ...
0
votes
1answer
19 views

Keeping data separate from OS

Is there a simple way to configure windows/linux/mac so that the OS is installed on a separate HDD/SSD to all the user data which is stored on one or more drives?My motivations are: Quick and easy ...
0
votes
0answers
3 views

How do I set systemwide connection over a proxy server

My Internet access is through a proxy, my OS is Debian 8, each application must configure it to use the proxy, but there are some that are a headache to make it work with a proxy, then my question is: ...
0
votes
1answer
21 views

Is mounting a filesystem as read-only enough to prevent FS/data corruption in case of power loss?

I have a home-made HTPC setup. I often plug and unplug USB drives on it. I was wondering whether just unplugging these drives without umounting them first would be alright considering that they are ...
0
votes
0answers
23 views

Unresovable broken dependencies, none of 'apt-get' commands works

Before I explain the problem, I should say that I have tried all other answers to similar questions and troubleshootings around the Internet, and none of them works. To be more specific all apt-get ...
0
votes
0answers
4 views

wifi signal srtength in OpenWRT

Is there a way to retrieve signal strengths on all the devices connected in a wireless network in OpenWRT? I want to check signal strength of devices connected to the router. My router has OpenWRT ...
0
votes
0answers
12 views

fast encrypted disk on raspberry pi

I need to have a trivially encrypted disk on my raspberry-based server. As far as I know, Raspberry Pi doesn't have any hardware AES encryption. That means, the standard disk encryptions are awfully ...
0
votes
0answers
6 views

Logging signal strength in router logs

how to know the client(device) signal strength that connected to WiFi in OpenWrt platform? Is it possible to to log signal strength of devices connected to Wi-Fi access point? Actually not even just ...
0
votes
0answers
14 views

Group permission doesn't work for group

I'm trying to give me permissions to write on a file owned by www-data me@home $ touch my_tralala && chmod 660 my_tralala me@home $ sudo chown www-data:www-data my_tralala me@home $ groups me ...
0
votes
2answers
30 views

ipTables, how to block all services requesrs on port 80 for an IP?

On a linux server/router, I want to block port 80 only for one IP (example : 1.2.3.4 ) I have been given this example : ### Block Incoming Port Requests (BLOCK PORT) # To block port 80 only for an ip ...
0
votes
2answers
14 views

How to chroot with sshd in a directory not owned by root?

I followed this, to restrict user to a determinate directory and it works perfectly, but i need to chroot a user in a directory that is /dir1/dir2/dir3/dir4 Suppose dir1 is owned by root, dir2 by ...
0
votes
0answers
5 views

Pycharm on Linux: Scrolling has become suddenly very sluggish

I've a Linux machine with 4gb of RAM and 2 VCPUs on VirtualBox running on a Windows 7 host (Core i7 with 16 gigs of RAM). The Linux VM is my workspace for a project. I run Mobaxterm on my Windows ...
-2
votes
0answers
26 views

cannot connect with Remote desktop in windows 8.1 using RDP file

I am having difficultie connecting to a remote computer using my dell notebook with windows 8.1 I have connected to this computer many times before using Linux (Remmina and/or KRDC) without any ...
0
votes
0answers
18 views

Is there a way to install Arch Linux on a separate drive via Windows?

I want to install Arch Linux on a new SSD I've bought however I don't have any discs or external drives to install it from. Is it possible to install Arch Linux via Windows 7 which is running on a ...
2
votes
1answer
15 views

why doesn't strace work on gcc -c

>echo > foobar.c >strace gcc -c foobar.c 2>&1 | grep foobar.o > (nothing) - foobar.o is being written obviously, but I don't see it on strace. Why?
1
vote
0answers
12 views

ubuntu 14.04 cannot “apt-get update” ok

I am running ubuntu 14.04. Recently I am not able to update the apt source. When I typed "sudo apt-get update", the process is very very slow, in hours that not proceed. And the result is all "Ign" or ...
0
votes
1answer
32 views

Why have a single partition on an external hard drive?

I have several external hard drives that I've formatted (in ext4) without creating a partition table and a partition first. I formatted the raw block devices, and they work fine. I only want one ...
1
vote
1answer
21 views

Unable to view contents of directory on Linux server via FTP, or using “dir” via shell, able to find files within directory nonetheless

I have a directory on my Linux (CentOS) server which serves as a repository for uploaded files from a webpage. I noticed I was not able to open the file using Filezilla via FTP (was formerly able ...
0
votes
0answers
9 views

Ubuntu Boot (Panic) Error

![enter image description here][1]I recently did a update on my machine and ever since Ubuntu will not boot properly. I get an error message and I have to go into recovery mode in order to start the ...
3
votes
0answers
17 views

Cordova reports ANDROID_HOME is not set even though it is [migrated]

I am trying to build the hello world app that comes with Cordova. I created the project and have added the following to my .bashrc: export ANDROID_HOME=~/Android/Sdk export ...
1
vote
0answers
17 views

Advantages and disadvantages of turning off secure boot when installing an OS [on hold]

So I've read Debian testing (codename 'stretch') supports secure boot, but what about Debian 8 (codename 'jessie')? Besides, do you normally turn secureboot off when installing your OS? Can you list ...
-1
votes
0answers
12 views

Screen session freezes, output stops, but process continues running. Reclaiming screen possible?

On a remote server, I have one screen session running. Inside the screen session, I have 10 windows, each of which runs a separate process (issued via the cron). We have this setup since we want to be ...
0
votes
2answers
12 views

Automatically fit document on smaller paper size (LibreOffice Writer)

The whole point of the system of European paper sizes is that all have exactly the same ratio. So, theoretically, you can print an A3 document on an A4 sheet and it will not be distorted — it will ...
0
votes
0answers
11 views

input/output error while copying PNG files from linux server to desktop using scp in cygwin

I am trying to copy some png files from linux server onto my local desktop running windows 7. I am trying to copy the files with cygwin using the scp command. I do not get any syntax errors but all my ...
2
votes
2answers
19 views

Get rid of null character in vim variable?

I'm trying to fix vim's Backspace behavior on one of the platforms I use. I got the name of this platform (call it bad_platform) from the system's get_platform command. Following the advice in :help ...
1
vote
0answers
13 views

GNU ddrescue imaging of failing hard drive is extremely slow

My friend has a (nearly full) failing 1 TB Western Digital My Passport. It will only occasionally mount on my MacBook, and refuses outright to mount on my Ubuntu box. I'm trying to use GNU ddrescue ...
-1
votes
0answers
25 views

Credit Card Number, security code and expiration date validator [on hold]

I have a website that sells products online, some people are able to buy products with invalid credit cards, I ship the product and do not receive the money. How can I validate the credit card number, ...
0
votes
0answers
12 views

Unmet dependencies for OpenGL

I recently tried out the xorg-edgers ppa for Nvidia-352 driver and it kind of screwed things up, so I removed it. Now, I can't make or install things I used to be able to. I am trying to make the ...
0
votes
1answer
11 views

opening NERDTree to point to my file but with full directory tree

I'm using vim, cscope and NERDTree and I cannot find how to open NERDTree to be pointing to specific file (one that is an active buffer) but to have root directory equal to directory from which I ...
1
vote
1answer
16 views

Error with command cut: the delimiter must be a single character

I am trying to run this command from console: # HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1` But got this error: Try `cut ...
0
votes
1answer
13 views

Crontab command cannot be executed. Error PAM configurations

Here's the command that I would like to execute but it seems not to work. [mdubois@veloce ~]$ crontab -l Autorisation refusée You (mdubois) are not allowed to access to (crontab) because of pam ...
0
votes
0answers
18 views

Tracking rogue memory consumption in Linux [duplicate]

Recently, I found my machine running out of memory when my existing ssh session said it could not fork because the machine was out of memory. Upon restarting, I verified that the free memory ...
0
votes
2answers
36 views

Remove one of multiple Operating System

I have two operating systems, ubuntu and backtrack 5. I no longer need BT5. How do I remove/uninstall BT5 without losing any data of Ubuntu ? Edit 1: After I delete the BT5 partition how do I extend ...
1
vote
1answer
18 views

FTP server “Transfer Complete” not received by Client

Using vsftpd 3.0.2 on ubuntu 14.04. Clients connecting via JavaApplet typically from Win7 using standard FTP. Issue occurs on both IE and FireFox. On small transfers clients do not have problems. On ...
0
votes
0answers
12 views

How do I download an entire folder with aria2?

Aria2 is a great wget replacement, having a lot of features like multi-threading, split download,download resume, etc But having all this features and option can make it hard to do some specific ...
0
votes
0answers
8 views

What rpm packages for Edimax EW-7811Un on Fedora

I'm trying to get the Edimax EW-7811Un drivers to install on my Fedora 22 Linux box. I have no connection to the internet (and cannot connect it to the network via Ethernet cable) although I can ...
1
vote
3answers
38 views

difference between ${} and $() in shell script

$ echo $(date) Thu Jul 2 16:33:11 SGT 2015 $ echo ${date} $ name=foo $ echo $(name) ksh: name: not found $ echo ${name} foo Seems like ${variable} is the same as $variable. while $() is to ...
-1
votes
0answers
14 views

osTicket user, what themes are you using (screen) ? [on hold]

I'm currently testing osTicket, and I want to implement a skin for the tool, but I can't find what I want so I'm asking you :)
0
votes
0answers
5 views

in i3wm how can I set the default layout for all works spaces

By default when you start i3wm all work spaces start as vertical/horizontal split splith/splitv layout. Is there a way to set the a different default like stacking or tabbed as the default for all ...
1
vote
0answers
20 views

Win XP, Win 8 and Linux in Grub2

For the following setup: kellogs@kellogs-PC:~ > sudo fdisk -l [sudo] password for kellogs: omitting empty partition (5) Disk /dev/sda: 160.0 GB, 160040803840 bytes 255 heads, 63 sectors/track, ...
0
votes
0answers
17 views

Ubuntu Software Center .deb installation

I created a .deb package and it can be installed via 'dpkg -i' perfectly or using GDebi but I don't want to ask users to install additional tools. The package is intended to be for low level users so ...
0
votes
0answers
9 views

Unhappy mixture: linux, tuntap, namespace,pppoe

I have created three namespace(ip netns), x, y z and a ip bridge called brig0. I am trying to route packets to the pppoe connection in namespace y. I want to know why tun0 says "no-carrier"? How can ...