0
votes
0answers
5 views

Authenticating a virtual machine against a git server

I have a CentOS 7 VM hosted on a Scientific Linux machine (Both branches are Red Hat). I'm using docker as the SW to emulate CentOS over SL. Communication between both is done through a bridge (a ...
0
votes
1answer
4 views

Untar and gzip from multiple sub directories

I have a directory which consists of multiple sub-directories.Each subdirectory has a tar.gz file which on untar gives two files namely R1.fastq and R2.fastq.I want to untar the tar file and ...
0
votes
0answers
5 views

How is the visibility of a file-system mount limited?

If a user mounts an encrypted file system, is it possible to limit the visibility of that file system such that other users are not able to view it or even see that the file system is mounted?
2
votes
0answers
3 views

BRMS Giving error when importing repo.xml on other node

BRMS Version 5.3 Jboss 6.0 RHEL 6.4 I have installed BRMS 5.3 On RHEL 6.4 & was able to import the default repository successfully for the first time, but I am unable to import UAT repository ...
0
votes
1answer
13 views

Opening a socket in Kali Linux using bash scripts

I know how to open a TCP or UDP socket in Ubuntu, with the following command : exec 3<>/dev/tcp/google.com/80 for example: we can open a TCP socket on port 80, but in Kali Linux there's no ...
0
votes
1answer
6 views

Is this too Frankenstein-isch? Using samba over sftp to remotely access Windows Server file-sharing

I would like to setup external access to a small office network without using VPN (the Windows file server is quite antiquated and there are some concerns about read/write remote access), and I ...
0
votes
1answer
18 views

Replace multiline string in files

I have a number of files I want to update by replacing one multi-line string with another multi-line string. Something along the lines of: * Some text, * something else * another thing And I want ...
0
votes
0answers
18 views

Is there a way to change the number of processors a program sees?

Is there any way I can trick a program into thinking the system has fewer processors? To explain: I am debugging a program that creates as many threads as it has processors, using ...
0
votes
2answers
18 views

Apache httpd cannot parse php on CentOS 7

I'm setting up a new CentOS 7 server, I installed apache httpd successfully and get the html welcome page then I installed php 5.4 then tried to test it using test page: <?php phpinfo(); ?> ...
1
vote
0answers
17 views

Using Rsync to SSH and Find files

Hello I am trying to use Rsync to SSH into a remote server and pull a certain type of file that has been modified within the last 24 hours. Here is what I am trying: rsync -avx --timeout=480 ...
1
vote
1answer
14 views

Can't enter GNU GRUB boot menu!

so I booted up an old Linux Mint machine today and I can't seem to remember the password. So I wanted to reset the password using the instructions on Mint's website but when I hold shift the GNU GRUB ...
0
votes
1answer
15 views

Disable viewing/listing rights to users

I'm new to linux administration and I'm not sure how to search for this problem. When I create a new user, s/he can browse the filesystem. E.g. ll /. How can I restrict the user to a few select ...
0
votes
0answers
14 views

errors while installing python-pip on ubuntu

When running sudo apt-get install python-pip I got the following error messages, what causes the problem and how to fix it? Thank you very much for any help. Err ...
0
votes
0answers
32 views

How to check in script if we are on Unix computer?

I am new to Unix and I don't know how to check on a .bashrc sript if I am currently on a Unix computer with GUI. Then, I should launch the browser. If I am on putty, and I am not supposed to launch ...
0
votes
0answers
3 views

Disabling strict mode does not take effect from the config file

I am trying to disable the MySQL/MariaDB strict mode in the variable sql_mode. But it doesn´t work. My my.cnf in section [mysqld] got this line: sql_mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" ...
0
votes
0answers
5 views

apc bio pod driver fro ubuntu

is there any working drivers for a apc bio pod for Ubuntu i have tried fingerprint gui but it hangs after adding the first finger print when it asks for it to be scanned again. i am unable to post to ...
0
votes
1answer
16 views

how to change git path?

So I just installed the latest git, with the official mac installer. I'm on Mavericks. Sadly, git --version is still git version 1.9.3 (Apple Git-50) and which git gives me: /usr/bin/git ...
0
votes
0answers
8 views

Linux Mint 17.1 incredibly slow on AMD A8-5600k

