Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

0
votes
0answers
18 views

Stack pointer of the interrupt stack

Linux kernel has separate stacks for user mode and kernel mode process and also some special stacks. One of this special stacks is interrupt stack with the size 16 kilobytes placed in the ...
0
votes
1answer
16 views

Need Info on linux command ssh-keygen -t rsa -b 4096 -C “your_email@example.com”

I have to access personal git repository at the university . I have been asked to Generate SSH key. I am using this command to generate an SSH key: ssh-keygen -t rsa -b 4096 -C ...
1
vote
1answer
36 views

D3100 Dell docking station

So I got my Fedora 22 as I finally decided to switch from Fedora 20 ( been using it forever, found it kinda hard to detach ) The problem is that I bought my new docking station for multiple monitors ...
1
vote
0answers
17 views

running cron on a chroot

For my web development I use a debootstrap'ped Debian with sysvinit, I start apache2/mysql manually only when I need to work. Now for a new project I require to run some scheduled task for which I ...
1
vote
1answer
56 views

Accidentally deleted my wifi device wlan0

I was trying to fix my wifi on kali linux the other day and was following some tutorial. That didn't work so I read somewhere that if I run this command iw dev wlan0 del After that command i cant ...
0
votes
0answers
29 views

What are the advantage of using tcsh? [duplicate]

I'm a newbie to Linux. I have found tcsh has some advantages over bash. What are the significant advantages using tcsh over bash? For C Programmers is there any specific advantages that bash cannot ...
-1
votes
0answers
9 views

How to determining which file connecting to special ip?

I have a AWS server in the past day i received an email from AWS support that shows i have very outgoing trafic in my server and it seems there is a script in my server that using to bruteforce ...
0
votes
0answers
25 views

How to fix multiple display settings support for Linux Mint Cinnamon with a AMD R7 graphic card?

I have a AMD Radeon R7 M265 Series graphic card at my laptop, I installed drivers manually from AMD site, I can get clinfo and fgl_glxgears output after install, the problem I'm facing is that now I ...
4
votes
5answers
114 views

Is there a plain GNU/Linux OS?

I'm currently looking at all the different Linux distros and can't seem to find the original GNU/Linux OS. Apparently there is a GNU System which combined the GNU project with the Linux kernel. How do ...
0
votes
1answer
28 views

Having trouble compiling BFLT Utils: can't find libiberty.h, despite being installed

I'm attempting compile BFLT Utils (https://github.com/nihilus/bflt-utils), but keep getting the following error: $:/tmp/bflt-utils/flthdr# make gcc -Wall -g -O2 compress.c -c gcc -Wall -g -O2 stubs.c ...
1
vote
2answers
20 views

Script that only counts Established, TIME_WAIT, and Closed Wait connections using Netstat

I'm trying to make a script (using Perl, but it isn't necessary) that will only count the number of Established, Time_Wait, and Closed_Wait connections on a system and print them in terminal. So far ...
9
votes
3answers
518 views

Find all animated gif files in a directory and its subdirectories

let's say that i've done a find for .gif files and got a bunch of files back. I now want to test them to see if they are animated gifs. Can i do this via the command line? I have uploaded a couple ...
5
votes
1answer
72 views

How to find out what is launching a port scan in the night from my Linux?

