4
votes
3answers
268 views

Exiting a shell script with nested loops

I have a shell script with nested loops and just found out that "exit" doesn't really exit the script, but only the current loop. Is there another way to completely exit the script on a certain error ...
2
votes
1answer
26 views

View Japanese text in emacs without X11

Is it possible to view Japanese (or more generally, international) fonts in emacs without running X11? If yes, what is the process? Nearly all the references I have found on the internet related to ...
-1
votes
0answers
22 views

Is it possible to use cron with a bash sh script that creates scripts via echo, which the main script then executes?

Is it possible to use cron with a bash sh script that creates scripts via echo, which the main script then executes? Cron appears to take over control of the outputs to be either the given email ...
0
votes
1answer
19 views

looking for a way to download a list of packages with yum

We are trying to setup a local repo that contains all the base packages. So to get started we need to download around 3500+ packages and save it in a folder that will be used as a Repo storage. We ...
0
votes
0answers
15 views

Implications creating System Accounts “useradd -r” Linux Fedora/RHEL/CentOS

I want to know what are the implications of create an account using -r option? # useradd -r ... The help says: -r, --system Create a system account. System users will be created with no aging ...
0
votes
2answers
31 views

Create a Linux image

Good Afternoon Everyone! First off I am a Linux nooby, been doing windows administration for several years but recently our company has decided to start deploying RHEL servers. Anyways I have spent ...
0
votes
1answer
10 views

What should I write in commitinfo file for hooking my script if I want to commit an appropriate file?

Could you tell me can I add the line in commitinfo file if I want that the hook will be run if I commit an appropriate file? Example: I have *.txt file I added next line: *.txt ...
0
votes
1answer
25 views

RHEL internet connection behind company proxy?

Just set up a RHEL v6.4 VDE for development but I can't seem to connect to the internet no matter what I try. I'm sitting behind a company proxy that requires authentication. Here's what I've done so ...
0
votes
0answers
6 views

Rstudio : openxlsx read loop crashes when no delay added … why?

I have a loop where I load 10 huge excel 2007 files into a list of data.frame thanks to openxlsx library. This loop crashes at the 4th file when no delay is added. Adding a 500ms delay after each read ...
0
votes
1answer
17 views

Which config-file stores file associations in KDE/Plasma?

With the 15.04 release of Kubuntu, I switched from Gnome (Ubuntu) to KDE/Plasma. I did a clean install, while keeping my home directory. Now, libreoffice (mostly Calc) seems to be associated with ...
0
votes
0answers
29 views

threads limit on linux

My box is: x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux Server release 6.3 whan I run sample java app (does not matter how much java heap I provide!), it creates 2016 threads and dies with ...
-1
votes
0answers
11 views

kali linux airmon-ng issue

I am new to Kali Linux and I am currently running a VM using VirtualBox and I have selected network adaptor as bridge adaptor and connected it to my external USB WiFi adaptor. I have two problems ...
2
votes
2answers
332 views

Can't set up ssh login without typing password

I set up automatically ssh login without typing password to a server by: cd ~/.ssh ssh-keygen ssh-copy-id -i ~/.ssh/id_rsa.pub tim@server1 It works on the server. Later I did the same on a ...
0
votes
2answers
37 views

how to Check a php script is running if not run

i am running a php file using nohup php server.php & this listen for a particular port and do action according to the input. The problem is sometime the script stops and I can't use cron job ...
0
votes
1answer
42 views

Why does my process take too long to die?

Basically I'm using Linux 2.6.34 on PowerPC (Freescale e500mc). I have a process (a kind of Virtual Machine that was developed in-house) that uses about 2.25 G of mlocked VM. When I kill it, I notice ...
0
votes
0answers
25 views

Disabled root Access, how to use FTP

I removed the ability to login using 'root' to stop brute force attacks on my server, instead logging in as a regular user then 'su root' to the root if required. I need to use FileZilla to move, ...
0
votes
0answers
18 views

Unable to run perl script for ssh login to windows server (using Net::SSH::Perl) from crontab [on hold]

