2
votes
1answer
111 views

Task not run by crontab

crontab strangely does not execute my script, although the script is running just fine from the shell terminal. I already made sure that scripts are separated from each other by a new line space. ...
2
votes
0answers
31 views

How do I repair grub2 (not) booting 32-bit EFI on a 64-bit machine?

I have an Asus EeeBook X205TA which proves very difficult to install Linux on due to obscure new hardware and 32-bit EFI on 64-bit hardware. I have seen and read a lot of material and I am almost ...
0
votes
0answers
16 views

CentOS samba connection over an OpenVPN network

I have a CentOS 6 server that I am connecting to via OpenVPN and I would like to know how to get a Samba share working so I don't have to keep using ssh terminals. After I connect to the CentOS ...
0
votes
1answer
14 views

Creating X11VNC Server Initscript not successful on boot (manually started works)

I have installed X11VNC and starting it on a running System (with X and XFCE running) in a terminal does work. I have written a startup script (used the skeleton in /etc/init.d/skeleton) for that. ...
0
votes
1answer
11 views

Windows XP virtual machine crashes installing driver for host-mapped Velleman K8090 USB relay card

I have an existing Windows XP (Win32) virtual machine running under Qemu 1.5.0 on Linux Mint 16. I wanted to test Velleman 8 channel USB relay card. There is a generic driver available, which I ...
0
votes
0answers
21 views

How to grouped the following variable and command and read 1 by 1

I've following array and variable : httpurl="http://www.nnin.com" firstquery=$(curl -s -X POST -d "UID=user1&PWD=1111" $httpurl) name="firstcust" ip="105.105.0.1" httpurl="http://www.mmim.com" ...
0
votes
0answers
10 views

Is my MacBook Air sleeping under Debian Jessie?

I frequently notice the Apple logo lights up relatively briefly when the lid is closed on my MacBook Air running Debian Jessie. If I suspend with the lid open then the lock screen briefly appears and ...
0
votes
0answers
16 views

Reshareing a Samba share

Thanks for looking at my question. I have 2 Networks on my firewall, 1 for the users and 1 for some servers. Now I have 1 server as sort of portal to some shares on other servers. the portal server ...
1
vote
2answers
35 views

Alignment when printing a series of records

How can I resolve the problem of the tables going to the right. I just want it to be shown under 1. Here's my script with START added. The alignment has gone wonky now: while IFS="," read f1 f2 f3 ...
0
votes
0answers
27 views

Centos 7 x64, RT3290

I use Centos 7 on Asus X550L uname -a Linux egor 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13 10:06:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux lspci | grep -i network 03:00.0 Network controller: ...
2
votes
0answers
19 views

cssh: change terminal from xterm to terminator

I would like cssh to use terminator terminal emulator, instead of the default xterm. In ~/.clusterssh/config I have changed the following line: #terminal=/usr/bin/xterm terminal=/usr/bin/terminator ...
0
votes
0answers
22 views

mysql service exiting without error

I have installed mysql-community-server on openSUSE and am having trouble starting it as a service. I can start it using sudo mysqld --user=mysql without a problem and access the database normally. ...
0
votes
3answers
68 views

Find all words beginning with Q

How do I search a text file and list all the words begining with Q? The file I am searching is Python source code. The closest I have found to a soulution is this question but that is not what I ...
7
votes
1answer
203 views

Know which process does I/O without iotop

On Linux, I want to know which process uses my disk I/O bandwith. I know I can use iotop but I have a machine where, for various reasons, iotop cannot be installed. How can I manually get that ...
0
votes
1answer
15 views

Restrict user to do SFTP on the www folder owned by www-data group

I would like to create a new user with read/write privileges ONLY in the /var/www/ directory including all sub-directories. The /var/www/ is owned by a group called www-data. Best way to do it I ...
2
votes
1answer
42 views

chroot ssh users

I am using CentOS 7. I need to give shell access to ssh users but restrict them in a jail. I have used jailkit to set up the jail. I have copied all necessary libraries, binaries that are needed for ...
0
votes
1answer
11 views

Centos 7.1: how to record from audio input (not microphone)

