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.

learn more… | top users | synonyms

0
votes
1answer
21 views

How to configure Linux iptables to block a specific port of server?

I am trying to implement port restricted cone NAT. I want to block a specific port 3479 of server 192.168.10.102. iptables -A INPUT -i $WAN -p udp -s 192.168.10.102 --sport 3479 -j DROP iptables -A ...
0
votes
0answers
23 views

Issue to access symbolic link

I have created symbolic link for logrotate configuration by using below command. ln -s /Liferay/FS/fs0000/app/liferay621-ga2-migrated-final/liferay-portal-6.2-ce-ga2/tomcat-7.0.42/logs/catalina.out /...
0
votes
1answer
13 views

How do I let VNC control the main desktop like the mouse and keyboard in front of the computer?

I'm on a Debian 8 machine now, and I'd like to set up VNC so that I can use my smartphone with a VNC client on it as a sort of a jury-rigged wireless mouse and keyboard. This was the default (and I ...
-1
votes
0answers
12 views

No data packets shown in kali linux terminal using airodump-ng code [on hold]

I have installed kali linux 2.0 in oracle virtual box. I'm using tp-link tl-wn722n as my wireless adapter. Whenever i write this code airodump-ng wlan0mon it shows no result BSSID PWR ...
0
votes
1answer
8 views

disable italic font in gnome-terminal

I use gnome-terminal on Debian 8 with Source Code Pro Regular as the font (the font comes with the TeXLive distribution). How can I disable the use of italics universally in the terminal? One ...
1
vote
0answers
13 views

Why does bcache in writeback mode cause a clicking sound from my HDD?

I'm using bcache in writeback mode with a small SSD as the cache device and a large HDD as the backing device. When I leave writeback_percent at the default value of 10, there's sometimes a faint, ...
1
vote
2answers
34 views

grep a file and pipe the output to sed and store sed output in a file

Contents of source.txt: gold green white black blue yellow magenta brown tram kilo charlie tango Hi everyone! I need to solve a mystery. I'm trying to run a small script to grep a file source....
1
vote
1answer
45 views

Rerouting network traffic to vpn

I have an ubuntu server as router. Now I would like to route all traffic from subnet 1 (192.168.1.0) through a vpn connection. This works only when i let the vpn server push the routes to my router ...
1
vote
0answers
35 views

Bash - log every input and output and write to file

I am often on assignment and sometimes I forget to document my work. E.g. write down output from different one off tools. Is there a way to automate that via .bashrc? So I open up a new shell, it ...
1
vote
2answers
28 views

convert 1 column to several columns

I am using this command: wc -l */* >> file which creates a file in current directory of all the appropriate info from the subdirectories. My problem is that it pastes the data in 1 long ...
0
votes
0answers
13 views

Implications when /tmp on linux is filled up by an application

I know /tmp gets cleaned automatically by some upstart script or cron that you have setup. However one of our application fills up /tmp while its running and then crash(not fail) itself as /tmp is ...
0
votes
1answer
19 views

Smart word wrapping in `less`?

I use the Python package rtv as a terminal client to read Reddit. When it gets to a large text box, it calls less display the text. Currently, less wraps the words according to column width, meaning ...
0
votes
1answer
25 views

Import root certificate in Synology

I am looking for a way to import a root certificate in a synology server (the certificate comes from a ssl intercepting proxy). I have copied the certificate to /usr/share/ca-certificates/<...
0
votes
1answer
12 views

Highly unstable WLAN / Roaming does not work with Debian 8

When using mobile devices in large buildings WLAN connection fails forever or longer periods of time when roaming from one access points to another occurs. The WLAN link is always up but no network ...
-5
votes
0answers
28 views

What devices can I use Linux on? [on hold]

I have a new project requiring a touch screen enabling me to write as one might wish to do on Paint for instance. I just can't write with an ordinary mouse. Anyway, I need a new device, and my issue ...
0
votes
0answers
32 views

install custom kernel and rootfs on board SMDKV210

I need help to install custom uboot + kernel + rootfs on a device with board SMDKV210 (device is panel INEWTEK) So the fact is that worked on a device (inewtek) with board SMDKV210 (call it old board ...
0
votes
1answer
21 views

How can I mount a tmpfs to /tmp via fstab, writable to anyone?

I want to mount a tmpfs to /tmp and make it writable to users (or a specific user). The machine is a Raspberry Pi 3 with Debian 8.0 (Raspian). Whatever I try, /tmp is always mounted with permissions ...
-1
votes
1answer
18 views

what happen on builtin command executed as background process

An external command was have new pid on executed as background process using & character, But The internal command was not done as separated process on normal execution because it done with shell. ...
0
votes
1answer
25 views

How to monitor events of process start and exit under Linux?

Under Windows, we can use Process Monitor to monitor various activities of all processes, such as events of process start and exit. Is there a similar tool under Linux?
8
votes
1answer
537 views

Why doesn't this softlink work as expected?

bash4.3 # pwd /bin bash4.3 # ll sh lrwxrwxrwx. 1 root root 4 May 17 22:22 sh -> bash bash4.3 # ll bash -rwxr-xr-x. 1 root root 1072056 May 17 22:22 bash bash4.3 # bash bash4.3 # ...
2
votes
1answer
74 views

Am I under a DDoS attack?

OK, so here's some info: Fedora23 running in VirtualBox on a Windows 7 Host. Public-facing router has no DMZ, but port forwarding from 2325 (external) to 1194 (internal) and the internal static IP. ...
1
vote
3answers
34 views

open latest file (jpg) in folder

My IP camera saves a video (.mp4 file) and a picture (.jpg file) every minute to my Pi, which is set up as an FTP server. I want to open the latest picture with ImageMagick every 5 minutes. The ...
-1
votes
0answers
20 views

Both options in dual boot direct to windows

I have a HP laptop with dual boot (Windows 10 + Ubuntu ) installed on it. I worked on my pc for a year like this by working on any one of the two platforms at a time whichever is required and had no ...
0
votes
0answers
18 views

Interruptable Loop that Does Not Interrupt Piped Processes

I'm trying to write a shell script which performs an operation every fifteen minutes until the user interrupts it, then aggregates all of the results to stdout and exits cleanly. My thought was to ...
0
votes
0answers
16 views

Linux turn off laptop screen

Okay. So I've got a second monitor. So my configuration on Linux (Kali) is: Primary - Samsung 23' and Secondary is laptop screen. Sometimes, when I want to, you know, Netflix&chill I used to press ...
3
votes
0answers
15 views

Why os Fedora is calling containers on startup?

My fedora distro is messed up with docker containers... Everytime I restart this I need to call "docker ps" and then call "docker kill" for each container that is running... How can I discover who ...
0
votes
0answers
7 views

How to get mplayer's currrent volume value?

I want to know the volume value of mplayer from command line, which is running already. Is there any way?
0
votes
0answers
5 views

DKMS modules for multiple kernels

I have a Ubuntu Studio 16.04 installation with both generic and lowlatency kernels installed that I can choose when I boot (I generally use generic but I may use lowlatency in case I want to do ...
20
votes
4answers
3k views

*nix equivalent of Active Directory? [on hold]

I'm looking for some terms to help me google further information. How does a set of *nix machines store network usernames and passwords? That is, if I want to set up a central server and manage ...
0
votes
0answers
15 views

Why does gnome-open-terminal not work as expected on MacBook?

I have fedora installed on MacBook Pro, and also installed gnome-open-terminal on it. On fodora 23 and before, when I right-click in the file explorer window, I can choose a menu item named "Open ...
2
votes
1answer
34 views

Lenovo E320 is in airplane mode, says toggle hardware switch, but has no hardware switch and WiFi is still hard locked

Yesterday, my laptop (Lenovo E320) suddenly enabled "Airplane mode" after reboot, saying I should toggle my hardware switch to enable wifi (and bluetooth) again. The thing is I don't have such switch ...
0
votes
1answer
101 views

DNF displays error after package install on Fedora

I am having a strange exception each time a package is installed/upgraded with dnf! However, the packages are well installed. It seems like DNF is outputting some malformed JSON that causes thed ...
0
votes
1answer
20 views

How can I make an open LibreOffice save a file, without using the GUI?

I've gone abroad, leaving LibreOffice Writer open with some file I edited. Unfortunately - I forgot to press Save! Now, I have SSH access to that machine, but - how can I make LibreOffice save the ...
0
votes
1answer
26 views

HDD IO errors, is this definitely a HDD failure or could it be something else? kernel.log

This HDD's history The hard drive is 1.5TB, 6 years old. IIRC it's 7200RPM with a ATA133 interface, using the motherboard's onboard controller. It gave perfect service in a big desktop PC, then 1 ...
1
vote
0answers
20 views

Is it possible to catch the instruction that wrote an invalid value into the pc register?

After an instruction, for example, pop {pc} writes an invalid value, say 0, into the pc register, CPU will try to fetch the instruction located at 0, which will usually trigger a segment fault. ...
3
votes
0answers
50 views

How to set default grub configuration file

I am booting four operating systems: Windows 7, Ubuntu, Kali Linux, and Linux Mint. They were installed in that order, with Linux Mint most recently and Windows 7 first. I am able to edit the /etc/...
0
votes
0answers
21 views

BeEF Won't Give Results

I'm new to using the BeEF xss framework.I've been playing around with the "browser" folder in beef and well, nothing really interesting works. It won't "play sound", and when I execute the Webcam ...
0
votes
1answer
26 views

Wifi adapter not working Kali linux

I have searched alot and everywhere the issues are with the kali os ran through virtual machines. I have installed Kali linux latest version 2016.1 on my laptop. And its the single os on my laptop, ...
-1
votes
0answers
25 views

How can I lower my own rights without root access?

I'm the new guy at work and I don't want to mess things up. I write programs, and I have to do this on a machine that is used by lots of other people and that is constantly running measurements and ...
0
votes
0answers
28 views

Windows 10, no Bootloader no Microsoft reserved partition

Let me tell you that I have tried many remedies in this forum and elsewhere but none of them worked for me. The problem is this: I have a Thinkpad x200 (I mention it in case it matters), until ...
0
votes
0answers
7 views

Booting Kali Linux on Mac, it doesn't let me install it

I'm on this issue from one week, and still I can't solve it. I'm on a Macbook Pro running El Capitan. I want to install kali linux on my external hard disk, and I find some guides online. But, when ...
0
votes
0answers
6 views

Puppet Firewall Module and regexp for the interface name

i want to apply an an firewall rule on a linux hosts with the puppet firewall module. (The module is working i have many other rules successfully applied) The interface (outiface) should be defined ...
0
votes
1answer
20 views

E: Package 'libtool-bin' has no installation candidate

due installing the prerequisites for a software, which is explained step by step here , when I enter this command: sudo apt-get install libtool-bin I get this error: Reading package lists... Done ...
0
votes
0answers
15 views

SSH: correct passwords stopped working, lead to connection termination

I have a VDS under Linux which I used to log in to via SSH for several years. Recently after providing a correct password I've started to get "Server unexpectedly closed network connecton". It ...
0
votes
0answers
11 views

systemd doesn't try to stop (some) processes on session termination

When I try to close a logind session (by logging out), some processes remain running under the session, preventing it from properly terminating, resulting in user@uid.service not terminating either. I'...
0
votes
0answers
11 views

How to launch Java app on certain monitor?

I have laptop with external monitor connected, so actually I have two displays (with different resolutions, but I guess resolution does not matters). When I launch Java app (Supermicro IPMIView in my ...
-1
votes
2answers
20 views

Linux Mint not detected

I dual-booted Linux Mint and Windows 10 on my computer this morning. It was going fine until I rebooted the computer. Windows 10 booted straight in instead of Linux. I checked the BIOS for an entry ...
-4
votes
1answer
32 views

How can tp, ps and kill be used by an administrator be used to deal with a “misbehaving” process? [closed]

As part of a controlled assessment I need primary research. So if anyone who is knowledgeable in the subject please give an answer. I already know how much people dislike this but I need usable ...
1
vote
2answers
47 views

Mounting raid5 disks without one of raid's member

I have to read data from disks, which are raid5 members. I'm wondering if there is posibility to read data from those disks somehow, but one of those disks is just broken. I was trying to mount some ...
0
votes
1answer
17 views

Remap cPanel Default Directory for Storing Files

I am looking at Digital Ocean's block storage as a potential way to scale a web server running cPanel's storage of all the public web content uploaded by users. After formatting and mapping the drive ...