I have a Perl script which is doing remote login to the windows server via the Net::SSH::Perl module. If I run the script manually from my shell, it gives no error. Running from a crontab, however, ...
0
votes
0answers
15 views

How to make a background service to capture commands and their output?

Is there anyway to make a background service capture all the commands executed by a user and also save the output in a text file?
0
votes
0answers
19 views

XFCE strange behaviour on Java applications

I recently moved to XFCE 3.12 on my laptop and everything is working great except for a strange behaviour in Eclipse and other Java applications. When expanding a line selection with Shift+Up or Down ...
1
vote
1answer
26 views

howto use ~/.ssh/config with Windows/PuTTY

howto use ~/.ssh/config with Windows/PuTTY? Are PuTTY settings stored in registry? I wish to have my PuTTY settings in git. So it needs to be a human readable text file.
2
votes
1answer
29 views

Start sh in a specified directory from inittab

I am currently working on an embedded Linux system. For it to be similar to our other products I need to have it start a shell in a specified directory on boot, accessible using the serial port. For ...
0
votes
0answers
8 views

Nginx and Munin via CGI, no CSS, no graphs

I'm new to Munin and Nginx. I've installed and configured Munin and created a Nginx server block. I can see the index page generated by munin, listing the different nodes. But when I click on a host ...
1
vote
0answers
29 views

figuring out the e “manufacturer” and “product” attributes using udev for pendrive

I saw Writing raw images safely to USB sticks On Debian though, get nada from that command :- [$] udevadm info -a -p $(udevadm info -q path -n /dev/sdb)|grep -iE "manufacturer|product" [$] I ...
2
votes
1answer
36 views

list processes belonging to a network namespace

I am on Ubuntu 12.04, and the ip utility does not have ip netns identify <pid> option, I tried installing new iproute, but still, the option identify doesn't seem to be working!. If I were to ...
1
vote
3answers
132 views

Force all network traffic go through default gateway

I have a machine that I want to force all traffic to go through the default gateway. Even traffic on the local network. I have made it to work by removing the auto generated route for this interface, ...
0
votes
1answer
12 views

Where does yum store the temporary packages

When we do a yum install or yum update where does yum store the downloaded files in the system.
1
vote
2answers
33 views

how to use nohup while still sending stderr to the terminal

nohup automatically redirects stderr to stdout, but I want to send it to the terminal (it shows progress). How can I do that?
0
votes
1answer
54 views

What is the cause of the sed error?

In my grunt file I have the command like this "sed -i index 's/API_CONTEXT_URI/http:\\/\\/localhost:5557/g' www/index.js" This is not a file I have written; this has to come to me as a maintenance ...
0
votes
1answer
30 views

How to upgrade a package which has a newer version than the repository?

I've installed tmux from apt-get. I checked the version is 1.8. But when I directly go to tmux official site, I see the latest version is 2.0. How can I upgrade to 2.0? sudo apt-get install ...
-4
votes
0answers
17 views

create crontab job scheduling every day 10:44 AM in shell scripting [on hold]

crontab job scheduling every day 10:44 AM in shell scripting
0
votes
2answers
30 views

How to open compressed file in less mode [duplicate]

How do I open a compressed file in less mode. I am able to grep using zgrep and using zcatI can open, but the file is big I want to open in less mode.
2
votes
1answer
34 views

Source .bashrc in zsh without printing any output

In the past, I've used bash consistently, because it's everywhere. But recently I started to try zsh. I don't want to give up updating my .bashrc fil which is rsync'ed to all my servers . So, in my ...
1
vote
1answer
33 views

What is going on with Google Chrome and deleted files

Debugging some CouchDB problems, I was looking for (still open) deleted files: $ lsof -nP | grep '(deleted)' And to my surprise I found that Google Chrome has around 16900 such files: 15870 files ...
0
votes
0answers
8 views

OpenVPN integration with LinOTP

I try to run OpenVPN with two factor authentication using LinOTP. I can't authenticate my login and password (PIN+OTP) with FreeRadius which is configered with LinOTP using OpenVPN. I get possitive ...
2
votes
1answer
89 views

