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

-1
votes
1answer
66 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
13 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
1answer
70 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
73 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
57 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
29 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
39 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
58 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 ...
2
votes
0answers
70 views

Linux doesn't recognize windows on installation

I want to install Linux besides my Windows 7. But when I get into the installation menu, it tells me that this "pc doesn't have an OS installed". Although I already have a Win7 installed. I have 5 ...
2
votes
1answer
22 views

execute chmod on boot time on headless debian

I am programming a (web based) POS system, dedicated to be running on a debian based ITX-server with apache2 etc. Currently I am using Lubuntu 14.04 LTS for development (and for the 1st customer) with ...
1
vote
0answers
23 views

Interface on Linux for IP range to divide incoming traffic

In order to divide incoming traffic I use the "ip link" command: ip link add link eno1 name eno1.vlan10 type vlan id 10 I want to do the same for a network range, so that I have a named interface ...
0
votes
1answer
57 views

SCP without password prompt using different username [duplicate]

I have 2 servers, Server1 and Server2. On Server1 I have a user named user1. On Server2 I have the user named user2. I need to be able to write a script that runs on Server1, which will scp some ...
0
votes
0answers
15 views

linux rescue lost+found contents [duplicate]

One of the linux VM went into kernel panic due to storage related issues. Booting it in linux rescue, it said there are no valid linux partitions. After getting into the shell, and listing the ...
2
votes
2answers
847 views

Ghost Vulnerability On Linux

It came to our notice that glibc needs to be upgraded from 2.2 to the latest version as per the release 5/6/7. My Question is that do I need to reboot the system, because we are having more then ...
0
votes
0answers
16 views

Calculating a File Offset [duplicate]

I would like to know how I could calculate the offset of a certain file in a certain partition. I have spent quite some time looking for an answer but couldn't find anything concrete. What I mean is ...
1
vote
2answers
68 views

how to record all who that login to my linux machines and records them

I installed the package audit on my linux red-hat 6.x machine in order to view the recored of each user that log to my linux machine yum install audit kit installation from: ...
0
votes
4answers
51 views

Load a service in Linux programatically [closed]

Given a service name(created by user) and its path, how can I load and start the service at runtime from a C++ program in Ubuntu. Does there exists functions similar to the Windows functions such as ...
0
votes
1answer
20 views

GRE not Forwarding origin IP

I've followed the BuyVM Guide found here on creating a GRE Tunnel to protect my main server against DDOS attacks (http://wiki.buyvm.net/doku.php/gre_tunnel) I've followed through this whole guide ...
2
votes
1answer
71 views

Can ACLs override file perms on Linux?

I struggled with this problem on FreeBSD recently, but thank God for ZFS which solved it for me there. However I have it again in CentOS with ext4 and don't know if there is an easy way around it (or ...
0
votes
1answer
43 views

rpm -Uvh - How to replace modified config file

The question is a duplicate from Stackoverflow site I upgrade rpm package with rpm -Uvh command. Original and new configuration file is the same, but current file on disk has been changed. This ...
0
votes
1answer
34 views

How to select read/write time and again? [closed]

This program only waits one time and I don't understand why. Actually, I don't think this question should be put on hold as off-topic. #include <stdio.h> #include <sys/types.h> #include ...
1
vote
0answers
116 views

Kali Linux - Wireless Adapter: airodump-ng wlan0 - Error

I am doing a project on Kali Linux's airodump-ng command. Though, whenever I try to execute this command on a virtual machine (Virtual Box) with a Wireless USB adapter, I get this message as appose to ...
0
votes
2answers
50 views

how to delete files from a specific date and extension

Short and sweet: One of my hosting subscriptions got hacked. I ran this command: find path-to-folder/ -mtime -7 -name "*.php" –print this produced about 11 pages worth of malicious code which was ...
2
votes
4answers
166 views

Share files between Linux host and Windows guest

I am trying to share files between Linux host and Windows guest and I came across the link: Use virt-manager to share files between Linux host and Windows guest? As suggested in the third answer, I ...
1
vote
1answer
50 views

GUFW or Firestarter in Fedora

Physician using Fedora 21 - I have very limited knowledge of Linux. I cannot make sense of iptables in Fedora. I used Debian before but moved away from Debian in great disgust after I realized their ...
1
vote
1answer
28 views

