1
vote
2answers
13 views

Google calendar in the terminal

I'm looking to use the terminal more and more, and I'd like to find a terminal calendar app that can sync with Google calendar. I'm running ubuntu 14.04
1
vote
0answers
7 views

Is there something like “make localmodconfig” that detects *all* your hardware?

I understand that Linux's "localmodconfig" target looks through all your loaded kernel modules and produces a .config file that enables those modules. This is nice, but what about hardware whose ...
1
vote
0answers
4 views

How to enable package caching in dnf?

I started using fedora 22 and started learning dnf only to find out about two annoying facts: Almost every time I install or upgrade anything it has to rebuild the whole repository metadata cache ...
1
vote
0answers
15 views

Funny message when changing ownership of top directory in a mounted file system

For unknown reason, the ownership of this directory changed. This is a mount point: VM-data is /dev/sda3 which is a btrfs file system. When I changed it back, I got an error, chown: changing ...
2
votes
3answers
22 views

echo and command substitution

I wrote a very basic script of command substitution which is below: #!/bin/bash files=$(ls *.fastq); echo $files The directory contains bunch of .fastq file and I just want to use echo command to ...
5
votes
0answers
44 views

Fastest way to delete duplicates in large wordlist?

I need to deduplicate a large wordlist. I tried several commands and did some research here and here where they explain that the fastest way to deduplicate a wordlist seems to be using awk. awk ...
0
votes
0answers
2 views

Limit read access for folder in samba share

So, I'm trying to make it so that one of my shares can be acessed by almost everyone, but inside this share I have a symlink to a mounted drive which I only want to be accessed by users of one ...
0
votes
1answer
4 views

iptables rules' weird behavior

I have a set of iptables rules (see below) whose purpose is to disallow traffic to go out of my machine when my VPN connection is abruptly lost or manually terminated: #!/bin/bash echo "Please wait ...
1
vote
2answers
69 views

GNU Makefile surprise

I am try to build a simple, two-stage project Makefile with GNU make. The logic I want to follow is First I construct the dependencies (by gcc -M) I include the generated .dep files into the ...
1
vote
0answers
2 views

Applying device tree overlay

I have a device based on imx233-Olinuxino-Nano. The Arch Linux Arm distro boots and works. However, there is a slave device on my board that is connected to SPI of CPU. It is supported by kernel, ...
3
votes
0answers
16 views

ABRT report says “irq 19: nobody cared”, but why?

Every couple weeks, I need to reboot my system. When I do, and enter as root in the terminal, the following message (in some variation) appears: ABRT has detected 3 problem(s). For more info run: ...
3
votes
2answers
102 views

What's wrong with these file permissions?

This is an embarassing question, but I can't seem to figure out the proper file permissions for my server. I want to create a directory in my public_html folder that includes read/write access for ...
1
vote
2answers
48 views

$@ except the 1st argument

I need to write a shell script that runs in this way: ./myscript arg1 arg2_1 arg2_2 arg2_3 ....... arg2_# there is a for loop inside script for i in $@ However, as I know, $@ includes $1 up to ...
0
votes
1answer
16 views

One of my pdf files in my apache server can be accessed the other can't, with the same permissions and same directory

I have two pdf files in my server: -rwxr-xr-x. 1 apache apache 1422861 Sep 11 2014 file1.pdf -rwxr-xr-x. 1 apache apache 340815 Aug 27 13:06 file2.pdf I can access the first one by going to ...
1
vote
1answer
28 views

Question about replacing character in text file

So I have some data that is parsed in this format seperated by colons: username:email@email.com:password:salt Sometimes the username/salt can contain a colon (:) in it. I want to replace the ...
0
votes
1answer
26 views

No internet after changing mac on Kali Linux

I'm running Kali Linux on VirtualBox. I'm using bridged adapter, WNA with adapter type Intel Pro/1000 MT in the VBox network settings. My internet works flawlessly as long as my eth0 mac is the same ...
1
vote
0answers
8 views

How to force the X server to produce a specific keysym and state?

