0
votes
1answer
9 views

loop through multiple folders and perform commands then write to file

I have 10 folders that I want to loop through while executing the following command: awk 'FNR > 1' *.csv | sort -sk 1,2 | sort -sk 3,3 > ${f}_appended.dat With a for loop wrapper, like ...
0
votes
0answers
5 views

linux question:stat file modification for creator field

I modified stat structure in my new kernel and I compiled and entered to new kernel version linux-3.19,the location or new kernel source code was present on desktop.while I try to print the stat ...
0
votes
0answers
9 views

Shell script runs diffrently based on working directory.

I have a script which runs differently based on current working directory. Basically it processes an .ini file and takes parameters from it and runs mysql backup. Script is running as root user. ...
0
votes
1answer
2 views

Can I install Arch-Linux in my hard disk partition running archlinux iso in a VirtualBox?

I am running arch Linux in my oracle VirtualBox and learning to install with arch wiki documentation. I was wondering if following things were possible to perform: First I have done following things ...
0
votes
1answer
4 views

Having problem with mysql dbdump when password starts with special character

I am trying to take a db backup with a php file that is running from a cronjob. It was running fine when I tested with sample db. But when I used the actual db there was an error. I am using ...
1
vote
1answer
14 views

cd to my folders shows me an error

I just logged out my system and logged on. And i tried to get into my folder cd /u/folder It says Too many levels of symbolic links. But it worked yesterday. What could be the reason? I found ...
0
votes
0answers
3 views

Persistent volume change mplayer