“not a valid package archive” when trying to install PHP extension?

I'm running CENTOS 6.6 on a VPS and am trying to install the ZMQ PHP extension and tried installing using the command shown in the instructions: sudo pecl install zmq-beta However, it fails, ...
0
votes
0answers
117 views

Nvidia Proprietory Drivers for Linux Mint 17.1 (http://www.dell.com/in/p/inspiron-15-3542-laptop/pd)

My laptop has dual graphics (Intel + Nvidia GeForce 820M) and i'm finding it difficult to install Proprietory graphic card drivers for the GeForce. Have tried many methods on Ubuntu 14.04, and they ...
0
votes
0answers
66 views

When running some X prog. remotely with ssh -X, it says “libGL error: failed to load driver: r600”

OS: CentOS Linux release 7.0.1406 (Core) Kernel: 3.10.0-123.8.1.el7.x86_64 When I run xcrysden (http://www.xcrysden.org/) remotely through ssh -X, it crashes with error: "libGL error: failed to load ...
0
votes
0answers
29 views

when reinstalled windows 7 no such partition rescue mode grub>

On my laptop i have windows 7 and ubuntu,then i have reinstalled windows 7 home premium after finishing installation it went to rescue mode it says no such partition grub
0
votes
0answers
73 views

File limits getrlimit(RLIMIT_NOFILE) failed

(32-bit system) Posted a Q/A earlier regarding Chrome crashing because of exhausted limit in open files. Chrome has since run more smooth, (after increasing limit), but still crashes from time to ...
1
vote
1answer
44 views

Open UDP Ports; Can I Close Them?

I'm trying to secure my internet browsing. I just reinstalled Xubuntu 14.04 and GUFW firewall. I have 8 UDP ports open. I don't understand why. The software I currently have open are Firefox, GUFW, ...
1
vote
1answer
140 views

Can't connect to a server via SSH (with my PC only)

For some days I'm experiencing issues with SSH on my machine (I guess after having installed some softs that I don't remember... (sic)) It's very problematic as I use Git to work on some code ...
0
votes
1answer
39 views

Remote terminal application

Does anyone know if there exist an application which allows admin run other apps in kind of desktop environment. What i mean is a kind of VNC application which only gives user the terminal console, ...
1
vote
1answer
26 views

Initialise USB devices before hard disks during grub2 boot

I have a CentOS installation on a portable USB stick, with a grub2 installation on it's first partition. The system can boot when there are no internal hard drives plugged into a machine, but fails if ...
0
votes
0answers
24 views

Fn key results in slashes rather than brightness, etc

I recently upgraded from Ubuntu 14.04 to 14.10. On 14.04, the Fn key controlled bits and pieces such as mute, brightness, volume, lock touchpad, etc. all worked fine. After the upgrade, they don't. ...
0
votes
1answer
34 views

Proper create user account with permissions on CentOS/Apache

I have setup a CentOS VPS to run apache, I am having trouble with permissions when creating an account. I have setup a virtual host host to point a domain to /home/user/public_html <VirtualHost ...
0
votes
1answer
16 views

What port uses my backportpackage or bzr?

I am working in a company what uses Ubuntu Precise on the desktops behind a proxy. The Proxy is available in /etc/environment and set as: http_proxy, https_proxy, ftp_proxy, no proxy and their ...
1
vote
1answer
61 views

Why Linux inside KVM gets busy after I put the host to suspend-to-ram?

I run another Linux instance inside KVM on my laptop. When I suspend-to-ram the laptop and wake it up again, the guest Linux starts consuming 100% CPU for some time (maybe proportional to the sleep ...
1
vote
1answer
50 views

ss is replacing netstat, how can I get it to list ports similarly to what I am used to?

I've been trying to modernise my way with Linux by, for one thing, ditching netstat for ss. I looked up my favourite command line flag for netstat in the ss man pages, and was very glad to find that ...
0
votes
0answers
12 views

oracle11g DB dump importin

I tried to import the oracle11g DB dump but i got below below exception. This command i am using: impdp USERNAME/Password directory=ks dumpfile=dumpfilename.dmp logfile=logfilename.log ...
0
votes
2answers
18 views

htop, show cpu side by side

how can I show the cpu usage side by side rather than a list. basically I have this : but I want to show it like this: