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
1answer
4 views

VTE Escapes Sequences

I'm investigating a problem where messages like ]777;notify;Command completed;uname⏎ show up in Terminal after executing uname. This is not limited to uname, this is only an example. I boiled it ...
0
votes
0answers
6 views

Embed initial ramdisk into existing kernel

Is it possible to embed an initial ramdisk image into existing kernel without recompiling the whole thing? I don't have resources to do that.
0
votes
0answers
8 views

Find video duration after applying slow motion

I'm trying to have apply slow motion effect to a series of videos. And further those videos will be scaled, padded and cross-faded. Following is the command I'm using to apply slow motion. ffmpeg -i ...
0
votes
0answers
11 views

Two-Factor Authentication Ubuntu verification code + password not working

I'm trying to install google-authenticator on my Ubuntu server. I installed the lib via: sudo apt-get install libpam-google-authenticator then In my /etc/pam.d/sshd I've added: auth required ...
0
votes
1answer
34 views

Script that scans my network

I have a question I want to run a script that scans my network and that I can see with devices are up in my network. I want to paste some arguments also in the script When I run the script: ...
-1
votes
1answer
11 views

What extras do I need to maximise battery life on a Linux laptop? (And how to stay current)

Cross posting from here, since it got no useful responses - perhaps it will have more luck here. -- Now, I know that this question has probably been asked 1000 times - but as far as I can tell, the ...
0
votes
0answers
6 views

Alternative of arch_fast_hash in Linux kernel v3.19 and above

To find the hash value of a given buffer, I used arch_fast_hash function present in Linux kernel v3.16 declared in include/linux/hash.h and defined in linux/lib/hash.c. But in Linux kernel v3.19, ...
0
votes
0answers
6 views

While upgrading linux, how to prevent packages from performing certain operations?

I have to update some machines, but I am using a patched version of linux, and don't want packages to modify specific files. To be clearer here is a list of the actions I don't want a package to be ...
0
votes
1answer
16 views

Webserver to provide several options to cleint download request?

I want to be able to download from webserver a file. However, I want the server to store several versions of that file (for example, one saved as AppB.tar or another as AppB.tar.gz), and then for the ...
2
votes
1answer
34 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
1answer
17 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
8 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 ...
3
votes
1answer
25 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
4 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
14 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
21 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
10 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
17 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
24 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
34 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
15 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
8 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
7 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
21 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
6 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 ...