2
votes
1answer
12 views

LDAP Authentication on OpenBSD

I'm trying to get an OpenBSD server to authenticate users using the same LDAP server the rest of my home network uses. While 'getent password' lists the users from the LDAP server as expected, I ...
0
votes
1answer
19 views

How do I suppress all email notification from cron for particular job?

I am scheduling the following shell script #!/bin/bash (echo open mailserver.nowhere.local 25; sleep 1; echo EHLO; echo quit)\ | telnet | grep "?Invalid command" if [ $? -eq 1 ]; then ...
0
votes
1answer
41 views

How much trouble will NVIDIA Optimus graphics switching cause my Linux installation?

I'm about to get a new laptop, and I want to dual-boot Windows and Linux on to it. I noticed that a lot of laptops you can buy come with Optimus graphics switching installed. I like the idea of ...
1
vote
1answer
24 views

YouCompleteMe vim extension: How to jump to next error?

Is there any way when using the YouCompleteMe vim extension to jump to the next point in the file with an error? I find myself just scrolling through the page until I find the error highlight, but ...
0
votes
1answer
17 views

ErrorDocument CGI not executing, source displayed

On Apache HTTP server 2.2, the ErrorDocument has a PHP CGI script in my configuration which shows a nice message and reacts to multiple error codes and shows additional information for each. This ...
0
votes
1answer
27 views

Backing up Linux server to Windows domain

I'm maintaining a small Linux workstation/server in a Windows-domain-based environment. Apart from being in the same network, the Linux computer is not connected to the domain. Until now, I'm using a ...
3
votes
1answer
28 views

Retrieve X11 window ID of a just-launched GUI-program

I want to retrieve the X id of GUI programs I launch in background, in order to work on their windows properties. I've been so far using this workaround: myprogram & sleep 1 winID=$(wmctrl -l | ...
2
votes
1answer
17 views

gnome classic terminal mouse double click selection

I am running ubuntu 12.04.5 lts. When I do a mouse double click selection I would like to select only a current word. For example in a line like: /home/xx/asdf right now the whole line gets ...
1
vote
2answers
61 views

How do I expect 'echo -e “? \c”'?

I'm an absolute newbie to the UNIX world and have been asked to write a script that interacts with another one - but I'm stuck. The script that I interact with echos the following and I need to send a ...
5
votes
3answers
97 views

Replace uppercase to lowercase except first letter of each word in specific line

I want to replace names that I received in uppercase letters only. The names are mixed with other information which should stay as it is. AUTH: at the beginning of the line identifies it as a line ...
-2
votes
4answers
43 views

How to ignore the lines starts with # using grep / awk

cat /etc/oratab #test1:/opt/oracle/app/oracle/product/11.2.0.4:N +ASM2:/grid/oracle/app/oracle/product/11.2.0.4:N # line added by Agent test2:/opt/oracle/app/oracle/product/11.2.0.4:N ...
1
vote
0answers
8 views

Installing generic-logos and generic-release on Fedora

The guidelines for Fedora remixes suggest to replaces packages fedora-logos, fedora-release, and fedora-release-notes with the generic-* equivalents when making a remix. Most tutorials online focus on ...
0
votes
0answers
15 views

xfrm and xfrm gc stats

Are there any stats related to the XFRM and XFRM garbage collector? I am unfortunately running on a ubuntu 10.04 and cannot upgrade. /proc/net/xfrm_stat is not available. I am chasing some ipsec ...
-1
votes
0answers
12 views

QtSoap Network transport error (99): Error creating SSL context () Linux Mint [migrated]

I have a problem with connection to a web service with ssl protocol. I was trying to connect with specyfied WebService using open libraries QtSoap. Since now I have been searching any solution of ...
1
vote
1answer
32 views

Remove/Delete Attachments from email server (IMAP)