I have an HTPC and media server running Mint 17.1 which is incredibly slow. The hardware specs are: APU - AMD A8-5600k (4x 3.6GHz) MB - MSI FM2-A55M-P33 RAM - 4GBm, 1333Mhz HDD - Boot: WDC ...
0
votes
0answers
6 views

How do I start an application fullscreen without loading IceWM desktop environment?

Setup ARM computer FriendlyARM mini210s Debian Linux 3.0.8 (armv7l) + IceWM How can I start an application alone without the desktop environment? For the sake of prototyping I want to start ...
0
votes
0answers
3 views

Procmail - auto reply with attachment

I am trying to auto-reply using procmail. I want to send back an HTML form with attachments (images; jpg/png). Is there a simple way to accomplish this? This is my piece of code so far: :0 | ...
0
votes
0answers
13 views

How to compute power consumption [on hold]

I am working on a problem for which I need to know how much power will be consumed on a given CPU as the parameter sizes are increased. The following properties/attributes of the CPU are available: ...
0
votes
0answers
9 views

NetworkManager does not detect when cable is connected or disconnected

On my Fedora 21 64bit Gnome 3.14.3 install, I have noticed that the NeworkManager always connects to the wired connection, even if the cable is not connected: However, the driver (or something) ...
0
votes
0answers
6 views

Sendmail stopped sending mails, “did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA”

All mails suddenly stopped sending, here is the maillog: Jan 26 17:02:20 vm2745 sendmail[3544]: My unqualified host name (Centos) unknown; sleeping for retry Jan 26 17:03:20 vm2745 sendmail[3544]: ...
0
votes
0answers
8 views

Can I use kickstart to assign multiple ip addresses to a device

Can I use the kickstart network statement to assign multiple ip addresses to the same network device? E.g. I have a server that I install using kickstart. The server has one network card, but I want ...
0
votes
1answer
8 views

How can I generate two Grub2 entries for each kernel?

Due to bugs in my laptop's BIOS (or some such thing), I use the boot flag nox2apic when I know I need to attach an external monitor. However, when this flag is enabled, pressing some multimedia ...
0
votes
0answers
5 views

Input event for trackpad co-ordinates

I am making an app that requires the co-ordinates of the touch / swipe of the user. This is currently available only if you are running a VM ( Alt + F2/3/4/5...) using evtest. What do you think is ...
1
vote
0answers
11 views

why cisco VPNC work on the second time each time and not on the first time

I use the vpnc ( cisco VPN that installed on linux red-hat 6.X ) and the vpnc.conf file look like this more /etc/vpnc.conf ## generated by pcf2vpnc IPSec ID Comvwde IPSec gateway 217.118.6.7 ...
1
vote
1answer
24 views

Read a character from an x-y coordinate on the screen

Is there a way in bash to read a character from an x-y coordinate on the screen? This command would be something similar to cget 12 30 which would return the character at the 12th row and 30th ...
0
votes
4answers
38 views

rename multiple files with mv

I want to rename a couple of files in the same directory. When you start to google this there is plenty of help available. What i saw the most if you only want to change the extension is mv *.txt ...
0
votes
0answers
4 views

Looking for a new conf for HA Data Server and Virtual Machines with Glusterfs

I own three HP server for lots of users and email, web and a development machine. I want to make my virtual machines to be available all times, but have some issues. My configuration is as follows: ...
0
votes
1answer
10 views

redirect output from interface?

I am echoing an AT command to a modem interface (/dev/ttyUSB3) and the command runs successfully. For instance the below command works and has an output of OK: echo -e "ATZ\r" > /dev/ttyUSB3 I ...
0
votes
2answers
11 views

The best way to add Unix Shell variables to CURL GET request

Let’s say I use curl –X GET command with the following link: “$WEBSITE_URL/ACTION_NAME/ACTION1;id=$ID?Command=TEST&id1=$ID1&id2=$ID2&id3=$ID3” As you can see, there are some $variables ...
1
vote
0answers
16 views

Flash memory and set to read only , Is it virus?

