0
votes
1answer
10 views

Print difference of column1 if column2 values are same

I have a file something like this: 19:32:19 4599544 19:32:22 4599544 19:33:07 4599545 19:33:11 4599545 19:33:58 4599546 19:34:01 4599546 1st column is ...
0
votes
0answers
8 views

What is the System product name?

I wanted to install nvidia-prime from a terminal with this code: sudo apt-get install nvidia-prime It started to install but suddenly stopped and asked me to enter the system product name. I ...
3
votes
1answer
35 views

Thread process in linux

I'm wondering about the "punishment" that occurs when a new thread is created. From my understanding of clone(2), NPTL (New POSIX Thread Library), CFS (Completely Fair Scheduler), when a new thread ...
1
vote
0answers
5 views

SSH Tunnel with autossh

I can't seem to find a close enough example but here it goes. I'm trying to in the end setup rsync from one server to another through an ssh tunnel. Local (my machine) will run the rsync to pull ...
1
vote
0answers
6 views

The vim navigation sweet spot, medium-distance jumps

In vim I often find myself j-stepping by line to go, say, 8 or 10 lines down. For example, if I have a directory open in netrw and the directory I want is 8 lines down I will just jjjjjjjj+ENTERENTER. ...
0
votes
0answers
2 views

Cannot change vncserver default geometry

I'm using Ubuntu 12.04 (I think it's desktop...) and running vncserver to connect to it remotely. I can successfully set the resolution if I use the -geometry flag when starting the server, but I ...
0
votes
1answer
15 views

ClamAV from rpmforge requires libc6 versions

I'm absolutely noob. I don't know if I have to worry about this fail. Now updating clamav .. Installing package(s) with command yum -y install clamav.x86_64 .. Loaded plugins: fastestmirror ...
1
vote
0answers
7 views

Vertical lines connecting blocks in Gedit

I'd like to know if there is some way I can get gedit to display vertical lines connecting logical blocks of a programming code (namely Fortran 95 in my case).     See in the image ...
4
votes
2answers
133 views

Is there a fastest way to shutdown the system?

Or is shutdown -h now the fastest it can get? I look for some syscall or similar that will allow to skip lots of the stuff done prior to shutdown (in particular to care about the running proccesses). ...
0
votes
1answer
8 views

Start application which uses sockets

I'm working in Ubuntu 14.04 I have an C++ application which I have compiled. I get the executable which name is "program". Well the thing is that this program use opencv and sockets then if I try to ...
1
vote
1answer
6 views

Get summary count of all patches applied to a server?

Is there an easy way to get a count of the total number of patches applied to a server over a time frame, or even in summary?
0
votes
0answers
2 views

taskwarrior recurring tasks which each have a time limit?

