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

0
votes
0answers
2 views

What is the timeframe used, for TCPBacklogDrop value calculation in netstat

I'm interested in the value TCPBacklogDrop of the command netstat -s on linux. But what I don't know which timeframe is considered, when calculating it.
-1
votes
0answers
13 views

Removed log folder and now my PHP script will not run

I deleted a log folder(log folder and all the sub folder within log folder) under var folder because it was taking 19GB of my disk space. After this, I can't run any php script. It show as a source ...
-3
votes
0answers
11 views

OpenGrok configuration in Linux - SEVERE: Error: No Exuberant Ctags found in PATH

When I tried running the following command in Linux Environment java -jar opengrok.jar -W /home/app/OpenGrok/opengrok-0.11.1/configuration.xml -c /home/app/OpenGrok/Ctags/ctags.exe -P -S -v -s ...
0
votes
0answers
12 views

How to isolate bluetooth device mfg and model when not listed in specs?

I am working on an HP Pavilion DV7-6166NR that has various potential matches from HP's driver section. I have not been able to find any actual enumeration or specification of what Bluetooth device ...
0
votes
0answers
16 views

how to save iptables rules permanently?

I want to keep some iptables rules permanence, so I just only add the rules manually: /sbin/iptables -I OUTPUT -p tcp --sport 80 -j QUEUE I am sure that the command works, because I could see it ...
0
votes
0answers
3 views

grub-mkconfig doesn't detect /boot

lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 596.2G 0 disk ├─sda1 8:1 0 25G 0 part /mnt/arch ├─sda2 8:2 0 2M 0 part ├─sda3 8:3 0 4.5G 0 part ...
-2
votes
0answers
15 views

How can I download network-manager-gnome package with all dependencies

I have Windows and Kali on dual-boot. "network-manager-grome" is uninstalled and when I'm trying to install this package (after downloading it on Windows) on Linux some errors dependencies returned. ...
-1
votes
0answers
13 views

What is the CentOS 7 equivilent package for python's “rhpl” from CentOS 5 (textdomain_codeset)