My goal is to have mplayer start at one volume, then change to a different volume in a scripted fashion. My current script (pseudo code - simplicity) mkfifo mplayer_fifo (sleep 5m; echo ...
0
votes
1answer
11 views

Convert screen command for tmux

Is anyone familiar with how to run programs from crontab in tmux instead of a screen session? For instance what would be the command line equivalent of this: @reboot cd /home/morggin/mcserver ...
0
votes
1answer
25 views

Can you please tell me what is wrong in below script?

script : it is giving below error. please help me. basically i need to get email when memory exceeds some limit. error : ./vamsitest.sh: line 10: [: missing `]'   #! /bin/bash # Total memory ...
0
votes
0answers
4 views

Getting error when integrating cloudera hue with ldap server?

I have configured ldap server on centos machine.I am able to execute ldapadd and ldapsearch sucessfully. But while integrating ldap with cloudera hue getting following error Server Error (500) ...
0
votes
1answer
9 views

which command will give complete user creation in RHEL?

I want to create a user in RHEL 6.5 and i have three commands (1)useradd (2)adduser (3)system-config-users which one will give the complete user creation.
1
vote
0answers
6 views

can’t set ACLs on FreeBSD UFS

$ sysctl -a | grep acl kern.features.ufs_acl: 1 vfs.acl_nfs4_old_semantics: 0 $ mount /dev/ada0p2 on / (ufs, local, journaled soft-updates) devfs on /dev (devfs, local, multilabel) devfs on ...
0
votes
0answers
5 views

Multiple iptables denied in report from hourly logcheck on Debian

I get thousands of lines of iptables denied every hour from logcheck, for a week now. What are the steps to troubleshoot this, what are the main causes of this? This is inside an LAN and the ...
0
votes
0answers
15 views

How do I decrypt this hard drive?

In 2011 I installed Ubuntu server edition on an old Dell that I had laying around. During the install process I was using the gui installer and opted to set disk encryption on the disk drive. During ...
0
votes
1answer
3 views

How to use apt-get on BasilOS?

I have recently upgrade from BasilOS Trinity to BasilOS Quad. In Quad apt-get was integrated, I read some documentation on it, but I still do not fully understand if it is meant to be used with .deb ...
0
votes
1answer
3 views

Service that runs once when ppp0 connection shows up

We use wvdial to initiate a cell modem connection. We wrap it with nohup, launched by a cron job that checks if all is well every minute (everything we read said that wvdial and the associated ...
0
votes
0answers
4 views

Login dialog doesn't stay on screen long enough to input credentials(resume from screensaver)

I have an old computer which I upgraded the GPU to Mobility Radeon HD 5430 Series, I just installed the modules for Debian Wheezy, but now my screen-saver doesn't work anymore, when I come back to the ...
0
votes
0answers
3 views

Current situation of hybrid graphics

Let me ask simple question - what is current support of hybrid graphics on Linux? My friend has laptop with Intel and Nvidia GPU. He tried to configure Ubuntu with Bumblebee 2 years ago and this not ...
0
votes
0answers
10 views

Ipv6 Network unreachable Debian

Been trying to configure ipv6 on my proxmox server for about an hour now and I just can't seem to get it right. /etc/network/interfaces: auto lo iface lo inet loopback auto vmbr0 iface vmbr0 inet ...
1
vote
0answers
7 views

Send sleep command to usb disk mounted as /home (Fedora 20) from shutdown script

I have a usb sata2 drive connected to usb that is mounted as /home. When I turn off the computer/laptop the disk makes some high pitch sound as if the disks were still spinning and heads were not ...
1
vote
1answer
14 views

Running a constructed command from bash script

I constructed a command like this in a bash script a="my_cmd"; a="$a --verbose"; echo $a; $a; It works and executes my command correctly. But when I add an environment variable to the mix it ...
0
votes
1answer
10 views

setting up a relay port for postfix smtp on CentOS 7

A CentOS 7 server has postfix, dovecot, and mailx installed. I am able to make an IMAP connection to the server from my remote Thunderbird client running on my local devbox. But I am not able to ...
0
votes
1answer
20 views

how to get list of all processes accessing a shared library [duplicate]

I know that ldd utility can list all libraries linked to a process but I want it the other way around. I want all processes linked to a library. I want to replace a shared library without crashing the ...
0
votes
0answers
12 views

Sign a soap message from a JKS dynamically using Python Unix

I am currently calling a webservice using Curl command from unix . I have a requirement that I have to dynamically message sign the soap request every time I make a call to the webservice using my ...
1
vote
0answers
12 views

chromium (chrome) not loading home page automatically

when I start Chromium browser, it loads www.google.com as my "Home Page". This is configured in: Settings On Startup [*] Open a specific page or set of pages However, when I open another ...
0
votes
0answers
13 views

How do I start dnsmasq?

I have installed dnsmasq but I can't start it: $ dnsmasq dnsmasq: failed to create listening socket for 10.0.1.57: Permission denied $ sudo dnsmasq dnsmasq: failed to create listening socket for ...
0
votes
0answers
12 views

No value for $TERM and no -T specified

I recently upgraded (with apt-get dist-upgrade) my Kubuntu and Lubuntu Linux boxes, and now every time I log into one of these machines, I get this message: tput: No value for $TERM and no -T ...
2
votes
2answers
15 views

Network drives in the cloud?

Is there such a service that allows Linux servers to access remote cloud storage as if it were a file on a local network? I'm running a very small server, 512 MB RAM and 20 GB hard drive space, but do ...
1
vote
1answer
18 views

Why do iptables drop / log even if the appropriate packet should be accepted?

I'm setting up a server running Debian Jessie with some applications like iptables firewall, fail2ban, openvpn, apache, ... The iptables firewall is configured in the way, that it logs every packet ...
1
vote
0answers
11 views

network.service - after executing “telinit” network interfaces doesn't start

When I start RHEL 7 everything is fine, my network functions, I can ping other PC's etc: [root@localhost]# service network status Configured devices: lo eno1 enp2s0f0Team enp2s0f1Team team0 team0.300 ...
1
vote
0answers
18 views

Puppet-enterprise-install fails basename: missing operand

I just downloaded the puppet enterprise installer for my OS version from the puppetlabs website and the installer seems to fail immediately. Couldn't find anything online so I would appreciate any ...
0
votes
0answers
9 views

use php variables for awk regex commands [duplicate]

trying to implement autosuggest using php. autosuggest list generated using awk $input= $_GET["term"]; $suggest=array(); exec('awk \'BEGIN{FS=","}/.$input./{print $2,"-cost-",$1}\' ...
0
votes
0answers
11 views

Do I need systemd-logind service on server?

I'm setting up debian 8 lxc container on debian 8. And I see a lot of: [FAILED] Failed to start Login Service. See 'systemctl status systemd-logind.service' for details. when the container starts. ...
1
vote
0answers
24 views

How does the Linux kernel initialize console graphics?

Observation: I switch on a Linux box Boot loader displays its output on screen Boot starts with first output messages Screen goes blank, and never comes back on. Note: this is about the console, ...
0
votes
0answers
7 views

Xen ERROR Couldn't find xen kernel for Ubuntu tree

xen-4.2 running on server with multiple CentOS running guest, But when i am trying to install Ubuntu i got following error. How do i install Ubuntu on CentOS Xen Server? [root@example ~]# ...
0
votes
0answers
11 views

Disabling sslv3 on samba4

How can I disable sslv3 on samba4 ldaps and just have tlsv1 enabled? I have not been able to find any documentation or guides on disabling this feature. This is in regards to the poodle ...
0
votes
0answers
13 views

can't launch applet as root: “could not grab your mouse”

I'm programming a cinnamon applet..It requires root access.. so I've managed to launch gksu when the user click on the applet.. but I get "could not grab your mouse" error I've googled this problem ...
1
vote
2answers
35 views

Calibre don't convert from epub to mobi

Calibre did not convert my Epub Books to Mobi. It aborts with this Error: TypeError: QPixmap(): argument 1 has unexpected type 'ImageView' This is the full Error Message: calibre 2.20 isfrozen: ...
-2
votes
1answer
20 views

uninstall nginx and back to apache [on hold]

After trying to view my website by entering my hostname in my web browser, I saw this message: Welcome to Nginx I am not familiar with nginx and I am unsure as to how it was installed on my ...
3
votes
3answers
291 views

Why does the specific sequence of options matter for tar command?

I was trying out tar command to make archive with .tar extension. please have a look at the following series of commands I tried: $ ls abc.jpg hello.jpg xjf.jpg $ tar -cfv test.tar *.jpg tar: ...
0
votes
0answers
14 views

xpdf configure WARNING - Couldn't find Motif / X

My environment is mint17 3.13.0-24-generic x86_64 I try to compile xpdf from source code: sudo apt-get install libfreetype6-dev libmotif-dev wget ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.04.tar.gz ...
1
vote
1answer
5 views

Recognizing GPT partition table created with different logical sector size

I have a 3TB drive which I have partitioned using GPT: $ sudo sgdisk -p /dev/sdg Disk /dev/sdg: 5860533168 sectors, 2.7 TiB Logical sector size: 512 bytes Disk identifier (GUID): ...
2
votes
3answers
80 views

Find the number FN with awk

I have one document, and this document has several columns, like this: ,Flag2,,Flag4,Flag5,,,,,Flag10,Flag11,Flag12,Flag13 If I use awk to know the total number of fields, knowing the separator ...
4
votes
5answers
241 views

How do I grep recursively through .gz files?

I am using a script to regularly download my gmail messages that compresses the raw .eml into .gz files. The script creates a folder for each day, and then compresses every message into its own file. ...
2
votes
2answers
22 views

Invoke subshell command with loaded rcfile

I have some Python code that does: (this is a simplified version) shell = os.environ['SHELL'] os.environ['PATH'] = ... # some new PATH value if call(shell, '-c', ...
1
vote
1answer
12 views

How can I plot disk io per process over time

I would like to analyze and visualize the disk through put of certain processes over time to see how much data is written to disk and to see at which times a process does not utilize the whole disk ...
1
vote
0answers
11 views

Replay pcap on local machine only

RHEL 6.5. I have a capture of UDP packets, generated this way: tcpdump -nnXs 0 -i eth1 udp port 26477 and dst 233.86.230.111 -w ITCH.pcap I've moved this file over to a dev VM, and want to replay ...
1
vote
1answer
26 views

How do daemons like apache or bind open ports below 1024?

I know that ports below 1024 are protected and can't be opened by a user without sufficient permission. However, I'm wondering how daemons such as bind or apache can do so, though they aren't running ...
6
votes
3answers
143 views

Sed alternative for search and replace on very long lines

I have files that were generated by a program that did not put newlines at the end of records. I want to put newlines between the records, and I can do so with a simple sed script: sed -e ...
1
vote
0answers
51 views

Source code of the patches for Shellshock

I have a project for my grad level OS class, and I have decided to choose the Shellshock vulnerability bugs as my topic. There is a lot of great information out there, but I was curious if it is ...

15 30 50 per page