-1
votes
0answers
15 views

Unable to find a medium containing a live file system [on hold]

how do i resolve such error in the installation of Ubuntu 12.04: unable to find a medium containing a live file system
-1
votes
1answer
14 views

save output into a file from sqlplus query in ksh script

The thing is that it overwrites in Result.txt and I only get the last query. How can I fix this? #!/bin/sh while read -r line do echo "'$line'" sqlplus -s whatever/whatever <<-EOF SPOOL ...
0
votes
0answers
18 views

Cjs-Message: JS LOG: Network Manager is not running, hiding

Config: Linux Mint 17.2 (based on: Ubuntu, Debian). Note: same problem on Ubuntu 14 I removed network-manager (via apt-get ... remove). I rebooted. Now I cannot login anymore, each time I enter ...
0
votes
0answers
14 views

after extension of partition grub says unknown file system

I have a vServer with Debian Wheezy running, yesterday I wanted to extend the partition but after the reboot grub2 says error: unknow filesystem. Entergin rescue mode... grub rescue> Here I am in ...
-2
votes
1answer
22 views

copying a text from one file and pasting into other using shell script

I want to copy the number in a particular line from one text file and paste that number to other text file, how to do this using shell scripting. For example in file1 I have a line Total Time: ...
0
votes
1answer
89 views

What do these commands do?

I have been working at this company for around 8 years now and something that has always puzzled me is that we have a software supplier who often connects to our network to provide user support on ...
0
votes
0answers
13 views

Rolling Grub2 back to Grub on Debian Jessie (8)

I'm trying to run 'grub-install /dev/sda', it stays stuck on 'Searching for GRUB installation directory ... found: /boot/grub' after leaving it for an hour, nothing happens. I have tried removing all ...
2
votes
2answers
24 views

How to execute a command after network startup on Solaris?

I need to execute a command after a network interface came up. On Debian I would use the post-up option in /etc/network/interfaces. But I can not find anything similar for Solaris 10. Is it possible ...
0
votes
0answers
6 views

Why is chkconfig on SLES 11 sp3 ignoring my # chkconfig: 35 98 01 remark in the start / stop script?

yesterday i was fighting with a pre-made start/stop script of jetty on our sles 11 sp3 linux server. it had that "chkconfig" tags in the upper part of the script is supposed to be used with " ...
-2
votes
2answers
29 views

What is the default path of newly created tar archive?

I created tar archive using following command: tar -zcvf archive-name.tar.gz directory-name After this operation, where that tar.gz is located?
0
votes
0answers
11 views

how unshare -i/-p/-U and -r works in realtime

Can anyone give examples of unshared command for -i, -p, -U and -r options. I got only -m and -n examples to test my code. And please mention any test cases to test IPv6 for unshared too. Thanks, ...
1
vote
0answers
12 views

Different behaviour over WIFI and LAN-Ethernet when connecting via VPN

I have some problems getting my internet connection working over the LAN, meanwhile over the WIFI, everything seems to work nicely with my Ubuntu 14.04 LTS machine. First thing I do is connecting to ...
0
votes
0answers
20 views

pass and gpg: No public key

I'm using the pass for quite a long time; but after exporting my key storage and gpg keys to another machine I see following output: $ gpg --list-key /home/shved/.gnupg/pubring.gpg ...
0
votes
1answer
6 views

nginx “root /parent/child ” inside location directive not working and shows “404 Not found”

Im learning nginx and referring to book "nginx essential-valery kholodkov" for settingup nginx 1.8 and Im using centos 7 (selinux is off). i made some changes to documentroot(like in apache 2.x) ...
1
vote
2answers
39 views

not able to execute multiple commands on multiple linux machines?

I have around 50 ubuntu machines on which I need to run below commands: sudo apt-get install htop sudo scp -r todd@machineA.host.com:/home/todd/pip /tmp/ sudo apt-get install python-pip sudo pip ...
1
vote
2answers
21 views

Can I pipe clipboard content to browser for viewing?

Here is the situation. I often have to read chunks of information from large plain text files. I am planning to use Readability extension for formating the content to make it readable on screen.
1
vote
1answer
42 views

How to install/setup mutt with Gmail on CentOS and Ubuntu?