I'm using taskwarrior. I want to be reminded of something every week, but have that reminder go away automatically if I haven't completed it by the time the next week comes up. (Or, actually, I want ...
0
votes
2answers
25 views

How Long do the Contents of the .bash_history File Last?

How can I modify the contents of my bash_history file? What values or variables control how long the history lasts? Are there any other things I can change to provide finer control of my BASH ...
1
vote
1answer
29 views

Inserting the “∃” character into a text field

I am trying to use xbindkeys to insert the "∃" character with a keyboard shortcut. The following doesn't work: "xvkbd -xsendevent -text '∃'" control + shift + 3 Instead, it sends "â".
2
votes
2answers
61 views

Add Text to Command Line via Shell Script

I have a shell script which is opening different terminals. After opening the terminals, I manually start different applications in the terminals. I would like to automate this by adding text (e.g. ...
7
votes
4answers
4k views

scp from one remote server to another remote server

I have one big file on server one and I want to copy it to server two using scp. I have the keys setup properly and I can ssh/scp to both servers from my desktop. The file I need to copy is larger ...
2
votes
2answers
1k views

Skype install - debian amd64. libdbus issues

I have looked quite thoroughly for an answer to this question to no avail. I am trying to install Skype on Debian amd64 (with Xfce, which shouldn't make any difference...). After installing Skype ...
1
vote
1answer
3 views

Make apt-listbugs forget about pinned packages of already seen bugs?

I installed apt-listbugs to be aware of all the possible important bugs before installing any package from testing. I decided to pin the packages since there was grave bugs that would prevent me from ...
1
vote
0answers
20 views

Ubuntu apt-get errors: “has no installation candidate” or “Unable to correct problems, you have held broken packages”

I've got 2 ubuntu VM's running on windows 8.1, one ubuntu 12.04 Server and one ubuntu 12.10 Desktop. I get errors with both when trying to install openssh-server (and other software): Server: sudo ...
0
votes
1answer
23 views

How can I take the test user into sudo file?

I would like to see the ifconfig file with test user (under Linux Debian) that's why I have used the sudo task, but the terminal said that: test is not in the sudoers file. How can I take the test ...
1
vote
1answer
17 views

linux after restore + GRUB error

I restored Linux machine , and when the Linux machine startup I get the following errors GNU GRUB version 0.97 GRUB> Please advice how we can fix that? In order to startup my linux ...
3
votes
6answers
149 views

What does '>/dev/null 2>&1' mean in this article of crontab basics?

I am reading an article about crontab There is something about disabling automatically sending emails. Disable Email By default cron jobs sends an email to the user account executing the ...
1
vote
2answers
333 views

Install Ubuntu for Android

Canonical has an item on their site called Ubuntu for Android. This is a special distribution of Ubuntu which integrates with the Android system. Their website mentions that it is specifically ...
0
votes
1answer
20 views

Generate MIPS architecture assembly code on a X86 machine

I need to generate MIPS specific code on my machine when I run my C program. When I simply run, gcc -O2 -S -c hello.c On my system, I get the hello.s which seems to generate some assembly code but ...
3
votes
2answers
1k views

Unable to Pull EPEL repository Metadata

Installing Nginx on Scientific Linux according this documentation fails: [vagrant@localhost ~]$ sudo su -c 'rpm -Uvh http://dl.fedoraproject.org/pub/epe l/6/x86_64/epel-release-6-8.noarch.rpm' ...
0
votes
0answers
10 views

Postfix, Send specific Emails to an alternative external SMTP server?

First of all, I apologize about my inexperience on this but I will try to explain my problem the best way I can. We have an email server(CentOS 5/Postfix 2.3.3) that fetches the emails from the ...
0
votes
0answers
8 views

AIX Memory Limits

I cannot find these numbers anywhere on the IBM Web site or even random blogs that Google finds. Questions What is the maximum physical memory size a POWER7 CPU supports? What is the maximum ...
0
votes
1answer
26 views

Cinnamon messed up

I'm using Linux Mint 17 with Cinnamon (2.2). After I closed an unresponsive PDF viewer, Cinnamon's appearnce got messed up. Now windows' title bar looks like Win 98/95. If it might be of use, I ...
0
votes
2answers
167 views

different checksum of original file and copied file

I am running a script that copy a file from one location to other. In script I am calculating MD5sum using below command of original file and copied file and they are different: echo -n "file" | ...
10
votes
6answers
19k views

What is the fastest way to view images from the terminal?

The terminal is very fast and convenient way to quickly access directories and files (faster than find and click on the directory). One thing that it cannot show in text-mode is "pictures". What ...
0
votes
1answer
14 views

How to uninstall compiled GTK+

A few days ago I compiled GTK+ 3.12 on my Ubuntu 14.04 and Linux Mint 17 (with Cinnamon) distros. It messed up the appearance. How can I remove it totally and safely? I didn't change the default ...
0
votes
1answer
6k views

enable apache mod rewrites to load clean-urls

In CentOS, a2enmod rewrite results in “command not found” but httpd -M lists rewrite module as listed and shared. I'm trying to enable it so can then have these rewrite rule apply so I can switch back ...
1
vote
0answers
34 views

How to populate /etc/network/interfaces automatically

I am trying to populate /etc/network/interfaces with a dhcp config for all interfaces at the first system boot (Debian 7.6 server). I modified the script in : /lib/udev/write_net_rules by adding: ...
1
vote
1answer
25 views

How to find the process with maximum file descriptors?

What is wrong with this for loop? I am trying to find which process has the maximum number of file descriptors. The first command in the for loop ps aux | awk '{print $2}' prints out only the process ...
0
votes
1answer
18 views

How can I use netcat (nc) for chat client server model?

enter code hereI am trying to write a daemon using bash. I will enter my partners IP address and the connection will start using nc partner_ip 2015, likewise on the server I will start the connection ...
-2
votes
0answers
17 views

Server - PC vs. Virtual Server [on hold]

I want to make a website for learning/testing purposes. Is it ok to host it on CrunchBang, which I normally use, or setting up a Virtual Server? I'm quite afraid of messing things up... And I also ...
1
vote
1answer
8 views

Why is it that my initrd only has one directory, namely, 'kernel'?

I'm using debian live-build to work on a bootable system. By the end of the process i get the typical files used to boot a live system: a squashfs file, some GRUB modules and config files, and an ...
3
votes
2answers
769 views
+100

How to enable tab completion of wildcards in bash?

How can I enable tab completion in bash for a statement such as vim db/migrate/*crea? Essentially I am looking for tab completion to match the regular expression and present the options. How would ...
0
votes
0answers
14 views

How shareable is /var/cache?

I know that some subdirectories of /var/cache are pretty much shareable, for example /var/cache/pacman (in case of ArchLinux), and possibly others (/var/cache/man?), but at least /var/cache/ldconfig ...
1
vote
1answer
293 views

Gnome 3.12 on Debian Jessie freezes when I open dialogues

I recently did the upgrade from Gnome 3.8 to Gnome 3.12, in Debian Testing (Jessie), and I can't figure this one out. When I try to open certain dialogue boxes in some applications (for example, the ...
2
votes
1answer
18 views

Do I need to distribute the sources of the complete distribution under the GPL?

My plan is to sell an embedded computer, running a Linux distribution. I downloaded the binaries and installed them on the embedded computer. Do I need to distribute the sources of the complete Linux ...
3
votes
2answers
66 views

How to use getopt in bash command line with only long options?

There is a getopt command in bash command line. getopt can used with short options (such as getopt -o axby "$@"), and can be used with both short and long options (such as getopt -o axby -l long-key ...
-1
votes
0answers
61 views

GNOME 3.14 theme management without gnome-tweak-tool

I'm using Arch Linux (x86-64), with SLiM and Openbox. But naturally I have a handful of GNOME applications installed. With the recent upgrade to 3.14 they all started looking really bad. And I want ...
13
votes
4answers
1k views

How to know what name to type to launch a program after installing it with yum/rpm?

I just installed a rpm using the following command: yum localinstall ./FoxitReader-1.1-0.fc9.i386.rpm Now, this did the trick and I could launch the app using: FoxitReader & What if ...
110
votes
10answers
36k views

Turn off buffering in pipe

I have a script which calls two commands: long_running_command | print_progress The long_running_command prints a progress but I'm unhappy with it. I'm using print_progress to make it more nice ...
2
votes
2answers
498 views

keep losing IP with dhcpcd

I have an Arch Linux install in a VirtualBox VM, and as I'm working all of a sudden, it will lose it's dynamic IP address. When this happens, if I check on the status of the dhcpcd service it says ...
0
votes
1answer
22 views

How to check server for SSLv3 connection if there isn't any openssl package on it?

echo Q | openssl s_client -ssl3 -connect HOSTNAME:PORT 2>/dev/null | grep 'Cipher is' But how can I test for SSLv3 connection if there isn't any openssl installed on the machine? UPDATE: the ...
0
votes
0answers
3 views

Does the debian setup with lvm also encrypt the swap partition?

I'm planning a fresh debian install on my notebook and want to have full disk encryption. But I mainly hibernate, which is why I want my swap to be encrypted as well. During the graphical expert ...
2
votes
1answer
420 views

understanding the output of “apt-cache policy”

I ran apt-cache policy sudo before and after installing sudo: before install: # apt-cache policy sudo sudo: Installed: (none) Candidate: 1.8.5p2-1+nmu1 Version table: 1.8.5p2-1+nmu1 0 ...
0
votes
1answer
22 views

Howto adapt this bash construct to a sh valid construct

On converting some bash scripts to a platform where only /bin/sh is available i'm stumble about this bash construct: #!/bin/sh RSTPD=/sbin/rstpd RSTPCTL=/sbin/rstpctl RSTP=0 ...

15 30 50 per page