0
votes
0answers
2 views

open tab in gnome-terminal

I ran gnome-terminal --working-directory=$DIR but it opens in a new window, not tab. No manual entry for gnome-terminal on my OS. Things I've tried: --tab -T --add-tab Running RHEL5 with zsh
1
vote
0answers
6 views

How do I remedy SELinux not allowing legit programs in use access to my system?

I have a system where some programs are getting access denied in SELinux when performing their duties. These programs are Clamav, fail2ban and Logwatch. I think I've managed to allow all the access ...
0
votes
0answers
2 views

Firefox/Icecat: SQLite Version Error: The application has been updatet, but your version of SQLite is too old and the application cannot run

System is Fedora 20. I used Firefox, then closed it, wanted to open it again and the above messages occured(mind that, between the last updates and the error, I restartet my Computer at least three ...
1
vote
0answers
13 views

Why does FreeBSD require terminal programs to be started as root?

On FreeBSD all graphical terminal programs (e.g. xterm, rxvt) seem to be installed setuid root, or with setuid root wrappers. On Linux, this is not the case on any distribution I have ever used. Why ...
0
votes
0answers
5 views

Bluetooth troubles with AR3012 on Gentoo

I'm using Linux 3.14.14-gentoo with BT_ATH3K enabled. I've downloaded the latest linux-firmware from portage (20131230), and bluez-5.21-r1. My Bluetooth device is an AR3012 according to lsusb: Bus ...
0
votes
0answers
8 views

Should I use the discard flag when configuring the filesystem to be installed over the partitions on my SSHD?

I've recently bought a laptop with an SSHD. My guess is that most SSHDs are self-optimised, so the disk itself will handle wear-levelling issues, and I won't need to add the "discard" flag when ...
4
votes
1answer
51 views

Reindexing a large CSV file

I went through the answers in this helpful thread, but my problem seems to be different enough that I can't think of good answer (at least with sed). I have a large CSV file (200+ GB) with rows that ...
2
votes
1answer
10 views

xprop motif_wm_hints hides firefox

I want to hide/show the title bar of a window with a key shortcut. So I got this script from a website (of which I don't have the URL anymore): #! /bin/sh -x winid=$(xprop -root | awk ...
0
votes
1answer
39 views

Accidentally rm -r the wrong etc folder… Help? [duplicate]

Well as you can see from the title I managed to accidentally rm -r the wrong etc file in Ubuntu 14.0.4 Desktop. I also decided I would set up encryption on my home folder (Another mistake). Is there ...
0
votes
1answer
23 views

IP access okay but ping dosen't work

I have a laptop connected to a Wi-Fi, and let's say I am testing the connection to a website ("randomwebsite.com", IP:123.123.123.123) Through a terminal I have tested ping: ...
0
votes
1answer
8 views

Empty kernel processes on CentOS vps : 2 different servers

I'm not sure I'm asking correctly, or perhaps I'm just looking at the wrong things. I am migrating from one CentOS Vps (on an OpenVZ box) to another CentOS Vps (on a VMWare box). VPS # 1 = CentOS ...
1
vote
2answers
14 views

How to remove nodes from a HUGE (>2gb) XML file?

I'm working with several huge (>2gb) XML files and their size is causing problems. (My application uses XMLReader in a PHP script to parse smaller ~500mb files, and that works fine, but XMLReader ...
0
votes
0answers
9 views

Is it possible to install gtkdialog on solaris syste

Is it possible to install GTKDIALOG on Solaris system?? If somebody has it, let me know
0
votes
0answers
44 views

what is hexa dump and how to handle in unix?

I am trying to extract some portion of text from the file by using awk command, The file is separated by comma. awk -F, '{print $1 FS $3 FS $6}' sample.csv But always I am getting wrong output , ...
2
votes
2answers
72 views

Add leading zeros until all lines before the comma consist of nine characters and subsequently insert a character every three digits using sed

The aim is to add leading zeros until all lines before the comma consist of nine characters and subsequently insert a character every three digits using sed. Input 12345,1s4c3v6s3nh6 ...
0
votes
0answers
26 views

Text replace literally *all* instances of a string through stdin, stdout

Linux, or specifically Ubuntu 14.04 LTS Server if necessary (and CENTOS 6.5/7 minimal would be nice). If I enter "FOO" at the command line, (regardless of whether as a word or as a substring), I'd ...
0
votes
1answer
23 views

Uuencode displaying attachment content in email body

I am using uuencode with mailx to attach a zip file. In following code, the if block works perfectly and I get Deletions.zip as an attachment in the email. But, whenever the else block is executed I ...
2
votes
3answers
49 views

Use AWK to pad date and time formats

I would like to use AWK to pad the date and time fields in my report. Here is my current .csv that is actually tab delimited. AA 9/7/2014 2:30:38 PM AA0000011111 08 Y A Jane, Doe AA ...
1
vote
1answer
11 views

What are these %(…)s strings in fail2ban's jail.conf file, and how do they work?

In setting up fail2ban there are what appear to be variables at the top of the jail.conf that look like this: mytime=300 . . . [ssh] bantime=%(mytime)s Or in this more complicated form like this: ...
0
votes
0answers
9 views

How to specify Linux home directory and shell on a Samba Active Directory server?

This question relates to SAMBA version 4 when used as an Active Directory Domain Controller. I have everything set up to allow domain users to log in to Linux. However, I have been searching for ages ...
0
votes
0answers
26 views

How to get diff for HTML reports?

echo "New defects" echo "===============================" n=0 def_num=0 while read line; do n=$((++n)) if echo $line | grep '^[[:space:]]*>' &>/dev/null; then if [ $(($n % ...
1
vote
3answers
20 views

Unzipping a .gz file without removing the gzipped file

I have file.gz, when I try to unzip this file by using gunzip file.gz, it unzipped the file but only contains extracted and removes the file.gz file. How can I unzip by keeping both unzipped file and ...
1
vote
0answers
12 views

How to locally validate DNSSEC?

I want to simulate the process of chain of trust validation locally , I do the following :- 1) signed my zone. 2) unbound installed , but i can not configure it for DNSSEC validation could you help ...
1
vote
0answers
17 views

tput command + how to locate dialog window on the top of the screen

Is it possible to use the tput command in order to place the dialog window on the top of the screen ? For example The following dialog command display the log is running by tail command dialog ...
1
vote
1answer
14 views

Numeric sort by the column values

For example I have some test file and want to sort it by the column values. After awk -F'[:,]' '{print $16}' test.json I get next output for the column 16: 123 457 68 11 939 11 345 9 199 ...
1
vote
0answers
9 views

Is there a Linux capabilities(7) to allow a process to execute pam_authenticate?

I am writing a process that needs to periodically authenticate users (i.e. call pam_authenticate()). For security purposes I would prefer not to run this process with root privilege. I can use ...
1
vote
0answers
22 views

Mount cifs using a credentials file

I am trying to mount a folder from my embedded Linux system to a windows 7 computer. I keep getting Permission Denied when I try using a credentials file. When I do it from command line as root it ...
1
vote
0answers
7 views

How to delete a virsh pool without volumegroup?

I created a Volume Group Pool via virsh. virsh pool-define-as vg1 logical --source-name vg --target /dev/vg Bad thing is, that /dev/vg does not existent, I made a typo. I tried to delete the pool ...
0
votes
2answers
14 views

How can i recreate the YAST GUI in text file

I am new to Linux, have an OpenSUSE vm and want to profile the applications installed. I know i can do a RPM cmd and ls {PATH//: /} seems to return a long list although it is full of non-application ...
1
vote
2answers
32 views

Output piped content to file and show number of lines in the file on stdout

I would like to use tee to pipe content from stdout and stderr respectively into files (in fact append it with > >(tee -a $filename)). However, instead of seeing the contents appended to the ...
1
vote
1answer
11 views

Linux kernel patch and development source tree

We are using linux3.12 and its led driver has a bug which got fixed in later version of Linux. We see that driver change in Linux 3.15 see Linux Cross Reference Now my question is how can I find a ...
3
votes
0answers
9 views

Ignore brief mouse click/releases

The switch contacts in my mouse are going, and rather than open it up yet again and clean them or try to hunt down a replacement switch (or buy a new mouse) I would like to solve this problem via ...
1
vote
1answer
24 views

Linux: Locating text file from a string input

I have started to use Linux and I'm practicing using/making codes to locate and do things. I need help with code that locates any file from a string of input. I don't know where to start?
8
votes
2answers
136 views

Having a problem with a shell script counting characters

I'm trying to learn the basics and I have run into an issue with my script counting the characters of a user's input. Here is my script, can someone point out where I'm going wrong please? ...
2
votes
2answers
29 views

Copy files by date/time order contained within filename?

I have a bunch of files with a pattern like this: {UID}-YYMMDD-HHMMSSMM-NEW.xml Or a real example: 56959-140918-12465122-NEW.XML I want to copy these files to another directory in date and time ...
0
votes
0answers
29 views

cannot mount W95 FAT32 (LBA) partition type in ArchLinux

I am trying to mount W95 FAT32 (LBA) partition type into /mnt/data on my Raspbery Pi B+. Therefore, I've created this parttion and the current partition table is as follows: I've checked ...
2
votes
2answers
39 views

bash how to remove options from parameters after processing

I remember having seen somewhere a bash script using case and shift to walk through the list of positional parameters, parse flags and options with arguments when it encounters them, and removes them ...
1
vote
0answers
18 views

Testing DHCP range; multiple addresses per interface

I set up a DHCP server; I have a range defined, for ~1k hosts. Is there a way to test all the addresses? This is the first time I have a task like this and I would like to know what will happen when ...
0
votes
1answer
24 views

Cannot change dir while connected to Archlinux vsftp server

I have Raspberry Pi B+ with Archlinux installed. I've installed and configured its vsftpd ftp server and I connect to it from WinSCP (running on Windows 7 PC). I would like to upload some file, but I ...
2
votes
2answers
29 views

Connecting Linux Mint to WiFi network

I just installed Linux Mint 17 (MATE) on an old laptop and everything works amazing, however I can't seem to get it to connect to my WiFi network. All my other computers can get access, plus, before ...
3
votes
1answer
119 views

Putting Files in Ascending order (not on time stamp basis) in Unix

How do I list files in Ascending manner, not on time stamp basis. EX:- Original listing A_2001 A_2002 A_2003 A_2004 B_2001 B_2002 B_2003 B_2004 Desired output:- A_2001 B_2001 A_2002 B_2002 ...
4
votes
5answers
121 views

Clone directory tree structure and copy files to the corresponding directories modified after a specific date

I have a folder with more than 30 sub directories and I want to get the list of the files which was modified after a specified date(say sep 8 which is the real case) and to be copied with the same ...
3
votes
3answers
28 views

How can I get the first match from wildcard expansion?

Shells like Bash and Zsh expand wildcard into arguments, as many arguments as match the pattern: $ echo *.txt 1.txt 2.txt 3.txt But what if I only want the first match to be returned, not all the ...
2
votes
2answers
14 views

Replace line names with set of new names without disturbing the rest of the file

I have a large protein sequence file where each sequence name is identified using > and the corresponding sequence in the following lines. Example (ignore quotation marks): >YAL003W EFB1 ...
0
votes
0answers
9 views

Debian, Dibbler, IPv6 and Bridging Woes

I'm currently trying to setup my Dedibox LT as a virtualisation (KVM) server. I've elected to use Debian instead of Proxmox or ESXi for various reasons. Currently I'm having problems with getting ...
0
votes
0answers
10 views

bloated font size rendered in webkit based browsers

Recently after a complete ports update in FreeBSD-10-p7 X86_64, my BSD system is also infected with font problem under webkit browsers such as vimb and dwb or even xombrero. But the difference is ...
0
votes
0answers
18 views

bash + timer in dialog window

is it possible to insert the following code ( timer ) in the dialog progress bar ? date1=`date +%s`; while true; do echo -ne "$(date -u --date @$((`date +%s` - $date1)) +%H:%M:%S)\r"; done ...
0
votes
0answers
20 views

How to modify ENV in Solaris 10 [duplicate]

I wanted to edit the contents of environment when entering this "ENV" in terminal. I googled this but so far none of the solution offered works in my end. The closes solution that i got was to edit ...
1
vote
3answers
75 views

How can I select columns based on a control file with invalid column numbers?

I have to generate the file dynamically from the source file based on the below control file. control_file.txt 1,3,5,-1,8,-1,4 The control file contains the position of columns which I require ...
0
votes
1answer
16 views

Trouble in making pen drive bootable for solaris 11.2

I am trying to dual boot my system with Windows 8.1 and solaris 11.2.I am using flash drive for making bootable solaris 11.2..But i am not able to create bootable flash drive. I tried both .usb and ...

15 30 50 per page