I have a Macbook which I want to map the right "command" key (also known as Super_R, RWIN) to AltGr. The reasons I want this is due to how a normal Norwegian keyboard has its square bracket keys and ...
2
votes
0answers
6 views

How to make SysRq working on laptop?

My /proc/sys/kernel/sysrq contains the number 502, but Alt+SysRq+... seems not to work on my HP Pavilion laptop. How can I fix that?
0
votes
0answers
21 views

readline emacs equivalent to vi's 'fc'

In vi readline, I can use the command fc where c is a character I want to find and jump to in the current line. E.g. echo 'hello world' fw --------> Is there an equivalent command in emacs mode? ...
1
vote
1answer
8 views

Network Monitor Tun Interfaces

I am trying to setup monitoring for my openvpn setup. Everything I have found so far doesn't have good logging for anything but the main network connection. I already have logging of openvpn data ...
1
vote
1answer
22 views

How to skip unresponsive server

I wrote a script that runs on multiple servers. Sometimes the script gets hung on one of the servers and I have to hit (control C) to end the process. If not, it gets stuck and keeps trying to ...
0
votes
1answer
19 views

Unable to get actual row counts because of Carriage return values:

I have an input delimiter file.The actual number of records in the file is 4. But due to carriage values now the total count is 8. I just want to do count of rows based on first column values. ...
0
votes
1answer
12 views

Set persistent static routes for 4 interfaces on 2 CentOS 7.1 servers

I am tasked to set up two test servers running CentOS 7.1 (Minimal install; the NetworkManager is disabled on both), and have run into a set of issues that I would like to get help here. The ...
0
votes
1answer
15 views

Pass environment variables to clean chroot in Arch

I am writing a PKGBUILD for Arch Linux. The package is large and compressing/uncompromising it take considerable time for limited space savings and I would like to turn it off while I am writing the ...
0
votes
0answers
13 views

Focus stealing under Xfce in Matlab (Java programs?)

I'm using Matlab R2015a under Debian Linux. I recently switched to Xfce 4.12 as my desktop environment, and since then I am experiencing weird focus behavior: When I try to interact with the ...
1
vote
1answer
23 views

rm all files to the right of “==” printed on the screen

I have a script that prints: dhcp-18-189-47-44:CE06_getting_new_fit myname$ ./find-duplicate-structures.sh custom_structures new_GS_calculation/selected/POSCAR_00* ...
1
vote
2answers
34 views

linux terminal transfer control to new terminal [on hold]

in one of my shell program, I want start an xterm window from terminal and then the control of next execution should go to the newly opened window (by default the control will be in the terminal). ...
1
vote
0answers
11 views

Show current email address in Mutt status line

I have multiple email accounts configured with Mutt, however it's not always clear to me in which account I'm currently on. I'm looking forward to add my current email address (from the from ...
0
votes
1answer
14 views

List that contains the last installed / upgraded packages in Arch Linux

How can I get a list of packages, that last installed / upgraded by pacman / yaourt in Arch Linux including the timestamp?
0
votes
1answer
20 views

Manage multiple servers

I wrote a simple script that I want to run on several hosts. (I.e., I want to run one instance of the script, but have it operate on several hosts.) The script works, but only for the first host. When ...
0
votes
0answers
11 views

How to sync Google Calendar gcalcli with Conky/Desktop?

Main Question: As the title says, I want to sync my Google Calendar with the Linux Mint 17.2 desktop; preferably through Conky. I'm aware of a method using Thunderbird but I'd rather have it set up as ...
1
vote
1answer
12 views

compling kernels for armhf

I am trying to compile my own kernel but I am having some issues with understanding. I am using the latest kernel available from kernel.org. My issue is at current: I have zero clue on what options ...
0
votes
1answer
9 views

How can I forward only errors from the audit log to rsyslog server?

rsyslog documentation is very unclear. I want to forward only errors from auditlog to the remote rsyslog server. The examples show: # auditd audit.log $InputFileName /var/log/audit/audit.log ...
0
votes
0answers
8 views

rsyslog treats message string as the source hostname

