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

1
vote
0answers
14 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
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
9 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
17 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
7 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: ... ...
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/ ...
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
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
20 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
5 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
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 ...
-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 ...
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 ...
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 ...
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 ...
2
votes
1answer
23 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
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 ...
-3
votes
0answers
10 views

Multi-threaded export process

I need to export/generate a gigantic amount of data/media (courses) from a CMS database running on an Ubuntu server. I know my way around Linux but I'm not an expert in the inner workings of ...
2
votes
2answers
26 views

Where do I put commands to run scripts?

I'm trying to run a few scripts (whether python, java, etc). The developers in their documentation give code for me to put in. Here are some examples: java -Xmx2g -jar muTect-XXXX-XX-XX.jar ...
-1
votes
0answers
15 views

Routers work with mac address or switches [on hold]

its confusing how routers work on mac address ?.I heard switches work on mac address ?.Its all confusing sorry about my english
0
votes
2answers
12 views

NTP - ntpq -c peers showing incorrect stratum for peers

I am running Ubuntu 14.04 as an Amazon Web Services instance. When I run ntpq -c peers on my server I get the following output: # ntpq -c peers remote refid st t when poll reach ...
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
3answers
27 views

Is there anyway to produce realistic load(cpu,memory and disk all together) on a linux system?

I am using Ubuntu 12.04 and I want to stress test my system but most of benchmarks are specific in nature. Either they are benchmarking Disk or CPU or Memory usage etc. But is there anything which can ...
0
votes
0answers
17 views

Why ssh -R allows port '0' but ssh -L needs a port number?

Why with ssh -R is possible to allocate a free port by specifying '0' while with ssh -L you need to specify a valid free port? I want ssh to use a local free port to FWD remote traffic without ...
0
votes
0answers
7 views

3G USB modem switches back to storage mode after connection is lost

I configured a 3G USB modem (Novatel Wireless U679 (Ovation MC679)) on a Raspberry Pi running Raspian OS. To switch the modem from storage mode (1410:5059) to modem mode (1410:7031), I use the ...
1
vote
0answers
8 views

Allowing ::1 on busybox httpd

I'm running busybox 1.23.2 (compiled by myself from source) on Linux. I'm trying to prevent other people from accessing the files I put on my server, so I thought I'd configure the server: $ cat ...
0
votes
1answer
19 views

Load the OS from SD card which is purposed to run on Raspberry, on my computer

I have an SD card where I want to write an OS for my Raspberry, then I want to do some modifications to its files, like create Python code files there in a convenient manner, install libs and ...
0
votes
0answers
20 views

Apache fails to start with TLSv1 disabled and does not recognize TLSv1.1 and TLSv1.2

I'm having issues trying to disable TLS 1.0 on apache as described here: http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslprotocol $ apache2 -v Server version: Apache/2.2.22 (Ubuntu) Server ...
0
votes
0answers
6 views

Accessing Web UI with Spark1.3.1

I am currently building and deploying spark with standalone mode, including one master node and two worker nodes, on Google Container Cluster. For monitoring purpose (also connecting to master from ...
2
votes
0answers
20 views

memory high issue on RHEL server?

18105 /wm/www/tmmy/ 2.2 1128256 1683020 16961 /usr/sbin/httpd 2.4 1201668 1692788 27746 /usr/sbin/httpd 2.4 1217296 1701612 31519 /usr/sbin/httpd ...
0
votes
0answers
18 views

Using Virtual Machine like Server - Ubuntu Sever

i have 2 virtual machines, 1 - ubuntu server, 2 - windows7, what i want to do is connect my windows at my ubuntu server, because i'm making some tests of iptables, anywhere, i'm having trouble to ...
0
votes
0answers
8 views

Converting .qcow2 V Hard Disk into .VMDK (Windows/VMWare)

Is any way to convert a .qcow2 into .vmdk on Windows 7 64-bit using VMWare Workstation? i did that using a tool qemu-img in my linux host (SLES11): qemu-img convert -f qcow2 vdisk.qcow2 -O vmdk ...
0
votes
0answers
8 views

Getting nginx 404 error on uploaded files

I am using PHP (5.3) to upload jpeg files, create folders for those files and store them. I have a development version and a live version both running on the same server (CentOS 7, Apache, Plesk 12). ...
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 ...
0
votes
0answers
17 views

Mumble-Ruby openssl error when running scripts

First things first here are the instructions I am working off and system details: http://wiki.natenom.com/w/Mumble-Ruby_installation and this is for SuperBot a mumble ruby plugin. This is running ...
0
votes
3answers
33 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 ...
-1
votes
0answers
17 views

Convert binary mode to text mode and the reverse option

By the following way I convert a simple binary file into a text file od –t x1 Check.tar | cut –c8- > Check.txt What is the opposite way to convert the Check.txt to Check.tar as the original file ...
0
votes
1answer
11 views

dm-crypt with LUKS - /etc/crypttab using either keyfile or passphrase

I have my home partition encrypted using dm-crypt and LUKS header. I have two slots in its header: first one is a passphrase and second is keyfile. I have keyfile on external drive which I use only as ...
-1
votes
1answer
17 views

How to mount iso9660 filesystem as read,write on Mac OS X?

man: -w Mount the file system read-write. The options specific to NFS filesystems are described in the mount_nfs(8) manual page. bogon:OperatingSystems Forever-Always$ sudo ...
2
votes
1answer
25 views

Get a list of directories or files I don't have permission to read

I have a directory, X, which contains many subdirectories (millions of them), which contain files. I have read access to some, but not all, directories and files contained therein. I need to compile ...
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 ...
1
vote
3answers
27 views

How does virtualbox get the network configurations?

I am installing CentOS 7 on virtualbox. On "Network & Host Name" screen: When toggle the "OFF" to "ON", I can see the IP, DNS, netmask are all configured: I am curious about how does ...
2
votes
0answers
8 views

udev rule to auto-execute script

I want to create a udev rule to execute when my headset gets plugged in. Therefore I followed this Tutorial, but my rule doesn't seem to work. The output of udevadm monitor --environment | fgrep ...
-1
votes
0answers
44 views

Why is my Windows 8.1 (new laptop) extremely slow and sluggish when compared with Linux

I recently got this laptop, so it is still new and so is the installation. The laptop is TOSHIBA SATELLITE C55D-A-149. I realise that this is a budget laptop and the processor is fairly weak. I dont ...
3
votes
1answer
45 views

Allow only one website using iptables in a linux router

I have a Linux server I'm using as a router for my internal network. I need to block all the websites except one or two using iptables. How can I set this up?
0
votes
3answers
28 views

Find *where* the executable is for a currently running process

If I have 2 executables (/path/to/gcc/myapp.exe, and /path/to/intel/myapp.exe) where one is compiled with an intel compiler and one is compiled with standard gcc, running both will show up in top as ...