Linux refers to the family of Unix-like computer 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
0answers
27 views
+50

Virtual Boxes, Linux hosts, Windows guests, Shared folders and Recycle bins

Basically what I am looking for is a way for sharing folders between my Debian Jessie host and Windows 7 guest without the fear that I accidentally delete files under Windows and have no (convenient) ...
0
votes
0answers
4 views

Why does “curl” command work normally while “ping” not?

I find a strange phenomenon in my corporate network: I can execute curl google.com command successfully: [root@localhost ~]# curl google.com <HTML><HEAD><meta ...
0
votes
3answers
32 views

Why can't the guest of VirtualBox connect to network?

I have installed CentOS 7 on virtualbox, and network setting is NAT. The guest can't connect to network: systemctl -l status network output likes this: ip addr output likes this: Could anyone ...
0
votes
0answers
3 views

Move /home on Centos 7

I need to move my /home to /dev/md3 because I need more disk space for it, but I don't know how to do that. I copied the contents of "/home" to "/var/home", but I do not know how to assign "/var/home" ...
0
votes
0answers
5 views

Intentionally reduce speed of ddrescue

(first time poster) I want to slow down how fast ddrescue copies data. I'm imaging a hard drive from my linux laptop to my windows desktop. ddrescue is able to run faster than my computer can download ...
0
votes
0answers
5 views

pinging linux network namespaces within the same subnet

Here is a quick summary of the issue. I cannot communicate with a linux network namespace within the same subnet. I am running Ubuntu 14.04.1 LTS on a headless server. I have been troubleshooting this ...
0
votes
0answers
8 views

cd <nonexistent_directory> in bash causes cd to different directory?

Ok, so I've been using Linux for 18 years and have never seen or heard of anything like this: starting-forth$ ls ch01/ ch02/ ch04/ ch05/ ch06/ text/ starting-forth$ cd ch07 # A directory I ...
0
votes
2answers
15 views

mount root (/) again after mistake, without /etc/

I think I accidentally mounted /dev/hde1 to / after formatting another disk with mkdosfs -F 32 -I /dev/hde1 /dev/hdc1 should be mounted on / but now there is no way to remount it again since ...
0
votes
0answers
13 views

How do I run Asterisk as user other than root?

I compiled Asterisk 11 from source as user root on CentOS. Now I want Asterisk to run as user asterisk group asterisk. I have uncommented AST_USER="asterisk" AST_GROUP="asterisk" in ...
0
votes
1answer
6 views

apt only half-sees a package

On debian stable, with almost standard sources.list file, I can't install the following package. $ apt-cache showpkg ttf-mscorefonts-installer Package: ttf-mscorefonts-installer Versions: ... ...
3
votes
3answers
373 views

How can I copy a folder from the Linux command line?

Say I'm in the / folder in a remote Linux machine I connect to over ssh. There's a folder called testapp. /testapp I want to create an exact copy of this called: /testapp-staging Using a GUI I ...
0
votes
0answers
3 views

nginx + php5-fpm displays 502 Bad Gateway

After an update php5-fpm stopped working. It shows blank page, and after restarting nginx 502 Bad Gateway. In nginx log there is following line: 2015/05/27 20:27:08 [error] 3034#0: *40 recv() failed ...
0
votes
1answer
3 views

Cisco Anyconnect VPN (Linux) won't launch

Using OpenSUSE 13.2 (64-bit), I recently installed the Cisco AnyConnect VPN. It shows up in my applications list, and I can try to launch it, but after about 10 seconds of the "loading" spinning icon, ...
0
votes
0answers
13 views

Why do wget and curl fail to download page source?

Via a shell script, I would like to download the source for a web page with air quality data on aqicn.org. Here is the URL for the page with Beijing air quality data: http://aqicn.org/city/beijing/m/ ...
2
votes
4answers
742 views

linux xorg dual different monitors mouse border

