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
0 votes
2 answers
3k views

How to join a WebRTC session with a Raspberry Pi 2 and Camera module?

How does one get a working setup to join a WebRTC session (e.g. https://opentokrtc.com or for testing https://test.webrtc.org) with a Raspberry Pi 2, the official camera module (and a USB soundcard)? ...
1 vote
3 answers
591 views

How to finish all processes in parallel remote servers?

When run multiple servers by pssh, here use pssh -h hosts-file -A -I script.sh in script.sh, it contains several java commands, after the command, I want to finish all process, here use: pnuke -h ...
3 votes
1 answer
2k views

Do I have sector size issue on my hard drive?

I have performance hard drive issue so I decide to look my drive when I type: sudo fdisk -l -u=sectors I have the following output: Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors ...
0 votes
2 answers
593 views

Linux RAID Mirror only half size

I just bought a couple 4TB WD Reds and for some reason when I try to mirror them the resulting array is only 2198.9 GB large. Both disks are formatted as Linux RAID Autodetect (ID fd) with fdisk, and ...
0 votes
1 answer
714 views

How to make Adobe Reader 9 open PDF's in new window?

Now when I open two PDF's its opened in the same window and in two tabs. this is very annoying. how to make it open in different Windows? P.S. I would like to do it on Windows XP and on Ubuntu.
1 vote
1 answer
2k views

How to make my Window system a Syslog server

I have my D-link router which can forward its logs to a syslog server. Now, I do not have any syslog server. Hence, I want to make my Windows machine a syslog server to get those logs from the D-link ...
1 vote
5 answers
22k views

Listing all words in a text file and finding the most frequent word

I have a file which contains lines. How do I write a script that will find and print out every word in the file, one word per line. Then find and print out the most occurring word (case sensitive) ...
0 votes
2 answers
1k views

Compiling hping3 on Raspberry Pi. Linker error: cannot find -ltcl

I am trying to install hping on a Raspberry Pi 2. I downloaded the source from GitHub, https://github.com/antirez/hping. After executing ./configure I tried make, but I got an error message from the ...
0 votes
1 answer
247 views

Welcome screen for Linux like Windows 10's one [closed]

A feature that I appreciate a lot of Windows 10 is its welcome screen. It suggests wallpapers based on my feedback and it offers sometimes a brief cultural description of what I'm seeing, for example ...
0 votes
0 answers
595 views

IPTables scenario explanation (How does my log rules are being hit?)

I have the iptables rules bellow from my OpenWRT router, I can not understand the scenario, in which my two logging rules are being hit (inside zone_wan_dest_REJECT and zone_wan_src_REJECT), because -...
1 vote
2 answers
765 views

Share Linux Ethernet Connection to Windows laptop over WiFi

I'm trying to get my Windows 8 laptop to use my Linux's internet connection. I'm pretty far from my router (other side of the house) and since my Linux computer uses a lan cable, it doesn't experiance ...
1 vote
1 answer
4k views

Using an Nvidia card instead of Intel graphics on Fedora

I have used the integrated Intel graphics for a while on my Fedora 24 machine and now installed an Nvidia card that I want to use instead. I have already disabled the integrated graphics in the BIOS ...
0 votes
3 answers
9k views

Can't mount filesystem on HD that came from WD NAS

I have a WD NAS drive, I need to recover some deleted files, so I've taken the drive out and plugged it into an Ubuntu machine to get direct access to the filesystem... When I check the drive in ...
0 votes
1 answer
675 views

HP Proliant getting down with Critical error LED Blinking - what then?

After a few hours of correctling working, our proliant Server stop calculus with the System Healt LED 12 blinking, which according to the documentation ( http://h20628.www2.hp.com/km-ext/kmcsdirect/...
-2 votes
1 answer
1k views

Kali Linux official repositories (ca.mirror.babylon.network)

Is http://ca.mirror.babylon.network/Kali Kali-rolling/main an official Kali repository?
0 votes
1 answer
307 views

Aggregate network traffic by destination IP

The bandwidth usage of my server almost suddenly doubled from 4.5TB to 8.5TB per month. I don't see a corresponding increase in my website traffic. Is it possible to find out top network traffic ...
0 votes
2 answers
45 views

Single Serving Site

I run a home server with MPD, CUPS, Deluge Seedbox with Web Client (for seeding linux to those who need it), Icecast, and FTP. One thing that's been bothering me when I connect to these services via ...
2 votes
1 answer
699 views

Installed windows 10 and Linux, how to safely remove the Lenovo recovery partitions without messing up the boot?

Please look at the following screenshots. Is /dev/sda1 useful at all (Windows says it is a Recovery Partition)? Can I remove it? It is only 1000MB and removing it seems no use, so the best I can do ...
0 votes
1 answer
333 views

OpenDNS blocks requests sent to VPN Server

Full disclosure: I am using a VPN to circumvent security measure set in place by my netadmin to torrent music. Recently, my dad installed the OpenDNS system in our home to prevent users from ...
6 votes
6 answers
56k views

iptables: Allow only HTTP access for web browsing

Have a linux box, want it locked down but just be able to surf internet on it. Why is this script blocking http too? #!/bin/sh # # iptables -F # #Set default policies for INPUT, FORWARD and OUTPUT ...
2 votes
1 answer
582 views

How to detect binary compatibility with the SSE4 instruction set?

I have bunch of binaries built for the SSE4 (Streaming SIMD Extensions 4) instruction set. I’d like to run them on a processor that has no support for the instruction set. It is natural that I get the ...
0 votes
0 answers
798 views

Ubuntu can't install an older version of a package

When I try to do an apt-get install, I keep getting an error: Depends: libgtk-3-common (= 3.4.1-0ubuntu1) but 3.4.2-0ubuntu0.4 is to be installed when I run sudo apt-get -f install, I get several ...
0 votes
1 answer
44 views

Is there a way to store user permissions "non-numerically" on a file-system?

I just moved a drive from one computer to another and realised that files were no longer accessible due to UID mismatch. My user had UID 1000 on one computer and the drive, whereas my user had UID ...
2 votes
0 answers
290 views

Bash - Terminal output listener

Background This is going to sound weird, but I had a dream last night where I installed a piece of software that listened to the output on my terminal and ran a command/script if certain phrases were ...
12 votes
5 answers
11k views

Tools to extract text from powerpoint pptx in linux?

Any there any linux tools that will extract the text from a Powerpoint pptx file? I tried catppt but it just returns file.pptx is not OLE file or Error. abiword --to=txt file.pptx also returns an ...
2 votes
1 answer
80 views

What does the digit after .so in library filenames mean?

It doesn't seem to be version, here's an example name: libcurl.so.4.3.0 version 7.40 me@pc:/somefirmware/extracted/lib$ strings libcurl.so.4.3.0 | grep -i "libcurl" libcurl.so.4 # This file was ...
0 votes
1 answer
1k views

In which folder to install software on Linux

I'm trying to figure out which folder for what is on Linux. So I want to install a free ERP system. However I'm not sure in which folder I'm suppose to install it. Should it be in \opt or in \srv? The ...
1 vote
2 answers
183 views

accidentally ran sed command, does unknown option to `s' mean no substitution happened?

I accidentaly ran sed command: find ./ -type f -exec sed -i 's/http:\/\/i.po.st\/static\/v3\/img\/set-24.png/https:\/\/i.po.st\/static/v3/img/set-24.png/gI' {} \; before I had finished escaping / ...
0 votes
0 answers
732 views

How to restore defective FAT32 flash drive?

Recently, my USB memory stick was not detected when I attached it to the computer. Previously, it worked just fine. But then no drive was popping up neither on Linux nor Windows. I used the dosfsck ...
1 vote
1 answer
1k views

openvpn configure iptables to allow only port 80/443 and throttle all other

I'm using Openvpn to let people go on the internet. All is working fine but i want to restrict the use torrent/P2p traffic. Instead of trying to block that by trying to identify them all separately i ...
0 votes
2 answers
188 views

why does other have read permissions by default on files/folders?

I have noticed that on any default/standard installation of *nix any new files/folders automatically get, at minimum, read permissions on other. Why is this? Isn't this insecure? Shouldn't *nix ...
6 votes
2 answers
6k views

How long will badblocks -vws run?

I'm running badblocks -vws /dev/sda on a new 80GB laptop drive to make sure the disk is good. So far it's completed 2 passes and is working on it's third. How many passes does it normally make?
0 votes
1 answer
435 views

Linux: How to create image of used files only?

I want to create an image of a Windows file system, while running Linux. The file system is encrypted but will be decrypted for the purpose of the backup. How can I create an image of only my files? ...
0 votes
1 answer
115 views

VPS with multiple ip and iptables

Is it so that when i have a VPS with Debian 8 (or whatever) and i order some extra ip's for it that that's not the same as adding networkinterfaces that can be treated that way by iptables? eg. -A ...
32 votes
3 answers
38k views

How to rename a BTRFS subvolume?

I have a BTRFS filesystem with a set of subvolumes in it. So far so good. I need to change the name of a subvolume, unfortunately the btrfs program does not allow me to rename a subvolume. Searching ...
3 votes
3 answers
18k views

Can I run VNC server on linux which don't required any password?

I want access a VNC Server running on a linux machine from windows client, without using any password. Is that possible?
2 votes
2 answers
5k views

Is it possible for 3 os in one machine? [duplicate]

Currently on my machine there were multiple os like windows and ubuntu16.04. Now i want to install kali linux on machine. is it possible for 3 os in one machine. my machine consist od 1 tb, 4 gb ram.....
4 votes
1 answer
3k views

no CUDA-capable device is detected inside LXC container

I followed the following instructions and read the official guide in detail in order to set up Cuda inside an LXC container. When I try to execute the sample ./deviceQuery script from the official ...
0 votes
1 answer
438 views

Can't find source path /home/username/.cache/flatpak-monitor: Permission denied

When i run flatpak run --branch=stable org.pitivi.Pitivi, i get the error: Can't create file at /home/mihail/.var/app/org.pitivi.Pitivi/config/user-dirs.dirs: Permission denied When i type sudo ...
-1 votes
1 answer
76 views

Text Extraction Query

I have a text file similar to the example shown below: 139 text string text string text string text string text string text string 139 fdghdfkljsghaksjgh fdkdsjahgks fklsdjghlksdjh jksdgh 139 text ...
2 votes
2 answers
755 views

Why Bash script won't extend ~/.bashrc?

On my bash script, I try to extend my bashrc, with the following lines : to_print="alias $nom_machine='ssh $nom_machine'" target_file="~/.bashrc" echo -e "$to_print" >> ...
0 votes
1 answer
171 views

Will increasing physical RAM help in less virtual memory usage and avoid virtual memory bottlenecks in Linux?

In Linux, for a 8GB RAM server, when could we say virtual memory is actually used more? I.e., what is the number of page faults which says system is using more virtual memory?
0 votes
1 answer
2k views

How to properly edit files in /etc/x11/xorg.conf.d/ folder

I'm looking for solution how to change the TVOutFormat and TVStandard options in openSUSE to connect my laptop with SVIDEO to TV. Everything works but it shows wrong aspect ratio and cuts off all 4 ...
0 votes
0 answers
29 views

TestDisk Ignore Aliases

I'm trying to use TestDisk to take the contents of my old linux boot drive, and copy it to a storage drive (I am doing this from windows 8). I believe that TestDisk is getting into infinite loops due ...
7 votes
3 answers
18k views

Connecting with SMBCLIENT to Windows 7 produces error: "protocol negotiation failed: ERRDOS:ERRnomem"

We've got a home network that has a mix of different operating systems, including two Windows 7 Ultimate PCs, a couple of Android phones, a MacBook Pro and two Linux PCs. My housemates own all but the ...
0 votes
3 answers
284 views

With drag and drop, is there a way to make a destination folder/app window stay on top with the source folder window underneath (Windows and Linux)?

Scenario: You have a file Window, where you want to drag a file from, and on top of this Window is another window, the destination: an app or other window. So you click on the file you want on the ...
0 votes
1 answer
292 views

does nouveau support hdmi for NV50 family video cards?

I have a GeForce G 105M. That's, I guess, an NV50 family video card: https://nouveau.freedesktop.org/wiki/CodeNames/#NV50 My question is... does Nouveau support HDMI with this video card? ...
0 votes
0 answers
2k views

mkfs.ext4 and mkfs.vfat with same badblock file give me different space

I have a 256GB pendrive with bad sectors, and I get them with this command: sudo badblocks -wsvf -o 256GB.txt /dev/sdc But when I use this file (256GB.txt) to format the pendrive I get different ...
0 votes
1 answer
131 views

pata hard disk I/O error in 2 sectors

after deleting all partitions and creating one fat32 partition, I got this error in the terminal and then I ran GSmartControl and got a report. and also the chkdsk gave me an error An error occurred ...
1 vote
1 answer
3k views

bash: why use "treat all files as text" flag with the diff command?

I see a few examples when using the diff command, particularly using it recursively for checking whole directories, to use "diff -ar foo/ foo2/". If I'm checking a bunch of mixed files (some text, ...

1
597 598
599
600 601
1175