Questions tagged [linux]

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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
4k views

tcpdump not displaying RSSI

I am monitoring Wi-Fi probe requests via tcpdump on Debian and am trying to capture the RSSI (signal strength) of each probe request element. Currently, the output from tcpdump for each probe request ...
kittyhawk's user avatar
  • 201
0 votes
2 answers
3k views

What is the best way to check if internet connection is alive?

I am student and I connect to internet with Shibboleth. Actualy I have a Python script on a raspberry pi with selenium and phantomjs to automatically connect on running. I would like to check ...
Raph's user avatar
  • 1
0 votes
1 answer
344 views

How to find the name of the user that has been logged in the longest?

I need to determine the user who has been logged in to the Linux server for the longest time. Can't come up with the right commando. Any help is appreciated.
Kabachok's user avatar
  • 113
0 votes
1 answer
2k views

Controlling tty / terminal output from other session / shell

We are told that a tty can control at most one session and furthermore that ttys can be controlled not to allow background process groups within its controlled session to write or read from it, the ...
fast-reflexes's user avatar
0 votes
1 answer
213 views

port forward in INPUT level

I want to change the destination port of the ipv6 packet in the INPUT level. So I tried to use ip6tables with nat in the INPUT level but seems this command does not work # ip6tables -t nat -I INPUT ...
Mohamed KALLEL's user avatar
0 votes
1 answer
459 views

Sound from external DAC not detected; can't unmute devices in pavucontrol

Recently I installed Linux Mint 17.1 KDE on a brand new computer. So far, only this problem. Using Audacity, I'm trying to capture audio streams from an external DAC-tuner connected by optical cable ...
Mintonite's user avatar
1 vote
0 answers
889 views

Use Ubuntu Iptable to route public ip to pc in private network

I am currently set up a Ubuntu server as a Router which has two network interface. eth0 -> Connecting to public internet ( 10.10.1.78 ) eth0:1 -> 10.10.1.79 eth0:2 -> 10.10.1.83 eth0:3 -> 10.10.1.81 ...
Jeff Lee's user avatar
0 votes
3 answers
1k views

Where can I find the definition of "eth0" in my Ubuntu 14.04 OS?

I cannot find the definition of eth0 in either /etc/network/interfaces or /etc/NetworkManager/NetworkManager.conf, but eth0 works perfectly. So who can tell me in which configuration file I can find ...
hebothu's user avatar
0 votes
1 answer
424 views

Ubuntu 14.04 LTS on a ASUS Laptop

I have an ASUS laptop which I am trying to re-purpose as a Linux machine, to which I purchased a new 750GB hard drive. Yesterday I installed Ubuntu 14.04 LTS and followed general guidelines for ...
Grey Wolf's user avatar
2 votes
1 answer
95 views

Computer mysteriously seems to power on after surge, but no video or network

I have a box running Linux Mint I've been using as a file/plex host for about half a year to a year. Last night there was a brief power outage and I shut down both of my PCs (linux and Windows machine)...
ezgoodnight's user avatar
1 vote
3 answers
282 views

iptables catches on DENY but not on ACCEPT place prior to it in the chain

I have a weird problem with my iptables firewall: If I set two consecutive identical rules, the first is ACCEPT and the second is DENY, the incoming packet is denied (and logged as such). How is it ...
greg's user avatar
  • 155
0 votes
1 answer
622 views

How to enter into process running on gdb?

So I was trying to debug a program that runs on two node. I use yod as task launcher. yod -hosts node01,node02 ./dist_task -nl 2 The program is stuck. So I wanted to use the gdb like this yod -...
solti's user avatar
  • 101
0 votes
1 answer
168 views

How to grep through HTML using GNU grep 2.12 and bash 4.2.37?

I've never used grep to parse HTML files, and am having the following problem: grep -Po "(?s)(<h2>.+?<!-- /endcontent -->)" input.html > output.html -bash: !--: event not found I also ...
OverTheRainbow's user avatar
6 votes
1 answer
9k views

Why should one prefer lower case file extensions like .jpg over uppercase ones like .JPG?

Many (most?) programs note file extensions in lower case. ls command in bash even prints foo.jpg highlighted as picture by default but not *.JPG. Lower case characters are better to distinguish from ...
Jonas Stein's user avatar
  • 1,102
87 votes
8 answers
94k views

Display all output but highlight search matches

In bash, if I want to execute a command and only display output lines that matches a certain pattern, I can pipe it to grep, like file testfile hello there my friends command $ cat testfile | grep '...
ewok's user avatar
  • 4,211
5 votes
1 answer
27k views

How to disable a plugged-in PCI-e graphic card on OS level? [duplicate]