How to setup the email client Mutt to send, receive and read email under CentOS and Ubuntu using a Gmail account as a relay
2
votes
2answers
11 views

How do I make a self-signed certificate persist in nixos?

I have a nix expression that builds a virtualbox vm. As part of that process, I install a self-signed ssl certificate via certfile = builtins.readFile ./certificate.crt security.pki.certificates = [ ...
0
votes
2answers
14 views

How to foword firefox graphics from remote to local system?

I have installed CentOS7 in virtualbox through vagrant. Both guest and host operating system is CentOS7. Guest operating system is minimum installation of centos7 with no graphics. On both system I ...
-1
votes
0answers
12 views

SFTP inside SFTP [duplicate]

I want to transfer files from serverB to ServerC while staying in serverA. Can we do sftp inside sftp in shell? If yes then how?
-1
votes
1answer
31 views

Why readdir() only reads 32K of directory entries at a time?

readdir() only reads 32K of directory entries at a time. Why does it read only 32K entries? Is it dependent on buffer or any other parameters? Can I change that value so that I can read as many ...
1
vote
1answer
13 views

Security of zone transfers for bind

When having two public DNS servers that provide NS, A, MX, and CNAME records for your domain (website), is it necessary to encrypt the zone transfer data or is it fine to have the master-to-slave sent ...
-1
votes
0answers
9 views

control and data flow between 2 linux machines [on hold]

I am doing a project on R-car H2(automotive SOC) in Linux platform. I would like to know how the data and control flow between two Linux machines is, if am using two such boards. Can I get the ...
1
vote
0answers
9 views

Monitor exit code in tmux

Is there a way to update tmux window attributes based on command exit status? Similar to activity monitoring, I would like the title to change color when a command exits, say, green for success and ...
1
vote
2answers
29 views

On page fault, how does Unix determine if the faulting address is in swap space?

When a page fault occurs for a virtual address for any process how does the linux/unix operating system determine whether that page (of that virtual address) was swapped previously present in memory ...
0
votes
1answer
16 views

Manjaro Linux — Can ONLY log in from root account

First time Linux user. Treat me like a complete idiot. Installed Manjaro on VMWare. I'm required to get into this whole Linux thing for college. First problem: Created user account from root. ...
0
votes
0answers
14 views

Troubleshooting Wine Errors (for SkySaga)

I want to run programs in Wine, but I don't know where to start debugging. Are there any tips on how to use Wine's error logs? I made this by trying to install the game SkySaga with PlayOnLinux. ...
2
votes
0answers
23 views

Random pieces of ancient hardware not working together (Mac G5, Sun network adapter)

This is probably some kind of weird esoteric hardware combination but it's not why I did it. It's just what I had lying around. I have a 2x 2ghz Mac G5 and I can't really bring myself to part with it ...
2
votes
0answers
28 views

Why do I have Established TCP connections with no owner PID?

Both ss --processes and netstat --program (with sudo) list some ESTABLISHED TCP connections to local port 6514 with non-zero Recv-Q values and no owner process (netstat output shows - where ...
16
votes
4answers
868 views

Surprised by behavior of cp with hardlinks

I understand the notion of hardlinks very well, and have read the man pages for basic tools like cp --- and even the recent POSIX specs --- a number of times. Still I was surprised to observe the ...
6
votes
3answers
68 views

tell if last command was empty in PROMPT_COMMAND

In bash, from inside PROMPT_COMMAND, is there a way to tell if the user just hit 'return' and didn't enter a command?
-2
votes
1answer
35 views

Restrict bash command for specific user [on hold]

I just searched on this page, but the answer does not meet my idea. My idea is when user called Bob access ssh and run a command, for example sudo apt-get update, then the bash sheell will respond ...
1
vote
1answer
27 views

How can I use awk to create a variable that is used in the next line edit

I have a file with a list of info. Each line has either 12 or 13 fields. For example I will use a file will 3 and 4 fields. e.g. myfile.txt user password location date john passwd1 new_york today ...
0
votes
0answers
16 views

VIM function for creating new a file with a header including the filename and a timestamp

I have created a VIM function that generates a new file based on the arguments passed to it and based on some zsh variables I have setup. Is it possible to extend this function to insert some a ...
0
votes
0answers
11 views

Converting .NEF to .JPG

I am trying to convert .NEF files to .JPG and I am using the command: mogrify -format JPG *.NEF this produces mogrify: delegate failed `"ufraw-batch" --silent --create-id=also --out- type=png ...
-3
votes
2answers
37 views

how can I delete the remnants of windows from a new CentOS 7 server?

I recently installed CentOS 7 on a new computer that came shipped with Windows 8.1. The BIOS no longer shows windows as a boot option. But my initial analysis of the file system is hard to ...
2
votes
2answers
117 views

What's the `name` argument to `sh` for/do?

Taken from FreeBSD's man page on sh (because its the most convenient online, target platform is Debian if it matters): SH(1) FreeBSD General Commands Manual SH(1) NAME sh -- ...
1
vote
1answer
16 views

where are located haskell-platform-doc documentation?

My OS is Ubuntu 14.04. I have done: sudo apt-get install haskell-platform-doc But I cannot find the corresponding documentation files. Where could I find them ? Or is there a command to launch so as ...
-8
votes
0answers
22 views

Need to replace random words with “X” from 13th filed till a “|” is encountered [on hold]

Sample Input Aug 27 07:23:46 ABIT-AB545-Default [ABIT-PMC][0x80000341][xsltmsg][info] wsgw(abc_v2): trans(123456789)[request][10.99.99.4]: RespOperation Name: ABCV2 | RespConsumerRequest: ABC12345C3 ...
1
vote
0answers
22 views

how big should the /boot directory be in a CentOS 7 server?

I am installing CentOS 7 in a 200GB partition of a 2TB hard drive whose other partitions will later become managed by this master CentOS 7 installation. How big should the boot mount installation be? ...
0
votes
1answer
18 views

Setting up Arch Linux stuck in pacstrap

So when i run the command pacstrap /mnt base base-devel i get stuck at (0/140) checking keys in keyring [------------------------------] 0% I have internet connection but i don't know where the ...
0
votes
1answer
8 views

Error initializaing USB support: Other error [-99]

I am trying to connect to a virtual machine using KVM on Scientific Linux 7. Scientific Linux is running on vmware. When I attempt to connect to the virtual machine I get an error. How do I proceed ...
-1
votes
0answers
9 views

FTP Server - Allow multiple directories?

I've recently switched from a Windows server to a Linux. I'm using ProFTPd with ftpasswd file, but on Windows I could give access to multiple directories. Using the following layout: /main - / ...
0
votes
1answer
17 views

How do I archive a folder keeping owners and permissions intact?

Is there any way to archive a folder and keep the owners and permissions intact? I'm doing a backup of some files, which I want to move using a usb-stick, which has a FAT filesystem. So the idea was ...
1
vote
0answers
13 views

What's the best way to restore the arrows to my scroll bars?

I'm running Debian Jessie. $ gnome-session --version gnome-session 3.14.0 $ dpkg -s libgtk-3-0 | grep '^Version' Version: 3.14.5-1 I can restore the scroll bar arrows by doing: ...
1
vote
0answers
11 views

Could not perform immediate configuration on 'multiarch-support'

I am not sure what I was thinking when I accidently deleted my /etc/dpkg/ folder. While I was fixing that, I tried many things and that made things worst. Now I am in a situation where I can not ...
1
vote
1answer
21 views

Displaying X programs on remote systems

I have Ubuntu 14.04 and Fedora 20 as a test environment. I am trying to send X programs from Fedora to Ubuntu through an SSH session. My setup is as follows: On Ubuntu ran: Xhost +IP Address of ...
3
votes
1answer
41 views

How to shrink root filesystem without booting a livecd

I find myself needing to rearrange a system's partitions to move data previously under the root filesystem into dedicated mount points. The volumes are all in LVM, so this is relatively easy: create ...
0
votes
1answer
21 views

Queue up multiple videos from Bash Script

-Skip to bold to skip the fluff - I'm new to ubuntu, so still learning the ropes of how bash scripting goes. I've got this code I've been working on, which works great. (side question - can I ...
0
votes
1answer
15 views

Update Wheezy to Jessie on a dual boot (with win7)

I run a dual boot laptop with Debian Wheezy and Windows 7. I would like to upgrade Debian to Jessie. I am however a bit worried as grub - which let's me choose which OS to boot on startup - is replace ...

15 30 50 per page