I have a rather large quantity of emails on my mail server (IMAP) which contain attachments (PDF's, etc.) These attachments waste space--my HDD space on server is limited by my hosting company--and I ...
1
vote
0answers
15 views

Print to a printer attached to the user's terminal in CentOS

I have a server with SCO Unix 505 in which we run an application in Foxbase. I've just installed CentOS 5.5 and made my Foxbase application work in Centos. The problem is that in SCO Unix foxbase ...
0
votes
1answer
30 views

Make own graphical server [on hold]

I had experience to work with framebuffer and found it pretty well to make own graphical applications. But the problem is that framebuffer is too slow. My goal: 1) Make a new tty which will work for ...
3
votes
3answers
195 views

awk manipulation of file

I have a big file in this format, whose first few lines I am showing you including the header. gene c1 c2 c3 c4 c5 c6 c7 c8 G1*1 0 0 0 0 0 0 0 0 G2*2 0 0 0 0 1 ...
1
vote
1answer
58 views

How to run “&” operation sequentially

From my script I am running following commands: SCRIPT_1="ksh -x script1.sh & ksh -x script2.sh"; SCRIPT_2="ksh -x script3.sh & ksh -x script4.sh"; eval $SCRIPT_1; sleep 20s; eval ...
0
votes
1answer
41 views

How to copy a file with scp via another server

I have three machines. The local machine L, Server1 A, Server2 B. L is able to connect to A A is able to connect to B L is not able to connect to B I want to copy a file from L to B without ...
1
vote
1answer
29 views

Why is laptop screen called eDP1?

In my new laptop, using i915 and the intel driver of Xorg, the laptop screen is called eDP1 in Randr $ xrandr eDP1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm ...
1
vote
0answers
23 views

A modern, easily configurable DE [on hold]

I am looking for a linux desktop environment with modern look and feel and can be configured programmably (or has the capability of easily exporting and importing configuration) Does it exist?
3
votes
2answers
32 views

Is there a way to run sudo without running another unneccessary command?

I wanted to run two sudo commands, piping the output from one to the other. However, when I haven't entered my password for sudo recently, it prompts me for the password. The pipes and two sudos seem ...
0
votes
0answers
15 views

bootable usb creator without default bootloader

I want a program (a linux command is more preferable) to create a bootable usb drive but all the programs which I have seen have a default bootloader which they install but I want the bootloader in ...
4
votes
3answers
339 views

How can I start a process with any name which does nothing?

I want to start a process that does nothing but is still running. Say I start a process called sadhadxk, and when I run pgrep -x "sadhadxk" I will get the PID number back, like any normal process ...
1
vote
1answer
28 views

using bash script to sort text in a file

I would like to sort the output of multipath -ll into a csv type of file using bash script. For example # multipath -ll would give the following output 360060e80056fc30000006fc30000513c dm-41 ...
1
vote
0answers
20 views

Custom global keybindings in cinnamon via gsettings

I am trying to setup some keyboard shortcuts for cinnamon: gsettings set org.cinnamon.desktop.keybindings custom-list \ "['custom0', \ 'custom1', \ 'custom2', \ 'custom3', \ ...
1
vote
2answers
32 views

script to add users to otrs

Im looking for a fast way to import customer users into otrs (ticket system) I have an export from Active Directory with: firstname lastname password email username There is a script in the otrs/bin ...
1
vote
2answers
23 views

rsync a list of directories with absolute path in text file

I have a text file containing a list of directories with its absolute path $ cat DirectoriesToCopy.txt /data/Dir1 /data/Dir2 I want to use rsync to copy all these directories preserving its ...
2
votes
1answer
32 views

Linux Mint desktop displays different files from ls command

Background I'm running Linux Mint 17 Cinnamon. After a botched attempt at migrating my data to a NAS, I restored my data from an external USB. Problem Statement After restoring from backup, all my ...
-1
votes
1answer
52 views

Help with Grep , uniq and sort

can anybody help me understand this expression grep -oP "TYPE=\w+" | sort | uniq -c
0
votes
0answers
13 views

Install Lubuntu as 2nd OS on encrypted computer?

I have debian installed on my computer which is installed in a full encrypted disk. Having tried lubuntu in virtual box form and liking it, I want to try lubuntu out on the actual computer instead of ...
2
votes
0answers
26 views