I use centos 7.1. What application can I use to record audio input (not microphone) from sound adapter? For example I connect TV sound output to PC sound card input.
0
votes
0answers
17 views

How to install id3lib libraries to Code::Blocks? [migrated]

Recently i have been trying to work with Mp3 files. And i found that id3lib library can be used for this purpose. The library is in a zip file and contains many files that i havn't even heard off. So ...
0
votes
0answers
9 views

Upgrading Portage?

I'm attempting to upgrade portage on my Chromium OS VM and I get a masking on the upgrade saying it's masked by EAPI 5 and that my current version is EAPI 4. In order to upgrade portage I need EAPI 5 ...
0
votes
0answers
9 views

Linux (RHEL) installed on Windows Hyper-V supporting Virtual HBA

I have installed RHEL 6 on Hyper-V as a Guest machine. I have added Virtual Fibre Channel. But I cannot detect in the RHEL. I also don't know how to find it is working or not. Can anyone help me ...
1
vote
2answers
42 views

Specify String Lenth in Awk Pattern Search

I'm not sure what I'm doing wrong. Given a test.log of: 123.123.123.123 321.321.321.321 GET /test1234/asdfasdfpioasdfjkhweris,9 123.123.123.123 321.321.321.321 GET ...
1
vote
1answer
37 views

tail -f error_log | cowsay

I'm watching the error logs on my local setup. I'd like to have the errors print out in cowsay, you know, for fun. tail -f error_log | cowsay doesn't work. Any ideas?
2
votes
2answers
17 views

stderr gets flushed before stdout, when using file logger

My python code: import sys print "i am a daemon" print "i will be run using nohup" sys.stderr.write("i am an error message inside nohup process\n") When i run the code as python a.py, it shows, i ...
0
votes
0answers
22 views

Why is my laptop being blocked from connecting to a PPTP VPN server?

I have a fairly simple network at home Internet --> Modem --> Linux Router --> Switch --> Laptop The problem: There is a PPTP VPN server at work that I need to connect to from home. I configured my ...
0
votes
1answer
33 views

No IP address on VMware running centos 7

I just now installed Cent OS 7 on my VMware 8 and I am not able to connect it to a network. I checked the VM network and its mapped to the physical NIC. The same setting work like charm on my CentOS ...
2
votes
1answer
51 views

How to safely transmit a password over SSH for a remote command to use

On the local server, I have a program that stores the password in the predefined environment variable (SPECIAL_PASSWORD). On the remote server I have a program that reads and uses a password from a ...
1
vote
1answer
23 views

How can I cache the PGP unlock for unix pass when I am in the virtual terminal?

When I am running in the GUI, if I run the pass command to read a password such as pass -c Email/FooBar, a password prompt will appear for my passphrase. If I type my password, my password will be ...
2
votes
1answer
23 views

Backup on a remote server in an encrypted folder

Is there an easy way to backup your home directory on an online server in an encrypted folder? I heard of obnam which should be able to store encrypted with a GPG key somehow. What would be the ...
-7
votes
0answers
43 views

What system call creates and runs a new process in the Unix and Linux systems? [on hold]

Using the program below, identify the values of pid that will be printed at lines A, B, C, and D. (Assume that the actual pids of the parent and child are 7200 and 7225, respectively.) #include ...
-1
votes
0answers
6 views

LFS 7.2: Hundreds of errors in glibc make check

I am on Section 6.9 of the LFS book. Everything before this section seemed fine. When I ran make check I got a huge number of errors. A longer transcript of my make check run can be found here on ...
0
votes
2answers
31 views

Linux ssh log audit

I want to monitor ssh logins into a Linux box: who, from where (IP address) and when. How to open related logs? A simple document is appreciated.
1
vote
1answer
8 views

How do you downgrade multiple packages in arch linux?

I am trying to downgrade the vim package on arch linux to an earlier version (as I need to use an earlier version of ruby which breaks it [ref]). running downgrade vim and selecting the version ...
3
votes
1answer
36 views

Size difference between an iso file burnt to a cd and the file retrieved with dd

