0
votes
0answers
4 views

display lines with not more than 4 words in the second column

I have a symbol table of the form M07UP49A0870I422.wav <s> haraa keelaa <bn> </s> M07UP49A0870I423.wav <s> <horn> jau <babble> </s> ...
0
votes
0answers
4 views

How to change keyboard settings of the active user using udev and setxkbmap?

I have a usb keyboard that I plug in into my desktop at work. While using it tend to manually set the following setxkbmap option: setxkbmap -option compose:ralt setxkbmap -option ctrl:swap_rwin_rctl ...
-1
votes
1answer
11 views

Need a script for adding bulk IP aliases in CentOS

Need a script for adding bulk IP aliases in linux server (CentOS 6.7)
0
votes
1answer
15 views

What Command Line tools to connect from Unix to remote Windows over RDP?

I need to make some scripts for connecting from Unix server to several Windows stations for automating file transfers. GUI is not needed and I can't install any additional software into Windows boxes ...
0
votes
1answer
19 views

Print lines not containing a Tab

I have a text file (around 15000 lines) that is supposed to contain two fields separated by a Tab in each line. Is there a way to display the lines that do not contain a Tab separating the two ...
0
votes
1answer
9 views

CentOS 6, having hard time with yum, repos and installing packages

I'm having some hard time with yum and hoped to get some help. My end goal is to install the pymssql library for Python. It fails because it needs freetds install. yum install freetds fails with ...
-2
votes
0answers
14 views

Why apache use www-data and not the access id in my Connexion.php?