I have several Linux (mostly Debian) servers running on a Proxmox platform. All of them connecting to Internet through an ADSL line, with only one public IP. One of them is running OMD (open ...
2
votes
2answers
55 views

Find last time yum update was run

Am building a script to find out when a list of servers was last fully updated with yum update. I can find it by a history |grep "yum update"|head -n 1 however, the problem is that a user could have ...
0
votes
0answers
32 views

telnet command with custom timeout duration

I'm trying to execute telnet command and getting the out put on shell script. But when the port not open or the ip not exist. The command take too much time to give the response. Will it be possible ...
0
votes
2answers
28 views

Logging service

I have written java application that runs on several hundred Linux computers. Program creates log file using log4j logger. To make development better I need to collect log files from these systems and ...
0
votes
0answers
6 views

Repository configuration for FreeSwithc-vanilla 64-bit linux [on hold]

new user trying to install freeswitch-vanilla version 1.2.* stable from scratch didn't find repository on update even after manually adding repo into sources.list. As debian repositories not ...
0
votes
1answer
14 views

Default gateway is not reachable

I have a vmware player on which i have installed CentOS 6.5. And on that CentOS 6.5 i have installed lxc and on that lxc i have installed centos 6.3. I am using NAT and bridger as a Network adaptor ...
0
votes
2answers
217 views

Linux tattoo: sudo -rm -rf / [closed]

sorry if this might be off-topic, it's the most in-topic forum I found in stackexchange, please let me know if there is a more adequate forum and I'll erase/repost there.. Anyways, I'm getting a ...
0
votes
1answer
33 views

Graphical access to windows over ssh

I have a chromebook with kubuntu on and a desktop computer at home which is quite powerful running windows 10. Since the chromebook has limited memory/hd space I would like to be able to access my ...
0
votes
0answers
26 views

Can't open steam application after installing SteamOS 2.0 (Brewmaster)

I was trying to install SteamOS Brewmaster update July 2015. Comes an error that I can't open the terminal, but I can fix it with reconfigure language from Ctrl+Alt+F2 or other. But the other problem ...
0
votes
0answers
80 views

Error while trying to compile/install kernel, 4.1.6 on Ubuntu 15.04

I'm trying kernel compilation in Linux for the first time. I'm using the guide here to learn the basics. I'm able to pull the source code from the git repository, and can compile it. However, I run ...
0
votes
0answers
21 views

Should I concern about Linux driver for headset?

I was thinking about buying Logitech G430 headset. However, the producer mentions windows operating system only. As my personal experience even if only windows garbage drivers(or I call them fancy ...
0
votes
1answer
16 views

How can I install my network driver on Debian from a USB media?

Here's my typical workflow for installing Ubuntu/Mint: 1) Boot from a USB stick with Live installation 2) Install, reboot 3) Use my USB network adapter which is supported by Mint to get internet 4) ...
0
votes
0answers
280 views

How to install Ubuntu Software Center in Kali Linux 2 (Sana)?

I have tried to install software-center in Kali 2, but it says "there is no installation candidate". I have these default repositories in sources.list: deb http://http.kali.org/kali sana main ...
0
votes
0answers
17 views

X stopped working after a kernel update

My system is a laptop with Ubuntu 14.04, with an Intel CPU and Intel + Nvidia GPU combo. After one automatic kernel update, the GUI stopped working. It shows a blue loading screen with a spinner, up ...
-2
votes
1answer
24 views

Shell script curl limit the try time for page not found

I found following code to check web url. if curl --output /dev/null --silent --head --fail "$url"; then echo "URL exists: $url" else echo "URL does not exist: $url" fi Here if the page not ...
0
votes
0answers
27 views

CentOS lock screen not unlocking

I have a centOS VM that when I lock the screen it will not let log me back in. I can enter my password as many times as I'd like, even try to "switch users" but the VM just ignores everything and ...
1
vote
2answers
49 views

Awk & regular expression to process pgn chess games file

Below an extract of the sample.pgn file [Event "rated blitz match"] [Site "Internet Chess Server"] [Date "2015.08.20"] [Round "?"] [White "Villain"] [Black "Hero"] [Result "0-1"] [WhiteElo "1643"] ...
-1
votes
0answers
34 views

Cannot retrieve repository metadata when using yum

I ran this command: yum update which gave me the following error: Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile ...
2
votes
1answer
35 views

boots from usb but uses internal hd as sda1

I am currently booting a kernal (via uboot) from a usb drive which works fine. The issue I am having is when the SSD is plugged in it uses the SSD as the sda1 and i have to unplug the SSD for the usb ...
0
votes
0answers
5 views

Messed up chown in /usr/bin. Caja won't allow me to mount drives

Ok so I did a bad boo-boo and did a chmod 755 on /usr/bin (it was by mistake, there was a folder in /usr i needed to do it on that started with "bi" and I stupidly did chmod -R 755 /usr/bi* cuz I was ...
0
votes
0answers
9 views

release modified debian distro as educational tool?

I intend to release a VirtualBox image of a modified Debian Jessie installation for educational purposes (stripped down version optimized for programming),which will be publicly available. However I ...
2
votes
0answers
28 views

How to trap spam sent from certain top-level domains?

I'm getting a lot of spam from eu TLD Maybe I could have put a rule set giving a score of say 2.5 or 3 for any mail originating from the .eu TLD; then this score + other factors could have made it ...
0
votes
0answers
32 views

program “killed” as soon as it run

Ubuntu 12.04 I have success make and output a program name algo. When I type ./algo,the terminal just directly shows 'killed' And I search the var/log/message or syslog kern.log.I don't see any ...
2
votes
0answers
34 views

Disk i/o latency using /proc/vmstat file

How do i calculate Disk read and write latency in Linux? Is it possible to do the calculation using /proc file system? I am used iostat and vmstat command. But i do not understand how the ...
1
vote
1answer
18 views

Is it possible to chroot sftp service as unprivileged user?

I currently have an sftp-only sshd service running as an unprivileged user that works fine. When adding ChrootDirectory %h to the separate user_sshd_config, the user is immediately disconnected after ...
1
vote
0answers
10 views

Understanding qperf's output

I am using qperf to measure latency between two servers (running linux) connected through a network of switches. Following is a sample output. I am confused interpreting the results. % qperf -vvt ...
2
votes
2answers
49 views

Normal user can't unmount if mounted by root

I'm running a script that needs root privileges. One of its functionality is mounting an attached user HDD by using udisksctl utility. I'm using it like udisksctl mount -b /dev/sdX --options ...
5
votes
2answers
74 views

Is it better to use cat, dd, pv or another procedure to copy a CD/DVD?

Background I'm copying some data CDs/DVDs to ISO files to use them later without the need of them in the drive. I'm looking on the Net for procedures and I found a lot: Use of cat to copy a ...
0
votes
0answers
34 views

ssh x11forwarding not working , but only on debian8 [duplicate]

I recently installed Debian 8 on my workstation , witch before ran ubuntu 15.04 , but after Debian 8 came into my live , I have not successed running ssh with X11forwarding. case is: I have a server ...
1
vote
1answer
8 views

Only move folders not existing in target directory

I am looking for a way to move folders that are not already present in the target directory on my linux server. Example: Target directory folder1 folder2 folder3 folder4 Source directory folder1 ...
0
votes
2answers
31 views

Desktop environment that stacks programs in the task bar

I'm currently on Linux Mint with Cinnamon and completely abandoned windows a couple months ago. The only one thing that I'm currently missing from windows is the stacking of several instances of one ...
3
votes
2answers
129 views

Subtract floating numbers in shell script

I'm trying to do some calculation in shell script with CPU usage. Which return floating point number. But when I subtract this number I'm getting error. See the following code and error. Code ...
4
votes
1answer
47 views

What is /proc/<pid>/net/dev?

I'm interested in per-process network I/O counters, like those in /proc/net/dev and found what I thought was it under /proc/<pid>, i.e. /proc/<pid>/net/dev. But it seems that was too easy ...
0
votes
0answers
13 views

sar shows zero percent load

I have an issue with sar on several machines running ORACLE Linux 6.4. Sometimes it shows zero load (CPU, block device, whatever else), including idle: Why can it happen? sysstat package version ...
2
votes
1answer
32 views

Can ALSA output sound from a motherboard jack input line to HDMI?

I have a machine installed with OpenELEC and I'd like to use the motherboard line input (jack) and redirect sound through the HDMI link. All the other jacks from the motherboard will be unused. I ...
3
votes
1answer
10 views

Linux init script what does 0<&- &> achieve

Sorry if this is the wrong medium to ask this question. I looking into writing my own init.d scripts to control several services running on my Linux server. I came across an example online which ...
0
votes
1answer
24 views

U boot and armhf installation

I am currently trying to install ANY linux distro onto an external HD. My goal is to boot using the external device, but my problem at the moment is that I am unable to achieve this I try to boot the ...
18
votes
6answers
3k views

How to safely turn off swap permanently? (on Debian Jessie)

I fresh installed Debian Jessie with default partitioning on an SSD drive. My current disk partitions look like this: As I have 16GB RAM, I think I don't need swap. On Windows, I had it turned off ...