I have an iso file (foo.iso) that I burnt to a dvd with the command : growisofs -dvd-compat -Z /dev/cdrom=foo.iso I then tried the command dd if=/dev/cdrom of=foo2.iso However, foo2.iso is ...
1
vote
0answers
22 views

Is there any considerations I should take when running untrusted apps as non-root user?

I have to use an application I don't trust (unstable) and I will run it as a non-privileged user so if something bad happens the damage would be limited to the home folder of that user. I removed ...
1
vote
1answer
40 views

How can I make the unix `pass` program play nice with `ssh` inside the Linux Virtual Terminal?

I am trying to log into an ssh server by pulling the password directly out of the pass program without any GUI interaction. The normal workflow in the GUI (Gnome) is to do the following. Pull the ...
0
votes
0answers
31 views

awk search for string containing forward slash in variable [duplicate]

I'm searching for a string in a massive XML file. Snip: <sv:node sv:name="notfound"> <sv:property sv:name="jcr:primaryType" sv:type="Name"> ...
0
votes
0answers
12 views

Evolution-EWS (Exchange) Address Book Isn't Syncing

I've installed evolution and evolution-ews. After setting up my exchange email account, I expected that the address books from the server would also sync. Under my Contacts, there are 6 address books. ...
1
vote
1answer
19 views

Can't use Python3 Package Installer

I successfully installed Python3's Pip and SetupTool packages by: sudo apt-get install python3-pip but when I try to download/install any package for Python3 by: pip install <package-name> ...
0
votes
0answers
13 views

Building a physical and ethernet drivers on embedded device

So, I am working on an embedded device Devolo dLAN wifi 500, running a linux kernel version 2.6.31. It has an atheros chip ar7240. I have root access to it and can modify its contents. (And now for a ...
0
votes
1answer
24 views

FreeBSD bootable usb

How can I make a bootable USB stick with FreeBSD on it and then boot the image from Plop Linux? (I am using Linux mint) I want to install this OS ,also I want to know if Plop will detect the the BSD ...
1
vote
0answers
16 views

how do I migrate liferay from one server to another?

I'm trying to migrate liferay to another server (both are linux machines, and I'm using the CE bundle with tomcat7). I moved over the entire folder. This is not enough, because usernames/passwords ...
2
votes
2answers
33 views

sed replace after matching character

I have to change a properties file containing the property: ro.product.firmware=0.0.1 with a new value that is coming from a function called in a different section of my bash script. I cannot get ...
2
votes
2answers
34 views

Copying latest file from remote server

There is a collection of .doc files, in addition to other types of files, on a remote server (which supports SCP). I am trying to write a script to retrieve the latest (most recently modified) .doc ...
0
votes
1answer
26 views

Issue on updating Linux Ubuntu

As LU is strongly suggesting me, I want to update my packages but a problem (which I hadn't encountered before) interrupts upgrading process. Some specific packages fail to be downloaded. They are: ...
0
votes
0answers
14 views

color scheme setup for iTerm

How do you setup color scheme of iTerm on Mac? For color scheme, I mean using different color to display folder name, file name, machine name, etc.
4
votes
3answers
11 views

Inject lines to bash history

By default bash loads lines from ~/.bash_history to history. Is it possible to add custom file to be also loaded? I want to inject file containing commands I frequently use and access them it via ...
0
votes
0answers
18 views

security setup for a Linux box expose to Internet [on hold]

I need to setup a Linux box (CentOS) and expose it to Internet. I just need to expose http service. Wondering if any security setup guide? I am not a security expert, just want to get a easy to follow ...
0
votes
1answer
5 views

unmet dependencies after an upgrade to Debian 8

After upgrading an amd64 Debian 7 to 8 I can not upgrade grep. What do I have to do to fix this? root@xyz:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading ...
0
votes
1answer
21 views

Running a ruby cron job

I was trying to create a cron job which runs a ruby code on digital ocean, however it seems I'm making a mistake. It doesn't give any error but it doesn't also do anything. I ran this cronjob on my ...
0
votes
4answers
32 views

How to track/log commands executed on a shell?

Can commands be written to a logfile before they were executed in any shells? I know there is a patch for ssh to log all commands from ssh sessions, but i want to log even commands executed from a ...

15 30 50 per page