0
votes
1answer
19 views

Unable to login with SSH-RSA key

This post is following this question : Authentication refused: bad ownership or modes for file /var/git/.ssh/authorized_keys . The issue as exposed there is solved (about files modes of the ...
0
votes
0answers
16 views

PSCP last 5min files from Unix to Windows [on hold]

I can copy files from Unix to my Windows machine using PSCP.exe: C:\PuTTY_Folder\PSCP.EXE -batch -p -pw password username@host:/dir1/dir2/*333444* C:\Folder\Folder2 I am copying files which have ...
0
votes
0answers
5 views

Capturing screen of “perf top” or other interactive programs

I'm trying to write a script to capture output of perf top Similar to top, perf top detects the screen size and fill information to the screen. But sadly unlike top which has a batch mode, perf does ...
0
votes
0answers
4 views

How to transform a LFS system it to an (iso) installable system or live cd? [on hold]

I want to make my own lieux distro from scratch I want to build the kernel then crosscompile the kernel.. But my big problem is how I’ll make it installable after building it? (like Ubuntu, arch, deb ...
2
votes
3answers
86 views

Authentication refused: bad ownership or modes for file /var/git/.ssh/authorized_keys

EDIT The issue as exposed here is solved (about files modes of the .ssh folder. But an other issue persists so I create a new question : > Unable to login with SSH-RSA key I can no longer ...
2
votes
1answer
18 views

Can't get GUI login screen on Debian Jessie [after upgrade from Wheezy]

As the title explains. Upon boot GDM3 is correctly started but hangs at the splash screen and no GUI login box appears. The only way to log into the system and graphical interface is following these ...
1
vote
2answers
37 views

Substrings in shell script

Am trying to get a substring from a string but am getting the error: ${curr_rec:3:4}: bad substitution #!/bin/ksh get_file_totals() { if [ -e "$file_name" ] then IFS='' ...
0
votes
2answers
37 views

What allows a command to be typed while the previous command is still running in foreground?

Sometimes I have seen when one program (say A) is running in the foreground and printing its output to stdout, I can type another command (say B), and when I press Enter it is run, even though I had ...
0
votes
0answers
20 views

tool/ways for converting .db file from big endian to little endian in linux machine

We have an "example.db" database file from a Solaris machine which has big endians. This database is proprietary not an Oracle/Sybase/MYSQL so no possibility from that end. How this file can be ...
0
votes
2answers
14 views

sshfs over mosh tunnel

I am using sshfs over ssh tunnel. The reason for this is because I do not have direct access to machine from which I want to mount file system. This command establishes me tunnel: ssh -o ...
0
votes
0answers
6 views

Remove or decrease JAVA Security openjdk AWS centos instance

How to decrease or remove java security level in CentOS openjdk? I tried removing the java security level but I didn't find any option, my OS is in an ec2 aws machine.
0
votes
0answers
9 views

busybox tab completion in vi mode

When I use busybox and switch editing mode to vi via set -o vi then tab completion stops working. When I switch back set -o emacs then tab completion starts working again. # set -o vi # ls -l ...
0
votes
0answers
13 views

systemd kill my processes before ExecStop completed

I'm trying to update my application to use it with systemd. When I have used Upstart, I've just create a /etc/init.d/myService script: #!/bin/bash #chkconfig: 2345 90 10 #description: myDescription ...
0
votes
0answers
11 views

Disable PAM login but keeping landscape-sysinfo y motd

Running Ubuntu Server, I have no need for PAM login, and thus disabled this service in the sshd_config file. However, oddly, there is some login info that is only displayed if you enable PAM logins ...
2
votes
3answers
237 views

How to create root user account in Debian?

I installed Debian OS today and while installation I skipped the option to create root user and chose to use sudo. Now I would like to create root user account. Is there any way to create the root ...
0
votes
1answer
13 views

Add parameter to admin file for pkgrm

I'm trying to do a pkgadd on Solaris with non-interactive. Somehow pkgadd -d /home/mypackage -n doesn't work. While reading the man page, I found out that i can disable interaction by using admin ...
1
vote
2answers
13 views

How to make ssh connection to LXC container by its name?

Is it possible to make ssh connection to lxc container by its name? I have been using IP addresses but then I though how easy it would be to use ssh test01 (here test01 being container name) instead ...
0
votes
3answers
37 views

Throw away standard output and error

I have redircted my ouput using /dev/null in bash script but it is still throwing an error. Code is following ps -p $proc | fgrep $proc> /dev/null if [ $? -ne '0' ] ; then ...... fi below is ...
1
vote
2answers
37 views

In ShellScript, how to call a function after completion of function which is already running?

My script involves three shell functions. Two running in parallel. I have to call a third function when the two parallel running function completes it's execution. How to call that third function? ...
1
vote
1answer
20 views

Suppress questions by apt-get

I need to install a package in a script. This process needs to write over some already existing configuration files. Right now even though run with DEBIAN_FRONTEND=noninteractive and --force-yes -y, ...
0
votes
0answers
15 views

X without Display Driver

If I would install xserver and a window manager without installing an display driver (xorg-video-intel for example) would the performance suffer a lot? Would I actually see or feel a difference in: ...
-1
votes
0answers
5 views

In Junit, for paramaterized testcases how to give input through xml file? [migrated]

I'm writing testcases in junit with different input. I want to know how to give input through xml file. Kindly help me with an example.
0
votes
3answers
50 views

DNS Issue in ubuntu 14.04

I am facing DNS resolving issue sometimes in my Ubuntu 14.04.2 LTS trusty. I have configured my system with network manager to work with static IP assignment. I have also tried by changing DNS server ...
-1
votes
0answers
16 views

Need a help on .gs script file

I am placing a sample Script code below, the file extension is .gs. I wanted to know what kind of script file it is and what script language is this and how do we compile this script in Linux ...
1
vote
0answers
31 views

Clear the terminal in “vi” mode? (equivalent of “ctrl+l” from “emacs” mode)

I am aware of Ctrl+L on bash terminal (using it on Ubuntu) which clears the screen by applying appropriate scrolling on bash terminal. After learning that the terminal is by default set to emacs mode ...
0
votes
0answers
13 views

Changing from bash-4.3$ to [user@hostname currentfolder]# [duplicate]

I'm tring out different linux distros. I've settled on Fedora, but I'm a bit confused. On my other distros, my terminal would open up with a [user@hostname currentfolder]# before each prompt. Now I ...
1
vote
0answers
12 views

Linux Mint: Issue finding Python3 deicated installer modules

I've just installed Qiana Mate & I need to install one python installer module (pip or easy_install) so that I can get other modules. First I cleaned the cache with no error, but whenever I try to ...
-1
votes
0answers
25 views

Elementary OS installs… wrong [on hold]

When installing elementary os freya on a new Lenovo X1 Carbon (with a Broadwell processor), letters and icons are missing from window titles and settings, rendering the os virtually unusable.
0
votes
0answers
42 views

How to make a fifo in C? [migrated]

I have to use mkfifo in my C program in Ubuntu. But I have an error when I compile: no such file or directory . I think the problem because I have not set the panel_fifo environment variables. But I ...
1
vote
2answers
24 views

Is there a way of listing all the instances when a particular file was modified/edited?

I currently have a file abc.txt. I am curious to know if it is possible to see all the instances when this file was edited, from the date it was created? Q: How can I make it possible [if I would ...
2
votes
0answers
32 views

Letter Q stopped working on keyboard [on hold]

Letter Q and q stopped working on my keyboard. (I had to find an ascii chart to copy and paste the character.) I really have no clue what's going on. xev produces the following output. ...
0
votes
1answer
23 views

.txt File from Mac not converting properly

I have a .txt file from my Mac that when I send it over to my Raspberry Pi running Raspbian and open it in nano it converts weirdly. Example: Text file in Mac OSX: ...
10
votes
2answers
322 views

Unexpected Bash completion of ~ on OS X

I pressed ~TabTab on the bash command prompt and got an unexpected set of completions. First it looked like all the folks in the /Users directory, and a lot more. Then I thought it was doing the ...
1
vote
1answer
27 views

I am attempting to write a bash script to convert hex to base64

I am attempting to do the matasano cryptopals challenges in bash. The first step is here I found this stackexchange thread with a partial solution. printf 49276d2 | xxd -r -p | base64 which ...
0
votes
2answers
19 views

How are the entries in resolv.conf automatically added?

I have installed a fresh Debian Jessie distribution today. It properly configured IP address through DHCP and also added nameserver entry in /etc/resolv.conf. Could you please explain how are those ...
0
votes
0answers
8 views

no fonts showing up in filesnames in thunar (and pcmanfm). debian 7.8

I had recently installed a debian 7.8 system. I connect to it both locally from the attached monitor , but also remotely from an nx session. "Fluxbox" is the desktop environment and "thunar" the file ...
0
votes
0answers
34 views

Use sudo as login

I've picked up the habit of using sudo and disallowing root logins. In cases, sudo is integrated with GUI configuration tools that require it. Are there any serious efforts to replace login and ...
0
votes
4answers
45 views

“emacs: standard input is not a tty”

I followed http://unix.stackexchange.com/a/43460/674: after $ locate -i linux | less I type g|$emacs - in less, but nothing is opened in Emacs, and the terminals says: emacs: standard input is not ...
1
vote
0answers
38 views

Unable to mount a partition on an SSD over USB

I'm trying to mount a 120GB SSD connected externally via USB to the new server. The SSD is full of data and I can't format it. mount /dev/sdd1 /mnt/sdd1 mount: wrong fs type, bad option, bad ...
1
vote
0answers
19 views

Will booting ubuntu in recovery mode use default keyboard layout?

I have a chromebook with Ubuntu 15.04 and I need to customize some of my keyboard keys in xkb. Unfortunately while doing so I managed to disable my keyboard and needed to boot from live USB to revert ...
1
vote
1answer
44 views

POSIX shell scripting and performance tuning [on hold]

Nowadays, I'm researching for performance tuning for shell scripting , And I have been prevented to POSIX shell scripting, However it's only a standard, But I think it's rathar than standard for do ...
0
votes
0answers
9 views

WPA_Supplicant bgscan doesn't populate scan_results

I'm using WPA_Supplicant 2.1 with Wext driver, on a custom Linux 2.6.27 kernel. The issue is that bgscan fails to populate 'scan_results' other than the network that wpa_supplicant is currently ...
0
votes
1answer
20 views

“fdisk -l” output: what are Disk label type“ and ”Disk identifier"

fdisk -l output: . . Disk label type: dos Disk identifier: 0x0006a8bd . . what are Disk label type" and "Disk identifier" Also, apart from the manuals, where else can I find more information ...
1
vote
0answers
41 views

Linux randomly hibernates [on hold]

I'm facing some issues with Linux (Fedora and Ubuntu). First of all, when I installed Ubuntu it was sort of hibernating when booting then I installed Fedora, everything works fine, but when I boot the ...
2
votes
0answers
26 views

Thread running between fork and exec blocks other thread read [migrated]

While studying the possibility of improving Recoll performance by using vfork() instead of fork(), I've encountered a fork() issue which I can't explain. Recoll repeatedly execs external commands to ...
0
votes
0answers
21 views

Virtual Box Bridged network failed to get IP (DHCP) No DHCPOFFERS received

My goal is to get Bridged network working. When I try to UP interface in my Virtual Box VM, it tries some DHCPDISCOVER messages, but eventually I get No DHCPOFFERS received. I found where is the ...
4
votes
1answer
38 views

Settings environment variables from a file

I want to have a file (outside of git) that contains certain environment variables. While a script (which is in git) needs to read them and export to env. My current implementation works for ...
1
vote
0answers
14 views

Streaming audio from a web interface

What I Want To Do Allow anyone with the public IP for my EC2 Instance to browse and listen to a collection of radio programs I record live. Requirements All setup possible through CLI (since the ...
1
vote
1answer
33 views

Get list of supported opcodes

Is there a way to get a list of supported opcodes for a given architecture? Such as a listing in /proc similar to /proc/cpuinfo.
3
votes
0answers
27 views

Linux does not reply to ARP request messages if requested IP address is associated with another (disabled) interface

I have a PC(kernel 3.2.0-23-generic) which has 192.168.1.2/24 configured to eth0 interface and also uses 192.168.1.1 and 192.168.1.2 addresses for tun0 interface: root@T42:~# ip addr show 1: lo: ...

15 30 50 per page