I have legacy Python (2.4) code from a CentOS 5 machine, which I am porting to CentOS 7 with Python 2.7. The file "timeconfig.py" (used for setting system time and date "graphically" on a text ...
-1
votes
0answers
12 views

Multi-OS bootable USB for Mac and Windows?

At the moment I have two usb's with different linuxes on them , Kali and Ubuntu. I recently found out that both were taking up little space, which means I could use one usb instyead of two, with extra ...
-1
votes
0answers
13 views

Giant Swap File fills hard drive to capacity

Today I had a most odd experience on our student computing server. Suddenly, you could not save a file and you got a "file system full" message. So I did a du -sh on all user directories to see what ...
0
votes
1answer
24 views

from which file grep found match

when doing something like this: cat *.* | grep mystring is it possible to know from which file each match comes from? If not what would be the alternative?
0
votes
1answer
25 views

Raspberry Pi: “Cannot find host”

I changed my hostname on my raspberry pi using this resource: How to Change Your Raspberry Pi (or Other Linux Device’s) Hostname. When I use the host name on the ssh client to connect to the ssh ...
0
votes
0answers
7 views

Setting up a zyxel dlsam without ppp server

Hi I'm trying to setup a zyxel IES-1000 dslam, it's networked to a router and I have an adsl modem connected to port 1 on the dslam. The line syncs ok but the modem doesn't get an ip address i've ...
0
votes
0answers
7 views

BTRFS & F2FS userspace utilites cross compilation

Is there any weblink/document which describes the steps to cross-compile btrfs & F2fs user space utilities ? Any steps ? special tuning suggestion for arm based board.(AM335x) ?
0
votes
2answers
34 views

Can you see whats happening under the gui?

When I start application with gui from linux terminal, i am able to see whats happening iunder the gui in that terminal. And if it crashes, most of the time there is problem why did it crashed. So my ...
2
votes
1answer
19 views

Copy file from remote host to another with scp/ssh tunnel

I want to copy a file from a remote host (remote1) to another remote host (remote2) via my local machine. I can only establish ssh connections from this local machine to either of the two remotes. ...
0
votes
0answers
2 views

Apache redirect awstats always to the same configuration

I configured apache to make a simple redirect for awstats: RewriteRule ^/awstats$ /awstats/ RewriteRule ^/awstats/$ /awstats/awstats.pl?config=domain.com [R] This configuration is inside a ...
0
votes
1answer
21 views

Rename files do the tree folder name in terminal, shell mac or shell linux

I'm working with a tree of folders and files with the structure \ Stories \ 00 \ 0 \ 00000 \ temp.xxx \ Stories \ 00 \ 0 \ 00001 \ temp.xxx ... \ History \ 10 \ 5 \ 10552 \ temp.xxx \ History \ 10 ...
0
votes
0answers
11 views

systemd user and system

I'm trying to understand a little better systemd by writing some services. I have difficulties in understanding the differences between those 2 services for instance, well I'd like to be sure I ...
0
votes
1answer
28 views

chkdsk /f /r alternative in ubuntu linux

In windows os chkdsk /f /r will fix a hdd error automatically.i have lost access in my laptop though i am able to live boot into my laptop using linux.I have live boot ubuntu 14.04 and i am in a need ...
1
vote
0answers
13 views

Copy files from GoPro over USB on Linux

I'm having a problem to copy files from GoPro over standard USB connection. I can copy tons of photos without any problem, but the connections break when I copy large (800Mb+) video files. In my ...
1
vote
0answers
23 views

How to download certain elements of a web page, skipping long tag attributes

(formerly titled: Curl -- how to exclude certain elements) Background: I regularly use command line cURL (on linux) to retrieve web pages. Situation: A new page I have to get is heavily bloated with ...
0
votes
1answer
15 views

Getting `du` to ignore size of `.` and `..` entries

Is it possible to have du leave out the size of the . and .. entries in each directory? I can't find a specific switch for it. Here is what doesn't work: du -S: doesn't change anything if there are ...
1
vote
1answer
7 views

Telling 'Find' to exclude core system directories (“! -name -'*.svn'” doesn't work)

I'm trying to do a "search and destroy" on the copy of GHC that's currently installed on my system (so I can reinstall a new version). As part of locating any residual files which may be left over, ...
0
votes
2answers
40 views

du and ls report different directory size?

In trying to verify that a copy-operation completed successfully (or at least that it didn't skip any files), I ran du -b inside the source and destination directory and it showed a difference of ...
1
vote
0answers
19 views

SSD is recognized by linux liveUSB but not by Windows on Asus G73JW laptop

I have an Asus G73JW laptop, which has two hard drive slots. In the first slot, I have a HDD containing Windows 7. In the second slot, I just inserted an SSD (OCZ Vertex 4) with linux formatting that ...
0
votes
0answers
16 views

Liberation fonts not being rendered in Google Chrome on Linux

A few days ago, I installed Fedora Linux 21 on my laptop and the following were installed by default: liberation-serif-fonts-1.07.4-4.fc21.noarch liberation-fonts-common-1.07.4-4.fc21.noarch ...
0
votes
1answer
23 views

Running multiple Java versions on single Linux machine

My Linux machine with JRE 6 (1.6.0.35) is running a Java application. I am working on SCTP support in JRE 7 (not supported in JRE 6 and not supported on Windows), so I want to test a simple Java ...
1
vote
0answers
6 views

samsung-laptop module in UEFI

After searching the internet I found no good answer to this. I know that the samsung-laptop module is automatically blacklisted when a linux installation is done in UEFI mode. This was a measure to ...
0
votes
0answers
13 views

Gzip Mutliple files using single command [migrated]

Want to Gzip my all the .csv files into a gzip file. I am using this command. gzip *.csv; Problem File contains '//' in its name that's why command is giving error. Error : - '//File.csv' is not ...
0
votes
0answers
13 views

KDE vs. LXDE | org.<desktop>.* profiles

With KDE I was able to find a way to disable screensaver by the following text: KDE if [ -n "$ret" ] && [ "$ret" -gt 11 ]; then idle_time=`qdbus org.kde.screensaver /ScreenSaver ...
0
votes
1answer
24 views

Mount external drive as writeable for all users

Okay, the neat thing about Ubuntu is that it automatically mounts any extra drives as read/write for non-root users in /media. But, whenever I use mount from the command line on Ubuntu or any ...
0
votes
0answers
6 views

Rsync over NFS I/O error

We have two servers running CentOS 6.4. Both are NFS servers and each have shares mounted from each other. Regardless of which direction the transfer goes (upload or download) it fails after a few ...
0
votes
0answers
7 views

Ubuntu + Asterisk = Registration from '“100” failed for '10.0.83.202:51966' - Wrong password

I have set up a simple Ubuntu 14.04 just installing Asterisk (apt-get update && apt-get upgrade && apt-get install asterisk). When I try to log in from my client (Telephone for OS X) ...
0
votes
1answer
18 views

Automating VPN launch

I've recently set a VPN connection up, between my home computer (Ubuntu 14.10) and a dedicated server (Debian 7.7), using OpenVPN. So far so good. My question is, how would you go about simplifying / ...
0
votes
1answer
23 views

Changing TCP sliding window behaviour

We all know that TCP's congestion control uses additive (linear) increase and multiplicative decrease when adjusting sliding window size. Is there a way to change it to "linear decrease"? When a ...
0
votes
0answers
9 views

How to change the binding of the 2nd backslash key next to 'Z' on international keyboards

I want to properly setup my international keyboard in xorg-server (which using xkb). My physical keyboard has the same [backslash]/[pipe] key in two places, one to the right of [Enter], and another ...
0
votes
1answer
17 views

Linux editing remotely mounted files

I have a web server and I mount the directory containing all my website projects onto a local directory in my Linux VirtualBox under /home/UserA/Desktop/Remote/sites. My problem is editing the files ...
0
votes
0answers
17 views

sudo - /etc/sudoers is world writable on Ubuntu OS

By mistake I change the permission of /etc/sudoers file on Ubuntu OS, now when applying any command using sudo, its giving error, sudo: /etc/sudoers is world writable sudo: no valid sudoers sources ...
2
votes
3answers
29 views

Can't ssh in with public key

I have two RH linux hosts, same build 'n everything, call them A & B. I can ssh happily from A to B using a public key, but I simply cannot login to A from B (or from my desktop using putty & ...
0
votes
1answer
12 views

Type file content, pipe some actions and put result back

Is there way to do something like thas: cat somefile.txt | sort | uniq > somefile.txt I.e. I want to list entire file, then pipe some actions to its content and finally put result back to source ...
0
votes
0answers
9 views

To unlock Linux rhel 7 screen through remote ssh

i want to unlock screen remotely using any command . Tried this command " DISPLAY=:0; gnome-screensaver; gnome-screensaver-command -d " I got command not found error , Please help me how can i ...
0
votes
0answers
6 views

Strange behaviour when calling getty on Virtual Box

I am currently trying to get a shell script to run on a Debian 7, that replaces the initial getty call in /etc/inittab. The line in /etc/inittab looks like this: 1:2345:respawn:/bin/bash ...
0
votes
0answers
21 views

Installing firmware with samsung magician dc

I am trying to get Samsung magican DC to work on my linux (linux mint 17 xfce) computer. I downloaded samsung magician dc from here. Then I downloaded the firmware update files from this page (under ...
1
vote
0answers
8 views

Can I interrupt a task in inkscape?

I have launched a "tiled clones" task in inkscape. Rather than setting a number of clones, I have selected an area to cover. Inkscape has been working at it at 100% CPU for 1/2 an hour now... I'd ...
4
votes
1answer
62 views

Require user passwords on linux only on weekdays

Is it possible to make linux require user password only during specified time range, eg. from Monday to Friday? I want to set it this way on my Linux Mint, so that kids cannot access computer on ...
1
vote
1answer
11 views

How to open vnc viewer and login vnc with one command line

I download vnc viewer from here, i find it's a binary file, so my question is how to open vnc viewer and login vnc with one command line, for instance ruby -e "puts (File.read 'path/to/my/passwd')"| ...
0
votes
0answers
10 views

Is system call the only way that a user program can intentionally affect the state of a Linux kernel?

I think there are several ways that a user program can intentionally affect the state of a Linux kernel. By invoking a system call; By invoking mmap() and writing the memory that has been mapped to ...
1
vote
1answer
22 views

How to Extract Multiple substrings from Log FIle

I am trying to extract the timestamp and the number string in the URL called in an apache logfile that looks like this: 123.456.78.90 - - [16/Dec/2014:06:27:30 +0100] "GET ...
0
votes
1answer
11 views

Partitioning Linux Mint Cinnamon [on hold]

I am installing Linux Mint Cinnamon for the first time and need some help figuring out the best way to partition everything. I have a 120 GB SanDisk Ultra II SSD and 6 GB of RAM. I have no need to ...