0
votes
1answer
19 views

KSH on old unix systemV: search history

I have set a good ksh environement on old unix PATH=$PATH:/usr/lib/acct:/usr/sbin:/sbin:/usr/ucb export PATH EDITOR=vi FCEDIT=vi export EDITOR export FCEDIT HOSTNAME=`uname -n` HISTSIZE=500 ...
1
vote
3answers
48 views

Last exit status from within script without source

Supposing someone invokes a non-existent command, the only way I know to retrieve its error status from a script I execute right after is by using source I.e., let's say this script's name is dummy ...
0
votes
0answers
14 views

How to grant user teminal access in VNC

I have server CentOS 5.2 that has GUI, ORACLE 10g R2 installed on it, I want to provide any DBA who will use the system access to the server via VNC, but I don't want to share the GUI, only terminal ...
0
votes
0answers
40 views

Shell intervals using awk

I have a file a 10:10 10:30 b 12:15 13:15 c 16:54 17:54 and I need to enter interval for example 10:15 so my output should be a 10:10 10:30 How I need to do that using awk?
1
vote
2answers
18 views

VGEXTEND: How to avoid wiping a swap signature in /dev/sda3?

The problem: [root@195623 ~]# vgs VG #PV #LV #SN Attr VSize VFree fedora_195623 1 3 0 wz--n- 9,50g 0 [root@195623 ~]# vgextend fedora_195623 /dev/sda3 WARNING: swap ...
0
votes
0answers
9 views

how to convert MOD video file without loosing quality to modern popular format for TV

I have MOD video file. My LG TV doesn't support MOD. How can I convert MOD video file without loosing quality to modern video format to watch it on different modern TVs?
1
vote
1answer
15 views

Install Onboard on-screen keyboard on Fedora 21

I am looking for guide to install Onboard keyboard on Fedora. https://launchpad.net/onboard Looks like there is not package for this distributive and I should compile it from source. How do I do it ...
1
vote
0answers
20 views

Display on ElemtaryOS with an X1 ThinkPad

My Setup is a Thinkpad X1 2nd Generation (Europe) 20A.. Product ID. Resolution 2560x1440. I have installed ElementaryOS 0.3 (Freya). My problem is now, when I connect a display via the Mini ...
1
vote
0answers
16 views

Find the creator of a task

I would like to find the creator task of an arbitrary task in the Linux kernel. However, I am not sure, if there is a way to do this in general. Normally, you can find the creator of a task via the ...
0
votes
1answer
58 views

need help merging two Unix files

I have 2 pipe delimited files say file1 and file2. Where file1 has say 33 columns and file2 may have 34/35/36 columns. So let's not consider how mant columns we have. What I want to do is compare the ...
1
vote
1answer
22 views

my Vimrc disabled the copy/paste action using mouse right click

Am using an open source .vimrc file from https://github.com/amix/vimrc/blob/master/vimrcs/basic.vim, but it is screwing up my default mouse right click copy paste actions. Whenever I do a right click, ...
2
votes
1answer
32 views

How to mount a filesystem by 2 operating systems simultaneously?