“login -qf” as root results in “Login incorrect” error

I'm trying to install pow on an OS X machine.* Some of pow's components have to run as root, so part of the setup process involves running an installation script with sudo. The problem is, this setup ...
1
vote
0answers
21 views

Error file system check

I enabled the package e2fsprogs and always when the system starts it return the following error (when partition mounting): Jan 01 00:00:03 xxxx systemd[1]: Found device /dev/mmcblk0p3. Jan 01 ...
8
votes
2answers
117 views

How can I conditionally pass a subshell through 'time'?

I have a setup script for a Vagrant box where I used to measure single steps with time. Now I would like to conditionally enable or disable the time measurements. For example, previously a line would ...
-2
votes
0answers
15 views

google chrome installed but cant open in fedora 14 [on hold]

I installed Google Chrome following this link, but now that is it installed, it won't open. I tried many ways but it won't work. I am running the 2.6.35.6-45.fc14.i686 Linux kernel.
3
votes
1answer
33 views

Problem with passing parameters containing spaces and wild card characters

I have a problem passing parameters if the parameters may contain wildcards and/or spaces, if those parameters are optional. Since this sounds pretty abstract, let's have a small example: The ...
0
votes
0answers
15 views

Unmap Ctrl+h from backspace

I have the following key mapping defined in .tmux.conf. bind-key -n C-l next bind-key -n C-h prev What it does is cycling through windows in tmux when pressing Ctrl + L an Ctrl + H, respectively. ...
-1
votes
0answers
7 views

Asus server stops unexpectedly [on hold]

My Asus server stops suddenly without any notification. I try to find the problem. I use to ultimate boot cd to find what is wrong. I think that it would be in the hardware. I run pated magic. But ...
0
votes
1answer
12 views

Double “AuthType”, is possible?

i need to protect my site with basic authentication, but i have alredy the authentication directive with shibboleth: <Location /> AuthType shibboleth ShibRequireSession Off require ...
0
votes
0answers
12 views

Debian, tftp only works for localhost

I installed a new Debian Linux 7.7 in a virtual machine (with bridged networking) on a Windows 7 host. Now I am trying to get a tftp server running on it in order to supply an embedded device with a ...
1
vote
1answer
37 views

Use sudo from another programm

I was wondering it is safe or an acceptable practice to use sudo to run an application from another one. For example, Let's say I have an application that uses a configuration file to do its work and, ...
-1
votes
1answer
35 views

How to name a directory by combining two variables?

I want to name a directory by combining the the values of two variables. eg: dirname="$var1" '.' "$var2".
1
vote
0answers
5 views

Suspend options with KDM greeter

I am not able to suspend my desktop to RAM from the KDM greeter. I am able to suspend it to RAM when logged into KDE using the sleep option from the logout menu and by pressing the sleep key on my ...
0
votes
1answer
35 views

Issue due to scope of environment variables

I had an Internet connection problem which turned out to be related to setting up the appropriate proxy environment variables. After adding lines like export ...
0
votes
0answers
12 views

Multiple prefix tags in rpm spec file

I have an rpm that builds two packages. I tried to add separate Prefix tags in the preamble each of the packages. However, as there is one prep section, I am not able to address the prefix each of ...
0
votes
0answers
8 views

Adding files to %files section of SPEC file from another file

Is there a way to use a text file to add files into a package. This is what I intend to know: I have a text file that contains a list of files to be packaged. Is there some way to use that list in ...
2
votes
3answers
41 views

tar append to file in archive

Good morning, I have a tar compressed archive tar.bzip2 (created using tar jcf), which contains a file named data.txt (1). On the other side, I have another file also named data.txt (2). Is ...
3
votes
1answer
14 views

Keep the space after completion for some characters in zsh

Zsh has a bit of completion-related automation that's nice most of the time: after pressing Tab, a space is inserted automatically (or some other appropriate character such as , inside braces). I ...
0
votes
1answer
10 views

darktable 1.6 in PC-BSD

Is darktable 1.6 in PC-BSD repositories available or when will it be? Or is it possible to install it from freebsd?

15 30 50 per page