Becuase some of limitation of MS.Windows, my friends and my family gime their flash memory to solve their problem. Such as format, partitioning in Linux with the cfidsk ,parted, sfidsk(dump and ...
0
votes
0answers
17 views

Pass a function arguments?

How would you make a function that gets arguments? function arg_example { arg "c" # This is imaginary but it would return 'true' if it found the argument -c. did_find_arg=$? # Get the ...
0
votes
0answers
4 views

Multiple DH/ECDH parameters in Apache 2.4.7 configuration file

I'm running Apache 2.4.7 on an Ubuntu 14.04 ("Trusty") server. The Ubuntu-specific package identifier is "2.4.7-1ubuntu4.1". If one does not explicitly specify DH/ECDH parameters (see below), Apache ...
0
votes
0answers
8 views

How can I teach fail2ban to detect and block attacks from a whole subnet?

I have correctly installed fail2ban in my machine, activating the rules for ssh, ssh-dos and recidive; it all works ok. Lately, I have seen an increasing patterns of repetitive attacks from ...
0
votes
0answers
24 views

How does one modify the title bar at top of Debian desktop?

Using Debian Wheezy: My desktop title bar at the top of the screen has become crowded with shortcuts, etc., and I can't figure out how to remove them/clean it up. Can someone enlighten me?
1
vote
1answer
11 views

Customizing XScreenSaver login

I've been following the instructions on Arch Wiki for theming the XScreenSaver's login window. I created a ~/.Xresources file, pasted this code taken (and modified) from the wiki: ! xscreensaver ...
1
vote
1answer
40 views

Looking for ancient kernel source

I'm looking for an specific old kernel source namely 2.6.26.5 to build an exact replicate of an cross toolchain for an embedded target. Unfortunately all I can find is 2.6.26 in the kernel.org ...
0
votes
0answers
25 views

freebsd system freeze

For the past week or so, some of my FreeBSD servers intermittently freeze, meaning that their normal network services stop responding. IPMI over the same network continues to work on these frozen ...
0
votes
1answer
21 views

I don't see .bashrc file in my /home and /etc/skel direcories

I am running linux mint 17.1 rebecca, but I have found it quite different with other distros I am used to, in /home and /etc/skel there's no .bashrc I don't know if i mess up with something or it is ...
1
vote
1answer
9 views

Identify in which screen instance a process is running

A process listening on port 8113 (Solr) is not responding. I've found its PID via netstat but the server has about two dozen Solr process running in various screen sessions. 3607.foobar-client2 ...
0
votes
0answers
8 views

RHEL Serial TTY

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Technical_Notes/deployment.html According to this, /etc/inittab has been deprecated. As suggested from this I created a ...
1
vote
0answers
19 views

Repeatedly ziping a file that is newly created, but identical, however the shasum of the zip keeps changing

This is a followup to I am repeatedly zipping the same folder of files, but the shasum keeps changing essentially.. I am trying to add a file containing the git sha of the current commit when I zip a ...
-2
votes
0answers
14 views

How to merge different partitions on RedHat

I am quite in a bad situation that my oracle instance is on a mount point (/disk1) which is about to get full. /disk1 is mounted to /dev/sdb1 (primary partition on /dev/sdb) to resize the partition I ...
0
votes
1answer
17 views

Tar Create and Split files into subdir

I have this command: tar -cf - input/* | split --bytes=1m Which splits my huge gz files into small ones. This works fine. However I want the output (the small files) to be created in the input/ ...
0
votes
1answer
9 views

Universal .bashrc alias showing results of sysytemctl start command

This is small .bashrc alias that allows me to see results of starting service alias systemctl start apache='systemctl start apache && echo SUCCESS || echo failure' How can i modify to work ...
5
votes
2answers
186 views

dd writes to CF with delay

I have an old 64MB CF card which I use in my laptop(kernel 2.6.38) with CardBus adapter. If I write a 64MB image to this CF card, then the write speed is more than 200MB/s: T42 ~ # fdisk -lu Disk ...
1
vote
0answers
12 views

How can I change the boot menu options on kali linux?

how can I change the boot options. I am referring about the first boot menu page where I can choose how start the system, for example in Live, Persistence, Persistence with encryption. I need to find ...
1
vote
0answers
12 views

Start command and stop command in terminal on keyboard (hotkey) shortcut press?

I have seen How to execute a script in shell when a shortcut key is pressed, but that is not what I want. If you have used recordmydesktop, you may have noticed the following in its manual: After ...

15 30 50 per page