If I hook an external monitor to my Linux laptop and configure it for dual head with the Gnome system tools, I do get them configured with the proper resolution and position (one to the left of the ...
0
votes
0answers
9 views

How do I break out of an inner loop? [migrated]

#!/bin/perl for (( i=0;i<=10;i++ )) do for (( j=1j<=3;j++ )) do if(( $j==0)) then break fi done done Other than break is there is any keyword like in perl ...
0
votes
1answer
696 views

libcurl3-gnutls, libp11-kit0 - Dependency error

When i do upgrade or install, im getting this error. srikanth@42:~/projects/raff$ sudo apt-get upgrade [sudo] password for srikanth: Reading package lists... Done Building dependency tree ...
0
votes
0answers
8 views

Debian upgrade from wheezy to jessie: Networking fails after short period

I've just upgraded my Debian system from wheezy to jessie. Almost everything works, but I lose the use of the network after a few minutes (no more than 5). I can get it back by doing a "service ...
0
votes
1answer
19 views

about packages in Linux?

When i open this folder /var/cache/apt/archives I found a big list of all the deb files of all the programs that I've installed before so my questions is : Is it possible to use these files ...
0
votes
0answers
4 views

rsync a folder ignoring sud-dirs which has with circular symlink

I am trying to rsync a folder as below: rsync -ahLz ./src /tmp/ Dir "./src" has circulr symlink as: $ ls -l src/cpp/blddir lrwxrwxrwx 1 lnxbuild users 16 May 27 02:16 src/cpp/blddir -> ...
0
votes
1answer
2k views

Cannot open port 8080

I'm running a VmWare with an application under JBoss starting up on port 8080. I'm able to access the app from outside the VM if the iptables are off. However, I must turn on iptables due to some ...
0
votes
1answer
1k views

Linux On-Demand Streaming Server

I'm looking for a server software for Linux, with which I can stream Video files via the network. I'd prefer a Software with a (web) GUI or one where you only have to point your media player to a ...
2
votes
2answers
1k views

Haproxy for SSH name based proxying

I have a host machine with several lxc containers. I am trying to give ssh access to containers directly based on domain names. For this I have tried setting up HAProxy. Could achieve this easily with ...
4
votes
1answer
61 views

Who's crashing my kernel?

Symptoms Suddenly, a message saying "A problem in the kernel package has been detected" started appearing after I login upon boot. A new message is shown every second, incessantly (translation ...
0
votes
0answers
8 views

Find the correct .desktop file

I'm faceing a strange thing. I installed QTcreator on my Debian 8 system. Application was added to favorites, and I found a DigiaQt-qtcreator-community.desktop file in ...
14
votes
7answers
16k views

Are we supposed to manually delete the contents of /tmp?

I was under the impression that “old” files in /tmp will be regularly deleted. However, it seems to me that /tmp will just grow as long as it wants to, and nothing will be deleted. Some people say ...
1
vote
0answers
13 views

Running Citadel Email on Raspbian Errors

I installed the citadel email server onto my raspberry pi. I can access the gui from my browser, but I can't send or receive emails. Whenever I send an email, I get the following error back 5 minutes ...
2
votes
5answers
2k views

How to get computer to boot from Windows cd after LINUX installation

I have a computer which has had a previous installation of linux on, and after various attempts to format the harddrive, I cannot get the bios to recognize the windows xp cd as a boot device. Linux ...
-1
votes
0answers
15 views

How to download encrypted HLS videos on any sites

I am using Ubuntu 14.04 and win8 as dual boot. I generally use Ubuntu. I wanna learn how to use hls-fetch or any hls downloader on Ubuntu. And all video is downloadable via IDM on Windows. But I have ...
2
votes
1answer
82 views

Linux Partition with SSD and HDD

I'm currently setting up my server and I don't get how to choose Disk 1 and Disk 2 for the partition. vg0 should be the HDD and vg1 the ssd. Maybe you can help me how to set up such in this syntax. ...
0
votes
0answers
5 views

Multi hop SSH with certificate on bastion server

I have this situtation: my local machine a login server (with token implementation) a set of machines accessible only with another authentication from login server (token implementation too) this ...
2
votes
2answers
187 views

Samba Winbind not working in Debian 8

I am setting up a new samba environment based on Debian Jessie. Installation of PDC was succesfully and Windows clients were able to join. Have a problem at joining the Linux clients. I was following ...
1
vote
1answer
32 views

How to view total CPU and memory usage of per system user in Linux

I know the top command to see the process of CPU and memory usage, but some users of the system can generate a lot of processes, if I wanna know total CPU and memory usage of an user,I must count it ...
5
votes
5answers
2k views

DDoS Virus infection (as a unix service) on a Debian 8 VM Webserver

I maintain a (fully updated) Wordpress for a student team on a Virtual Machine on ~okeanos service for a couple of years. Today, the helpdesk informed me that i am conducting DDoS attacks, which - of ...
2
votes
2answers
146 views

Remote PXE server files

Is it possible to view the contents of a remote PXE/TFTP Server on a Windows PC? I would like to get the pxelinux.0 file off of a remote server, but when I connect using WinSCP or just Explorer I get ...
2
votes
1answer
22 views

Windows does not recognize HDD after reformatting one partition

I have 2 hard disk drives on my computer : On the first one, I have only Windows 8.1 and Ubuntu 14.04 installed (dual boot) The second HDD has 5 Partitions where I saved documents. Initially, all ...
1
vote
1answer
19 views

How to unmount dvd (external usb) via eject button on device?

I have an problem with my external usb Dvd-Drive. Everything works fine, the mount works, unmount or eject via shell works. But if I press the eject button on the device it just eject the dvd but does ...
0
votes
1answer
15 views

Creating deb file in Debian using github source code and debuild tools

I want to compile nginx (with custom libs) using up-to-date source code from GitHub. But if I download the code from GitHub, obviously, there is no "debian" folder and inner files. So, when I use ...
3
votes
4answers
4k views

How to copy from 1 computer to another computer with Linux shell commands?

I want to copy a file (home/remote_computer_user/Desktop/test1.txt) from my remote office computer (a permanent URL + open port) to my home computer (home/home_computer_user/Downloads/). How can I do ...
39
votes
4answers
34k views

How can I recursively copy files by file extension, preserving directory structure?

At the Linux command line, I'd like to copy a (very large) set of .txt files from one directory (and its subdirectories) to another. I need the directory structure to stay intact, and I need to ...
3
votes
2answers
2k views

udev rules ignore_device

I'm on Fedora 18. In /etc/udev/rules.d, I've added new rule (70-stm32.rules) with following content: SUBSYSTEM=="block", ENV{ID_MODEL}=="STM32_STLink", OPTIONS=="ignore_device" Then restarted udev: ...
2
votes
1answer
525 views

Test PXE using VirtualBox

I have a Linux laptop running a PXE server. I run the PXE server on the wired port so I can connect computers to it directly. When the Ethernet port is connected I can use PXE to boot a VirtualBox ...
0
votes
1answer
2k views

Why is there Permission denied in .conf files in Linux Kali Operating system?

Why is there Permission denied in .conf files in Linux Kali Operating system? to enabled eth0 in linux kali. because no wired connected shown. i tried linux command as bellow ...
2
votes
1answer
274 views

udev rule with bInterfaceNumber doesn't work

I'm trying to use udev to give relevant names a USB-serial device but I'm having now luck. # lsusb -d 04e2:1412 -v Bus 004 Device 028: ID 04e2:1412 Exar Corp. Device Descriptor: ...
1
vote
1answer
18 views

How to remove/change a disk filesystem label?

On a disk drive there was ZFS filesystem installed, and now it's been replaced with btrfs. But "zfs_member" label remains as the disk label: $ lsblk -f sda |----sda1 ntfs label1 sdb ...
0
votes
2answers
2k views

apache wont follow symlinks | 403 permission denied

I'm using Ubuntu 14.04, and have a problem with the Apache configuration: I created a Symlink from /var/www/html torwards /home/me/myWebDirectory but localhost/myWebDirectory renders a ...
1
vote
1answer
25 views

Does Libvirt have any commands to find out disk i/o information?

Disk i/o information like throughput,activity or latency, or at least some disk related data, by which the throughput, activity or latency can be calculated. Is there any virsh command or some method ...
0
votes
2answers
4k views

How to find out total NIC cards and total available physical ports in linux

I need to find out how many total physical ports my server has, and how many of them are in use and how many free. Can you kindly help how to find it: This is what i find from dmidecode output: ...
1
vote
1answer
30 views

Does wpa_gui need wpa_supplicant to initialize first to work properly?

I am using Linux on a custom board based on the Freescale MCIMX6Q-SDB (armv71). I installed wpa_gui, a GUI for wpa_supplicant, on the custom board. I'd like to know if I have to initialize ...
40
votes
10answers
122k views

Manually closing a port from commandline

I want to close an open port which is in listening mode between my client and server application. Is there any manual command line option in Linux to close a port ?? NOTE: I came to know that "only ...