Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

2
votes
3answers
240 views

Why creating partitions in linux is good solution for easy recovery?

I have heard if you don't make partitins in linux it is so hard to recovery your data. And if you make some partitions it would be easy to recovery. for example if you make /par1 /part2 /part3 it is ...
1
vote
0answers
37 views

Limit transfer speed rate by Iptables Rules

I have D-Link Router DSL-2730U that support busybox OS and iptables version 1.4.0 I managed successfully to block the host for being connect to the internet using the following command block by ip ...
0
votes
1answer
47 views

Debian - ifconfig not showing wlan0

I have Debian installed on my laptop (T440s). I've installed the iwlwifi drivers but Wifi does not work. ifconfig -a only shows eth0 and lo. What should I do? Also, how do I adjust brightness?
1
vote
1answer
30 views

Java Client Connection Refused by Linux Server

I have a Java server and client, which is a simple server that prints a message when the client communicates with it. It works perfectly fine when the client and server are on the same machine. When I ...
0
votes
0answers
15 views

How to instruct RHEL6.5 Linux to save/starts states before crush or restart

I have multiple Workspaces, each responsible for different revisions of the same software. Not to have to recreate all Worspaces and open all tools/windows, I'm wondering how can I instruct Linux to ...
1
vote
0answers
8 views

How do I stop recurring error messages from appearing in messages and auditd.log?

On my CentOS linux machine, in my auditd.conf file, I have set my max_log_file_action=keep_logs. However, in my /var/log/messages and /var/log/auditd.log, the following message appears multiple times ...
0
votes
2answers
60 views

Help to read a flat file into unix and output to simplified csv like format for import into excel

I have a text file that has data written to it in the format below, its thousands of rows. The new record always begins with WHATEVER.RDNDISPLAY or WHATEVER.DSPLY_NAME. The name of the record is ...
4
votes
3answers
79 views

Bash, insert last used argument of current command

I'm aware that you can recall the last argument of the previous command with !$ and also cycle through previous arguments with ALT + . but can you recall the last argument used for the current command ...
1
vote
0answers
22 views

ping on linux vs ping on mikrotik

I have ubuntu server 14.04, with two network cards (LAN and WAN). I made a masquerate for WAN card. I have internet access from a host within the Lan of router. I do a ping to 8.8.8.8 and try to ...
1
vote
2answers
79 views

sed:can't read /usr/lib/libltdl.a:No such file or directory

I tried to install the package libgraph but while executing make it says that justin@justin-HP-Pavilion-g6-Notebook-PC ~/Downloads/libgraph-1.0.1 $ make Makefile:781: warning: overriding commands for ...
1
vote
2answers
26 views

Kernel panic if LUKS password is bad x times

Q: Is it normal if a RHEL 6.5 machine kernel panics if I type the LUKS password a few times wrong?
-1
votes
1answer
31 views

Can't connect to the server ftp.ch.debian.org

I want to update apt-get update, but I got an error. When I try to install something I get the same error. This is my network configuration:
1
vote
1answer
25 views

Change internet link when fault

Situation: 2 internet links - A and B - both connected to linux router. 2 routing tables, one with default via A, second default via B. iptables and ip rule select "best" table for specific traffic. ...
0
votes
1answer
23 views

Coordinates X237595Y81600 to X2375Y8160

I have create a gerber file and it has lines inside which look like this: X90095Y15350 X100095Y15350 X110095Y15350 X120095Y15350 X120095Y25350 X110095Y25350 X100095Y25350 X90095Y25350 X80095Y25350 ...
0
votes
1answer
49 views

What is a Binaries-based installation on Linux? [closed]

can you explain me what a Binaries-based installation is and how does it work? On linux there is the Package-based installation, the Source-Based Installations and the Binaries-based installation. ...
-1
votes
1answer
63 views

When can I say that I have a good knowledge on linux [closed]

I am new to linux operating system. I heard that linux operating systems are fast and they can be customized to as our needs. i have installed linux mint 17. I am loving it and i would like to learn ...
0
votes
0answers
38 views

FreeRadius: Authentication with active directory

I need to setup a radius server with active directory authentication, on a RHEL 6.5 server. I have been following this guide. As per the guide, I have made necessary configurations which are as ...
1
vote
1answer
45 views

lsof: measure I/O rate of a socket fd

I'm writing a script that parses the output of lsof to show a list of what processes have sockets open (similar to what netstat shows). lsof also gives me a file descriptor. What I want to do now is ...
-2
votes
1answer
31 views

How to loop through file pattren and rename file name in linux?

I have below file in one directory of linux now i want to shoart like ls -ltr secu.meta then i wanted to rename those shorted files from .meta to .xml how can i do that with loop in linux ? i tried ...
0
votes
0answers
24 views

Downgrading nvidia drivers in Sles 11

I'm trying to find out how to downgrade my graphic driver? Current Driver nVidida driver : 319.76, Needed Driver: 319.32 Can anyone help me with some steps on how to do this?
1
vote
0answers
47 views

Can a zImage be used with U-Boot and ArchLinuxARM?

I am using U-Boot on a Cubieboard 2, sun7i AllWinner A20 board to boot into ArchLinux ARM. The kernel version that I have is the sun7i latest, which is 3.4.103-5-ARCH so, in kernel terms, it's a bit ...
0
votes
1answer
88 views

Kali Linux Install Issue

Yesterday I tried to install Kali Linux in my laptop. The installation succeeds and ask to remove installer cd/dvd/external drive at the end. But after that when I boot from Kali it starts ...
0
votes
1answer
28 views

Running a “scheduled”/delayed script as sudo on server, via ssh - and right before ssh exit

This would have probably been answered by Keep running a script via ssh, if I didn't have to run a command as superuser. Let me try with an example: say on my server, I have this script as ...
0
votes
2answers
26 views

Keep execution of bash script when aborted via CTRL+X or CTRL+C

This is very nooby question I belive and I've tried everything to avoid asking it here, but I didn't found answere anywhere on whole internet. Go on and give me downvote but please answer me how to ...
1
vote
1answer
24 views

Local installation of .rpms using YUM

I'm asking this question cautiously because I don't want to get this wrong. I have a program_name.rpm file saved locally on my server (CentOS 6.5). I have installed it previously just by navigating ...
1
vote
0answers
24 views

How to set environment variable for BACI compiler and interpreter?

I have installed executable files for BACI compiler and interpreter in my Ubuntu system. But now every time I have to compile my .cm file I have to go to the program folder and run ./bacc and ...
1
vote
0answers
21 views

Why doesn't Linux IPSec implementation support fragmentation before encryption?

I am trying to address an issue where ESP packets are getting fragmented as after adding the ESP header the MTU size is exceeded. The solution—which is what everybody does—is to do the fragmentation ...
1
vote
3answers
53 views

Shell script to find and count total number of characters in all the files

How can I make a script that finds every file in your home directory that is less than 3 days old and then gets a count of the total number of characters in all of these files?
0
votes
0answers
41 views

Updating drivers for wifi access in kali linux?

I'm trying to run Kali Linux in a Virtual Machine (on a debian system if that matters). Airmon-ng isn't recognizing wlan0 and all of my googling brings up tutorials that say to download the June 26 ...
0
votes
0answers
28 views

Sometimes tar -x doesn't overwrite existing files in the same directory, what would cause this?

I have occasionally run into an issue if I go to untar an archive and the contents in the tar already exist in the same directory it will not always overwrite the old file(s) or directories. What ...
0
votes
1answer
65 views

Nvidia linux drivers on Dell XPS L502X Nvidia GeForce GT 540M

I have a Dell XPS L502X with an Nvidia GeForce GT 540M and I'd like help installing the official drivers off the Nvidia site. Every time I try I brick my installation and have to re-install. Even if I ...
2
votes
1answer
106 views

Why can't I kill this process?

Problem I would like to kill a process called raspivid (program which records videos using a Raspberry Pi Camera) but I cannot... This is how I call it: #!/bin/bash #Start recording... raspivid -w ...
-3
votes
0answers
55 views

SSH Rootkit (EBURY) affected Server, What is the solution?

{i am a active member of many sites of stackexchange, Please do not mark this as a duplicate, i have verified & also this is very specific problem. I am posting it here, Bcoz this is only website, ...
-1
votes
1answer
65 views

Invalid port number while changing current directory through PuTTY in VBScript [closed]

I am using VB Script in QTP to connect to a UNIX server via putty. I need to list all files in the current directory, but am getting an "invalid port number" error when I run the script below: Set ...
0
votes
2answers
11 views

Ionice on cp - why I need set dir

I'm wondering why I can't set ionice for cp. ionice -c2 -n0 cp I run this command and I get: cp: missing file argument Try `cp --help' for more information Why? I saw topic here about nice ...
0
votes
1answer
31 views

how to move many subfolders to parent directory? [duplicate]

I am doing some mathematical calculations using basic (embarrasing) parallel computing. There is a parent directory called calculations/ in which many directories are created that are called ...
0
votes
0answers
12 views

What happens in the operating systems when I connect monitor to a VGA port?

I would like to study the behaviour of the Linux operating system when I connect monitor to a VGA port. What exactly happens inside the OS and the Window Manager, which parts of it are responsible for ...
0
votes
0answers
8 views

Register a new directive in Tomcat using Eclipse

I'm new user in Linux, using Ubuntu 14.10 version. So I develop in Java using Eclipse and something like Tomcat and Maven. When I try to put this configuration in Tomcat serve inside Eclipse ...
0
votes
0answers
56 views

Kernel ATA Exception after resume from suspend to RAM

After resuming from suspend to RAM, my Arch Linux system freezes and becomes permanently unresponsive. However, I managed to pull the following kernel log: kernel: sas: Enter sas_scsi_recover_host ...
0
votes
1answer
68 views

How to disable core dump generation in Centos (cPanel Server)?

I want to disable core dump generation, How can I disable it ? One of the website keeps generating core dumps every second and eats up all the disk space. OS Details: CentOs cPanel Server ...
1
vote
2answers
19 views

Booting application from rc.local in rhel6.4

I am using RHEL6.4 . I want run my newt based application from rc.local so that it runs as the only one application . But it's not working. How can I run this application to run before login to ...
27
votes
2answers
3k views

Why is video tearing such a problem in Linux?

I've used many variants of Linux(mostly Debian derivatives) for over a decade now. One problem that I haven't seen solved satisfactorily is the issue of horizontal tearing, or Vsync not being ...
2
votes
2answers
53 views

Accidentally screwed up permissions big time — what should I do? [duplicate]

I'm not very experienced with Linux and I made a big, big mistake. I ran the following command: chown -R [ftpusername]:[ftpusername] / I meant to run this: chown -R [ftpusername]:[ftpusername] ./ ...
0
votes
1answer
23 views

Linux Virtual Network Interface: Specify a Specific DHCP Server (or DHCP Server in an Address Range)?

I'm setting up a Linux box for a friend. She lives way out from the city and has to use dial up, but sometimes she can bring the computer into town and connect on my LAN or on someone else's LAN. ...
0
votes
2answers
53 views

Understanding free -m Memory Usage

I dont understand this. When free -m show this: total used free shared buffers cached Mem: 15334 14025 1308 0 258 10918 -/+ ...
2
votes
1answer
26 views

How to get current CPUPower governor

I want to get the current CPUPower governor. When I type cpupower frequency-info I get alot of information. I just want to get the governor just like "ondemand" with no more information to use its ...
0
votes
0answers
21 views

Network problem on ESXi Server

I have multiple virtual machines on a server running esxi. Today I've created a new virtual machine on this server, running CentOS. I've tried to setup up the network, but at the final step it says I ...
1
vote
1answer
38 views

What is “fs” short for in kernel function “get_fs()”?

There are two Linux kernel functions: get_ds() and get_fs() According to this article, I know ds is short for data segment. However, I cannot guess what "fs" is short for. Any explanations?
1
vote
1answer
34 views

Linux Cluster - SFTP between failed over Servers

I have a strange problem with our cluster solution on Linux. We have the following set-up in our environment. Each of these servers hosts our enterprise application. Server1 Server2 Server3 ...
-1
votes
1answer
56 views

Tech expert says you are much safer using Windows than Fedora. [closed]

A tech expert at Michigan State University said today in his talk on campus that with Windows at least you can install ZoneAlarm. Fedora on the other hand has a firewall that is too complex to figure ...