I have a project on Eclipse, where i have a connexion to mysql with a Connexion.php. In this class im try to connect with private function __construct () { $this->_ressource = ...
0
votes
0answers
8 views

File sort by time issue

I have a requirement to identify sequence gap in a set of files. Sequence starts at FILENAME_0001 and ends at FILENAME_9999. After this the sequence is restarted from 0001. To implement a proper ...
0
votes
0answers
3 views

Grub rescue not found 'grub_divmod64' and 'grub_realidt'

A 'ls (hd1,msdos1)/boot/grub/i386-pc/' in grub rescue shows all modules and i find there 'linux.mod' and 'normal.mod'. But when i make grub rescue> set prefix=(hd1,msdos1)/boot/grub/i386-pc grub ...
1
vote
1answer
20 views

Centos/RHEL 7: OpenSSL update not available

I have openssl 1.0.1e installed but its seems to be buggy based on this But when I list out the updates for the system it doesn't list out 1.0.1q as suggested on above link. Any idea how to install ...
0
votes
0answers
5 views

display no longer listends to console after starting X11, not even after shutting down X11

From the console, or another virtual terminal, I launch X11. This is in Free BSD. I cannot return the display to any other terminal afterwards. By using the ctl-alt-F1 key combination, for example. ...
0
votes
0answers
3 views

conky variables in downspeedgraph

How can I use a color variable in my .conkyrc Content : color_var = FF00FF ${color_var}Name ${downspeedgraph wlan0 32,175 ffffff ffffff} How can i replace ffffff by for example color_var A ...
0
votes
0answers
2 views

How can I enable touchpad gestures in Linux Mint Cinnamon?

I am running Linux Mint 17.2 Cinnamon on a Dell Latitude with a dual boot including Win7. Win7 gives me options to set up gestures for my touchpad. Is there any equivalent for Linux Mint Cinnamon?
2
votes
1answer
15 views

Found Duplicate PV in LVM disk scan

I have a VPS, and I attached another hard disk to it. It contains the same partitions I have on my current disk; it has / and /boot and swap. I need all data on the / partition. Here is the output of ...
0
votes
1answer
6 views

NFS mount at boot with autofs on Raspbian Jessie

I'm trying to configure my RPi with Raspbian Jessie to use autofs to mount at boot a NFS share from my QNAP NAS. The manual mount with mount -v -t nfs server://share /mnt/share works and also the ...
0
votes
0answers
15 views

Debian - How to change Terminal background colors

I am a Git Bash user who is now switching to Debian. Here was my Git Bash's look: Here is my look on Debian: My .bashrc file is completely EMPTY. I have nothing in there currently. I've been ...
0
votes
2answers
32 views

Linux command clarification

ls -l | grep -v '^d' | sort -g -r -k 5 | head -2: I used this command to write into a text file. I've researched a bit online and I think these commands mean this: grep: a search that searches for ...
0
votes
0answers
15 views

Decrease time taken to execute script remotely

Hi I am not very good with scripting and needed some help. I have 2 scripts on my prod AIX server, one to suspend db and another one to resume db When i run the scripts from the prod server the ...
0
votes
0answers
6 views

How to add a counter in a list comprehension expression?

Is it possible to do a list comprehension expression on the following? end_pieces = ['ATCGCTGCAATG', 'CCTACGGCATGG', 'AGTACTTTATTA', 'TAACAGTTCTTC'] genome_ht = {'ATCGCTGCAATG': [18], ...
0
votes
0answers
10 views

Delete Non numeric row from a csv

I have used sed to allow only numeric and csv format ,I have used sed '/[^0-9, -, .]/d' as regex. It has still "_","1-0","1-1" character as o/p which worries me. sed 's/'"$(printf '\015')"'//g' ...
1
vote
3answers
20 views

How to alias rm to always confirm

When I use the command rm -rf, I want to make sure a prompt always appears before deleting a file, so I tried adding this to ~/.bashrc alias 'rm -rf'='rm -rfi' But it doesn't work. How can I fix ...
0
votes
1answer
18 views

creation of a variable, and assignment of a value to the variable

From Bash manual, a parameter is set if it has been assigned a value. In bash, are the following two different concepts: a variable exists a variable has been assigned a value, i.e. is set? unset ...
0
votes
1answer
7 views

Extract field values values from log file

How to extract the specific field values from log file using unix command. For example my log file contains, ...
0
votes
0answers
7 views

Getting Alt to Work in the Terminal with Tmux and Vim

I'm trying to make Alt + h/j/k/l switch tmux panes and vim windows. Yet for some reason my terminal (xfce4-terminal) and and Alt do not play nicely with each other. I got Alt + h/j/k/l to switch ...
0
votes
1answer
7 views

How much space do I need for a Fedora 23 Gnome installation (in slash root)

How much space do I need in / (slash root) for a typical Fedora 23 Gnome installation? Not planning to install any large packages like Games, Texlive, JDK, ADK or so. Thanks.
1
vote
2answers
34 views

Does command substitution create a subshell?

Bash manual says: Command substitution, commands grouped with parentheses, and asynchronous commands are invoked in a subshell environment that is a duplicate of the shell environment, except ...
0
votes
0answers
16 views

All files created in directory should be owned by bob

I'm looking to have all files in a directory owned by bob. I'm aware I can chmod g+s to get the group set on new files but I don't think I can do anything like that for the user. This is what I've ...
0
votes
0answers
3 views

Command Samba Mount with Multiple Users

Samba share from server is mounted on my RHEL 7 system via root user. RHEL 7 system have a few non-root users(e.g user1,user2 and so on). Users (user1 and user2) can create, modify and delete the ...
1
vote
1answer
8 views

Red Hat 7 GDM + NIS Only Validates First 7 Characters of Password

I've come across an interesting issue this morning. We have noticed that GDM on RHEL 7 is allowing us to log-in with only the first 7 characters of password. We can enter anything or nothing from ...
0
votes
0answers
11 views

How to install Arch without it seeing my internal hard drive? [on hold]

Is this possible to do? I've tried installing Arch Linux several times, and with every time, I get the same kind of message, which is below. sh: can't access tty; job control turned off Sometimes ...
-2
votes
0answers
31 views

What terminal are Dennis Thompson and Dennis Ritchie using this picture?

This well known image, labelled by Wikipedia as Ken Thompson (sitting) and Dennis Ritchie working together at a PDP-11 Does anyone know what the name of the terminal Ken Thompson is sitting at? ...
-2
votes
0answers
6 views

Is Snort Ossec Bro Dragon supports automatic scan? [on hold]

I want to ask if malware detection systems such as Snort Ossec Bro Dragon supports automatic scan for malware
0
votes
1answer
23 views

Convert a column of epochs into a time column starting from 0

What I have Hi, imagine a lot of this files, where first column is epoch, and the other(s) column(s) are some data: 1000333,34,1 1001456,56,0 1005356,34,2 What I need I need to transform them ...
0
votes
0answers
21 views

I cannot open up my flash drive

I have a flash drive that has a storage space of 8GB, a mark of ASA MANHATTAN. When I plug it in my computer, I get the following message: This location could not be displayed. Sorry, could not ...
1
vote
1answer
29 views

How to add 100 users from a file [duplicate]

I have 100 names no passwords and i have to create accounts for them under directory /home/top100 how do I do this? Because using useradd 100 times does not sound fun, and even if i did, I have no ...
0
votes
1answer
9 views

Trouble using if string in column 3 of .csv exist, then statement

I have a set of 10 files. 5 are unique tumors tissues and the other 5 are matching normal tissues… So {tumor_A, normal_A, tumor_B, normal_B,… tumor_E, normal_E} These files each have a random ID, ...
8
votes
1answer
22 views

How do I find out what program 'owns' a hotkey?

I'm running XFCE 4.12 on top of Gentoo with a 4.2.0 kernel. My PlayPause button on my keyboard used to work as a global hotkey for VLC. Now VLC won't even recognize the key. It does see "Alt + Media ...
0
votes
0answers
9 views

How to fix the Ubuntu Linux 15.10 Files GUI manager , /usr/bin/xdg-open , flickers on and off

I recently installed Ubuntu Linux 15.10 on a Lenovo desktop.After a mysterious crash last night while testing point and click of an Mono-.NET 4.5 C# executable which DLLImport's an C++ shared object, ...
2
votes
0answers
8 views

Evolution hangs for 10-30 seconds after replying/writing new email

I'm running linux mint 17.3 and I recently switched to using Evolution(v3.10.4) with the EWS plugin to handle my work emails. Most everything was working fine, and it was a much easier setup than ...
0
votes
0answers
14 views

Reformatting a secondary hard drive while keeping some files

I'm almost certain that I'm in a deadlock here. Just recently, my Synology NAS died. So I decided to configure an Ubuntu server instead on an old computer I had laying around. Ubuntu is now installed ...
0
votes
1answer
15 views

Suppress console output when switching runlevels

Is there any way to silence the output that occurs on TTY1 when switching runlevels? I'm talking about the output like in the following image: I have a simple UI that may be running on TTY1 when ...
0
votes
0answers
20 views

`getaddrinfo`: what specifies its data source in the POSIX standard?

I wanted to check getaddrinfo is expected to use Unbound when it's installed. Unless I overlooked something in this specification, it does not refer to any data sources it is required to check: ex. no ...
1
vote
2answers
29 views

ICMP : Port unreachable error even if port is open

I am testing my Debian Server with some Nmap port Scanning. My Debian is a Virtual Machine running on a bridged connection. Classic port scanning using TCP SYN request works fine and detects port 80 ...
0
votes
1answer
29 views

Solaris: Spooling filesystem is full

I have a Solaris 5.8 machine that will no longer print. print job that come from the terminal say: "See if spooling file system is full" I had a look around /var/spool but it isn’t particularly ...
0
votes
0answers
5 views

How to make KDE menu (in CentOS) take new .desktop file into account?

My program's installer creates .desktop files into ~/Desktop and ~/.local/share/applications. In most Linuxes this is enough to create respective menu item and desktop icon. In CentOS 7 with KDE, the ...
3
votes
2answers
113 views

Is there a way I can grep recursively over all the files in the current directory to find a pattern and then print it in order of high to low?

So so far, the code looks like this: grep -rc 'Author' $1 It prints out all the files in the directory, which is taken as an argument. However, how would I sort the output (for example): - ...
0
votes
3answers
21 views

List out the original IP Address of the host

I have following content in the file. I would like to print the IP address which is Under Name. Server: 17.128.100.12 Address: 17.128.100.12#53 Name: Testserver1 Address: 17.146.118.156 ...
1
vote
0answers
15 views

hibernate works over a short time but not a long time

My laptop can hibernate and wake up fine after a short time, using either sudo pm-hibernate or the Hibernate option from the system menu (which I enabled after the pm-hibernate test worked). But if I ...
0
votes
1answer
11 views

Centralising Discs to Repository?

I have discs where is much variations. I would like to add the files to my central repository. However, I am getting warnings about ownership. I am thinking of running sudo chown -R masi:masi ...
1
vote
0answers
11 views

How to share Alsa devices between users?

I lost the ability to share Alsa sound between users even if only one is logged in. According to this guide ConsoleKit integration should be used instead direct ownership of the device. After I ...

15 30 50 per page