I have a server running for which I want to have a possility to access it with a screen connected to VGA (very rarely, most of the time it's accessed via SSH). Therefore I have a PCI-e graphic cards ...
Kalle Richter's user avatar
2 votes
3 answers
3k views

How can I have very large files/directories copied from one host to another "offline"?

I intend getting a vps server real soon for some of the resource-intensive sites I manage. I live in a country where 1Mb/s internet speed is a luxury and constant uninterrupted electricity, a myth. ...
Feyisayo Sonubi's user avatar
0 votes
3 answers
3k views

iptables directing traffic through vpn

Networking newbie. I have two interfaces on the host: eth0 and tun0 from my OpenVPN client. The IP addresses are: eth0 192.168.1.22 tun0 10.1.0.8 Question 1 For outgoing traffic by changing ...
fswings's user avatar
  • 873
0 votes
1 answer
254 views

what the "!" means in the iptable rule

what the "!" means in the following iptable rule iptables -I inacc ! -i br0 -p UDP --dport 69 -j ACCEPT I think is related to the interface br0. I think it mean any interface except the br0 Am I ...
Mohamed KALLEL's user avatar
5 votes
3 answers
12k views

How to create a group, add user to group, and give that group full access to directory in linux

I have my local user localUser who has directory /home/localUser. There is another user serviceUser who runs some services and he needs full access to some folders in my home directory. I want to ...
Dmitrij Kultasev's user avatar
0 votes
1 answer
46 views

Purpose of each disk access and why it may not occur [closed]

I'm going over past papers for an exam I have and my university do not provide answers so that I can check them, please could you let me know if my understanding is correct and if not please could you ...
TheRapture87's user avatar
2 votes
0 answers
1k views

MS Office 2010 not working in fedora 22 in Wine

I am new in Linux, Using Fedora 22 beta. I have installed Wine. Then installed ms office standard 2010 package. Everything was okay except the MS PowerPoint.Then thought as we do in windows, I will re-...
Black Swan's user avatar
  • 1,141
0 votes
1 answer
759 views

What does "warning: nm: no name list" mean?

I'm trying to grep for a symbol in a library. $ nm /usr/local/ssl/macosx-x64/lib/libcrypto.a | grep rc4_md5_enc warning: nm: no name list warning: nm: no name list warning: nm: no name list ... The ...
jww's user avatar
  • 12.1k
17 votes
1 answer
9k views

Why did the naming convention of network interfaces change in linux?

I recall not too long ago, interfaces were identified by eth0, eth1, wlan0, etc. Now I'm finding interface names like enp0s3, enp0s8, etc. In another question I asked here only moments ago, someone ...
Volumetricsteve's user avatar
0 votes
2 answers
111 views

Database backup bash working via ssh but not in cronjob

I've put together a script to backup my database on a shared host. The script is as follows: mysqldump --databases [db1] [db2] | openssl aes-256-cbc -a -salt -pass file:/home/[user]/etc/.keys/....
Grey's user avatar
  • 1
5 votes
2 answers
8k views

In Virtual Box, how do you know which NIC is which from the linux command line?

I've run into a problem a few times now where I'm installing linux in a virtual machine, and all of my interfaces look like "enp0s3" or "enp0s8" ect. In one test, I was running a VM with 4 virtual ...
Volumetricsteve's user avatar
1 vote
1 answer
33 views

Problems with function checking if a path exists or not

I am a little new to bash scripting and I was trying to make this program capture a directory path from user and then check if the directory is present. It seems as if the variable SRC inside the ...
Luis's user avatar
  • 11
0 votes
1 answer
405 views

Cat and/or echo several things into one file on "one command line"

I know we can do things like this: stat -f%z mybigfile > RELEASENOTES.txt and echo "bytes" >> RELEASENOTES.txt Now RELEASENOTES.txt will look like this: 47556304 bytes How can I get "...
Jonny's user avatar
  • 555
2 votes
0 answers
876 views

Sharing HFS+ (USB-HDD) over NFS

I've hooked up an external HDD to my Raspberry Pi running Raspbian. It shows up under /dev/sda2 and /dev/sda3 (two partitions). I followed numerous tutorials, but none seem to have a fix for my ...
Rowan Kaag's user avatar
0 votes
1 answer
379 views

How to show path in shell, but only a fixed number from pwd?

Basically, I want to display something like: [email protected]:../projects/1234/source$ cd cpp [email protected]:../1234/source/cpp$ instead of: [email protected]:/opt/home/me/dev/projects/1234/source$...
ctote's user avatar
  • 379
0 votes
1 answer
637 views

Remove PostgreSQL database files

I've uninstalled PostgreSQL some time ago, but now I needed it again, and installed it. When running rcpostgresql I get the following: /usr/sbin/rcpostgresql Your database files were created by ...
Willams Costa's user avatar
1 vote
0 answers
9k views

Kali Linux gives me an error message when I try to use setup

When I tried to setup Kali Linux, I got an error message saying that it can't find win32-loader.ini. I also tried just booting it, but the CMD window pops-up only for a blink of an eye and I hadn't ...
Colt Williams's user avatar
0 votes
1 answer
66 views

file owner doesn't belong to file group

hopefully quick question regarding web server write and read permissions. Here's the thing. Currently I have this setup on a production server: ... drwxr-xr-x 12 apache developers 4096 Apr 27 19:...
wadge's user avatar
  • 103
0 votes
1 answer
500 views

How can I disable KDE Alt-` behaviour

After upgrading my Linux Slackware, KDE started to respond to a new key shortcut, which did not happen before. When I click Alt-`, I see the icon of the current window with it's title in the center ...
user4035's user avatar
  • 893
1 vote
2 answers
4k views

Changing ownership not permitted in BitBake

I’m compiling a Yocto project with BitBake. A recipe of BitBake try to change the permission of some directories and files using chown command. The problem is that the command fails because of ...
LPs's user avatar
  • 121
0 votes
1 answer
274 views

Make a group be able to run shutdown command without entering a password (CentOS)

I used the command visudo -f /etc/sudoers to edit the sudoers file. How do I make a group be able to run the shutdown command without supplying password?
Matty2's user avatar
  • 11
1 vote
2 answers
4k views

SSH Connection is established on port 22, but service is not working

I am having this recurrent issue on one of my MySQL Cluster Servers, actually always happens in any random MySQL server of this cluster, on many countries where we have this same configuration. I ...
Jair A. Patete's user avatar
1 vote
1 answer
961 views

iptables problem in Evil Twin

I've been looking into the Evil Twin method and I found this steps: Creating AP airmon-ng start wlan0 airbase-ng -e PrivateWIFI -c 9 -v mon0 at0 Configuration ifconfig at0 up ifconfig at0 192.168....
Khalil Bz's user avatar
  • 203
1 vote
1 answer
3k views

inotify script stops after first change

Inspired by this superuser answer I have written the following copy_library.sh script, saved in the same folder as a file called library.bib: #!/bin/sh while inotifywait -e close_write library.bib; ...
LondonRob's user avatar
  • 425
5 votes
1 answer
686 views

Terminal error messages are not in English [duplicate]

I have Ubuntu 15.04 installed on my machine. Currently terminal error messages are not in English (actually they are in Russian). For example, $ mmmm mmmm: команда не найдена I want to see $ mmmm ...
Paul Lebedev's user avatar
3 votes
0 answers
900 views

netstat -o timer value "probe"

A bit of background on the scenario. I have a distributed application running on RH6.5 that uses JMS (OpenMQ 4.5.2) to send messages between hosts. One host (Host A) receives information from network ...
Nuno Perpetua's user avatar
0 votes
1 answer
360 views

Partition size from “df -h ” vs “fdsisk -l”

Partition size using "df-h" Filesystem Size Used Avail Use% Mounted on /dev/sda5 19G 17G 516M 98% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev ...
sahilaggarwal's user avatar
0 votes
0 answers
123 views

I can't press right click and icons disappeared on RHEL6

I'm only left with the desktop. When I right click, I get no response. Another problem is that there's no menus or icons. When I try to open Nautilus it doesn't start. When I tried to open it from ...
becks's user avatar
  • 135
6 votes
3 answers
5k views

Can I change my PATH dynamically based on my cwd?

I would like to change my $PATH environment variable dependent on my current working directory. Say I'm in /foo/bar/baz and I have the directories /foo/node_modules/.bin and /foo/bar/baz/node_modules/...
Pipo's user avatar
  • 163
1 vote
1 answer
45 views

Debugging ExtFS on OSX - works for 3 days then nothing?

I installed the trial of ExtFS 9.7.109 on OS X 10.10.3. It worked great for the first 3 days. But now my ext4 drives no longer show up. Last thing that worked was copying data from an ext4 drive. ...
PrecisionPete's user avatar
0 votes
1 answer
628 views

Connect a external SSH Server from blocked SSH Tunnel network

I need connect to SSH Server in my work office from a academic network, but in all tries occurred a "Timeout error". In my home and in other places the access work fine to connect (SSH Server working ...
Jefersonfs's user avatar
2 votes
0 answers
762 views

Getting 4K@60Hz via ATI R9 290 display-port on Panasonic TC65-AX-800U

Hi I have an AMD R9 290 card, under linux, with the proprietary Catalyst 14.50.2 driver; the AMD Card only Has HDMI-1.x which can't do 4K@60Hz, but it does have display port which is capable of 4K@...
Andrew of Scappoose's user avatar
1 vote
0 answers
582 views

IW and IWCONFIG reveals different wireless interface results

I am using VMWare Fusion with Ubuntu 14.04 as guest system upon the OSX host system. The question is that when I plugged in the USB Wifi adapter (TP Link WN725N in my case), The commands iwconfig, ...
Chris.Q's user avatar
  • 111
1 vote
1 answer
1k views

any one have a workaround in Linux for firefox's bogus "video can't be played because the file is corrupt" message

Systems are Xubuntu 14.04.2, 64-bit running (currently) Firefox 37.0.2 (provided by Canonical). attempts with firefox to open training videos by clicking on the website-provided links at (e.g.) ...
BISI's user avatar
  • 208
0 votes
0 answers
628 views

Bluedevil wizard starts on KDE startup

Bluedevil wizard (3 copies) starts on each boot after KDE start. There are no bluetooth devices near PC or smth. Why and how to fix?
Ximik's user avatar
  • 111

1
615 616
617
618 619
1178