How to disable log feature of less command?

I use less command a lot to view files, but when viewing a file, sometimes accidently I typed s key within less then the log feature would be activated, and if I didn't notice that log in the bottom ...
0
votes
0answers
9 views

Centos Redhat Cluster LICI RUCCI

I have 3 systems [Normal Desktops College LAB] with 2 Network Interfaces each node1.test.com : Public IP : 10.10.10.2 Cluster Hearbeat: 192.168.1.2 node2.test.com : Public IP : 10.10.10.3 Cluster ...
0
votes
0answers
12 views

How to Insert command to run before Linux Mint 17.1 Rebecca, Cinnamon, sleeps

:) Hi I am using Linux Mint 17.1 Rebecca, with Cinnamon on a laptop. (I beleive Cinnamon is a fork of Gnome). In system settings I have set the laptop to sleep after 20 mins of inactivity. I wish ...
1
vote
0answers
22 views

LVM volume inactive after reboot on CentOS

It seems like there are many people with similar problems, yet I've found nothing that could help me. I ask here in hopes that someone might have a good idea. I've reinstalled a linux server from ...
1
vote
2answers
48 views

Mac drive in use, understanding lsof

I am trying to repair permission on my external HD as I can not empty my trash when its plugged in because I get a bunch of "such file is in use". I read online that this might be resolved by ...
1
vote
1answer
37 views

Installing and compiling log4cpp on Debian

How to install log4cpp framework package stored locally as tar.gz, and which file from that package to use for bulding. I read some articles on internet, but I'm getting stucked at this part: ...
-3
votes
0answers
12 views

How to setup this connection via bridge? [on hold]

I'm using centos 6.5. and i'm trying to connect these two pcs ,can you tell me how to do it?
0
votes
1answer
31 views

Equivalent of /etc/sysconfig/clock in redhat 7

I cannot find /etc/sysconfig/clock in redhat 7. Is there any equivalent file in redhat7??
0
votes
0answers
8 views

Humming Board + mPCIe adapter + video card TW6865

We interfaced Humming board with Video card (TW6865) via MiniPCI Express to x1 PCI Express Adapter (Adapter). Now the thing is video card is not getting detected by HB. There is no issue with video ...
2
votes
2answers
58 views

What's the appropriate way to do “mv ./* ./subdirdir/”? [duplicate]

Under the current directory I have a number of files, and one directory. I would like to move all files to the sub directory: mv ./* subdir/ cannot move ./subdir to a subdirectory of itself... The ...
1
vote
1answer
21 views

Find folders of a given age, then filter for a given size and delete the matching folders?

I've been having trouble with this for some time. Here is what I finally came up with that seems to work, though I have very limited abilities with piping. I'm guessing this is a poor way to achieve ...
-1
votes
1answer
43 views

To sed if with and without conditions correct

I know that I may have the C package #include <stdint.h> in the first 1-30 lines. I would like to add it to lines where no previously if the file contains the word LARGE_INTEGER by GNU tools. ...
3
votes
1answer
27 views

Is there a FileType name for files without suffix in vim?

With my current knowledge, I can use command like autocmd FileType markdown colorscheme zen to set colorscheme for particular type of file. Now I have a need to use a colorscheme for all those files ...
0
votes
1answer
20 views

Awk split big file conditionally in multi output file

I have to split a 90 GB file in multiple file conditionally (the file is a multiple table file to split by single table). I have create a solution in ksh and awk that cycle on the table rules and ...
0
votes
0answers
6 views

bluez-5.30 and PhidgetsSBC3

I am trying to customize a GATT service for Phidgets Single Board Computer, similar to what this guy did: http://gaiger-programming.blogspot.com/2015/01/bluetooth-low-energy-customizing-gatt.html To ...
0
votes
0answers
15 views

GRUB Won't Show At All- Windows 8.1 & Linux Mint

I have an HP laptop. May be irrelevant, but it's an ENVY m4. I started out with Windows 8, then later upgraded to 8.1. Had an interest in Linux. Used a tutorial to dual boot the two OS's, since I ...

15 30 50 per page