I was wondering, is it possible to have my Raspberry Pi mount the SD that is also mounted by an digital camera? I have a scenario where I take pictures relatively fast (Raspberry Pi triggers the ...
0
votes
1answer
23 views

Run script from GUI with terminal output

I would like to run a script from the GUI. For example a simple echo "hello" from the right click context menu. In my case I would set up an action in thunar like this: Then it appears in the ...
1
vote
1answer
43 views

Upgrading elementary OS to Freya

I have elementary OS Luna and I want to upgrade it to Freya. As I did past times in Ubuntu, I've waited to the package manager to notify me the new version is out and to upgrade the OS but Elementary ...
0
votes
0answers
10 views

Transmission in idle or slow speed

I am running Transmission on Raspbian via the command line. transmission-daemon is running fine as well as downloading. However after the download is finished and seeding should start, the Raspberry ...
0
votes
0answers
17 views

Separate NTFS harddrive on Linux system

I am new to linux and am going to be installing Linux Mint for the first time (after first having used it for a few weeks via a bootable usb). I will now be overwriting my windows installation and ...
0
votes
3answers
25 views

Download an article with cURL given a dynamic download link

I'm trying to download this published journal article using cURL. It's the main page of an open access, so there should be not problems for anyone to see/download the article. I then extract the ...
0
votes
1answer
39 views

make a table output

if it possible to do a snmpwalk in a perl script and put the output in a table to make a sort of association like for each hostname i have in the same line if index and desc i have the script in bash ...
0
votes
1answer
45 views

Can't use apt because python encoding issue

I'm getting a python unicode error every time I try to install or update anything with apt or aptitude, preventing me to update my system. The error I'm getting is the following: File ...
4
votes
3answers
87 views

Redirect the tail output to a file then stop when match found

there is this log file that data coming in is continuous. what i wanted to happen is to tail -f this log file then redirect it to a file with the ff conditions example of the log files content ...
0
votes
1answer
12 views

dd wrt firmwire file prompt password while extracting

I am a newbie in using dd wrt firmware development. Last day i download a dd wrt firmware dd-wrt.v24-21676_NEWD-2_K2.6_mini-e900.bin for Linksys E 900 router. I need to extract this image for ...
4
votes
1answer
31 views

Print out unicode values of stdin?

I use od to print me the octal or hex of a file/stdin/string. This lets me see the ASCII, or UTF-8 encoded, values of my stdin. But we don't live in ASCIIland anymore. Is there any command that will ...
0
votes
0answers
11 views

Unrar 5.0 problem on boot - Pyload

I have problem with Unrar 5.0 when I load pyload. When pyload is loaded on boot then Unrar is not loaded (line 168): 157 24.04.2015 08:50:40 INFO Starting pyLoad 0.4.9 158 24.04.2015 08:50:40 INFO ...
0
votes
0answers
22 views

Applications not starting with sudo

I'm using Linux Mint 17 (Qiana) in my Oracle Virtual Box. Whenever I try to open an application with sudo, it is not working. For eg. if I try to open sublime text editor using the command sudo subl ...
1
vote
2answers
48 views

What exactly happens in Linux internally when an ethernet cable is connected?

I would like to understand what exactly happens when a cable is being connected to the Ethernet port (assuming dynamic IP addressing): What services are being run and how are they triggered? What ...
0
votes
2answers
12 views

A file containing exports

I have a file containing the following: export PYTHONPATH=/home/myuser/squish-5.0-xyz/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/myuser/squish-5.0-xyz/lib I don't what to place it in my ...
4
votes
4answers
283 views

How can I recognize that a certain Linux distribution is based on Debian, looking at file structure? [duplicate]

I have an unknown (let's assume uname -a returns nothing) Linux distribution I have root access to. How can I verify, looking at file structure, that it is based on Debian?
0
votes
0answers
17 views

“iptables -L” isn't showing a rule I just added

I have issue with iptables it's not listing any newly added IPs. I tried both: iptables -A INPUT -s 188.143.232.15 -j DROP and iptables -I INPUT -s 188.143.232.15 -j DROP and service iptables ...
1
vote
1answer
27 views

Why port forwarding does not work in QEMU? [on hold]

How to redirect port 5555 of Host OS to port 80 of Guest OS? Host OS: Debian Jessie 64-bit Guest OS: Windows XP SP3 32-bit I'm using the following commands: qemu-system-i386 -enable-kvm \ -name ...
1
vote
2answers
26 views

Using sed to replace javascript code in multiple files

I need to replace an old google analytics code with the new universal tracking code in lots of static html files. The old code looks like this: _uacct = "UA-XXXXXX-X"; urchinTracker(); The new code ...
0
votes
0answers
9 views

How to properly structure a zgrep command to return the proper count of expression matches?

I am trying to search through several bzipped CSV files and return a count of emails that contain a .br domain extension. It seems straight forward enough but I have not been able to structure a ...
-1
votes
0answers
10 views

404 ERROR while trying to access my java application through reverse proxy NGINX [on hold]

The application runs fine in our intranet zone. But when externally accessed by users through reverse proxy NGINX sometimes they are getting 404 error. The reverse proxy is kept in the DMZ zone. This ...
0
votes
1answer
17 views

How to check whether my AIX is PPC OR PPC64?

My AIX machine is currently running on 6.1 OS. I would like to know whether it is on PPC OR PPC64, Is there any command other than arch which gives the information about PPC ?
0
votes
1answer
33 views

Why does GDM start in TTY2 and TTY7

I have Ubuntu 15.04 and GNOME 3.16 installed. This PPAs are enabled: deb http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu vivid main deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu ...
0
votes
0answers
17 views

Package build system for Debian (like Fedora Koji)

I would like to deploy private deb package build machine with web interface and Git integration (probably some kind of Koji). Does it exist? If not so, I wonder, how these huge amounts of packages ...
-3
votes
0answers
23 views

Linux os issue when installed [on hold]

I've installed RHEL OS in server. But when i was trying to login immediately after installing the OS ,I wasn't able to do anything. But I can see the OS in the server.I can see only the login page. I ...
0
votes
1answer
52 views

Run script on multiple hosts [duplicate]

I have below script which creates user list and also filters ignore.txt file to ignore matching usernames. I would like to run this script on multiple hosts like hostA, hostB, hostC. Like if I run on ...
2
votes
1answer
26 views

Using wget, how to download without folders and overwrite original

How do I use wget to download files without creating directories and overwrite the original every time. I've tried using the -r -P and nc options in combination but this resulted in several ...
-3
votes
0answers
16 views

Lun os is getting crashed [on hold]

In my server lun os rhel6.5 is getting crashed . San box i'm using is p4000. Please tell me what might be the reason for os crash . Only for linux i'm seeing this issue.
0
votes
1answer
21 views

assistance with scripting list of users

I'm new to scripting, so far I've created this: #!/bin/sh ( echo List of users in PRD echo $(date) cat /etc/passwd | awk -F: '{print $1,$3,$5}' | sort | \ while read username uid gecos do echo ...
1
vote
1answer
20 views

Command line tool to fingerprint and tag MP3

I have a large collection of MP3 files, accumulated over the years. The collection is intermittently tagged, and many filenames are totally nondescript as well (e.g. file01.mp3, file02.mp3, etc). The ...
1
vote
0answers
13 views

Correctly closing multiple hop SSH tunnel

I want to tunnel VNC traffic to host2, which is only accessible from host1, whereas host1 is publicly accessible. I setup a multi-hop SSH tunnel as described in this question, using: ssh -L ...
-1
votes
0answers
29 views

Shell script for electrum - how to add the seed? [on hold]

I use a diskless web server with a live cd and looking for a possibility to restore my electrum wallets automatically by a seed. I would like to implement a script that performs this task for me. so ...
1
vote
1answer
26 views

Use the -i option on ssh/scp

I would like to setup the ability to log into my redhat server by specifying the -i option on ssh or scp command line. I have followed the steps according to google but it doesn't appear to work. ...
0
votes
1answer
30 views

splitting an image into multiple pieces

I have an image as below. It is 2579*2388 pixels. Lets assume that it's bottom left corner is at 0,0. From that image I want to create multiple images as follows and save them in the working folder. ...
1
vote
0answers
14 views

delete .gitignored files with rsync

I often need to use rsync to synchronize a local with a possible remote directory, while ignoring exactly all the files git would ignore because of its .gitignore configuration. To do so, I am ...
0
votes
1answer
22 views

Feeding audio from microphone live into python

Well, so I was reading about this raspberry pi tutorial that makes you play audio files from raspberry pi and stream them into a FM signal and something got me curious. You can stream .wav files, ...
2
votes
2answers
34 views

make find fail when nothing was found

When find is invoked to find nothing, it still exits with code 0. Is there a way to make it return an exit code indicating failure when no file was found?
0
votes
1answer
22 views

build-essential tries to install unrelated package nautilus-dropbox

Whenever I try to install them through the Software Center it will remain at 0% for hours. I instead attempted to install the application I needed by compiling it from source. I needed the ...
1
vote
0answers
17 views

Preinstalled Arch Linux [on hold]

I'm about to buy a new desktop because mine's just getting a bit too old and isn't really suiting my needs anymore. I could just buy a computer with Windows or something installed, but since I'm ...

15 30 50 per page