Sample device kernel logs sent across the wire to rsyslog server- 2015-08-27T09:43:53.141273+00:00 console [netcon0] enabled 2015-08-27T11:26:39.658558+00:00 console [netcon0] enabled ...
0
votes
0answers
5 views

errors when I undid new partitioning scheme back to old one

I am running ubuntu 15.04, I installed a 32gb ssd, and I tried some partitioning based on this partitioning scheme, when I first did this I made the mistake of doing this in the ubuntu version I was ...
0
votes
0answers
8 views

Debian - dpkg-buildpackage error: missing files (usr/include/*)

I am trying to build av dev package out of some .so files - i.e libraries. dh_make -f ../ mylibs.tar.gz than I choose -l since I want a librarypackage. A debian folder is created which ...
2
votes
3answers
83 views

FNR and NR variables problem

I have two files, one of them has 10 records, and the other one with 15 record, the problem is when I cat them together, always FNR=NR. For example, consider below files: File1: 1,boo 2,foo 3,boo ...
3
votes
1answer
42 views

weird characters in bash shell

Sometimes when I use the rm tool or stat tool in bash shell I get following weird characters: root@server:~# rm -vr blah removed directory: �blah� root@server:~# What might be the reason for this? ...
3
votes
0answers
33 views

Unknown word comes up automatically after changing password on a user

I am using Redhat 5.4 and when I tend to change Oracle user password this comes up right after hitting Enter: passwd oracle Retype new UNIX password: passwd: all authentication tokens updated ...
-3
votes
0answers
33 views

Error in youtube in view of mode theater [on hold]

Here is the problem I've found in Linux: How to fix it? It's in all browsers in my Linux. i from Middle East In the dailymotion website happens it also to Videos. The mode view of cinema is not a ...
1
vote
0answers
19 views

apt-get update: Unable to find expected entry 'Packages' in Release file

We have an automated build and deploy process based on debootstrap and apt for creating image files for one of our products directly after the build on the build-server. The sources.list is a bit ...
1
vote
0answers
9 views

How to enable unison to login with ssh from systemd service unit?

I have a pdf-sync.path file for systemd runnin in user-space (systemctl --user enable pdf-sync.path). Whenever there is a change in the folder that I defined in the path file I want to synchronize ...
2
votes
0answers
9 views

How to define different routes for global and non-global zone to the same destination?

I have the requirement to separate the management network for global and non global zones in a Solaris 10 server. The global zone has its own management network and all non-global zones share their ...
0
votes
2answers
27 views

Check if process is running Mac OS X then execute code

I am creating a script which clears the cache for Google Chrome. However, I would like to check if Chrome is open and if so not run the code but if it isn't then it will execute the code. I can see ...
0
votes
0answers
10 views

A lot of systemd messages since upgrade to Fedora 22

I upgraded several systems to Fedora 22. After the upgrade I see every 10-20 seconds a lot of messages form systemd: Aug 27 15:30:09 host.example.org systemd[1]: Created slice user-494.slice. Aug 27 ...
1
vote
0answers
39 views

how to read a nand?

There is a NAND Flash drive embedded into the motherboard I am using. Linux by default does not read NAND Flash, how can I modify my system to allow me to read the NAND flash drive like any other ...
0
votes
1answer
20 views

Serial devices?

Is it possible to do some echo on /dev/ttyS8 serial device in one terminal window, and in second to cat /dev/ttyS8 and display data from that file?
0
votes
1answer
29 views

Permission denied to file even though I am in that group

I know there is a question like this already, but it was confusing question and answer, and I think this should be simple I am testing deleting a file and I have two users admin_ftpuser works, ...
1
vote
1answer
9 views

How to install cctrlapp on debian?

I try to install the cctrl command line client on a debian 8 machine. Following the install instructions, I installed python, pip and then (via pip) cctrl apt-get install python apt-get install ...
1
vote
0answers
7 views

Is there a way to enter a password with onscreen keyboard to unlock a LUKS crypto device during bootup?

I just installed Linux (Ubuntu, but it does not really matter) on an x86-based tablet. I also encrypted a partition which is mounted during bootup. Of course, one usually needs to enter the password ...

15 30 50 per page