2
votes
2answers
1k views

How to run PC-BSD iso from GRUB with only Linux installed

I'm working on Ubuntu, and I wanted to try BSD. I downloaded a PC-BSD iso (PCBSD9.2-RELEASE-x64-DVD-USB-latest.iso). I wanted to know if it is possible to use "loopback" to run that image even if I ...
2
votes
1answer
700 views

Why “sshd Bad prime description” errors?

I've noticed that all our FreeBSD machines throw sshd Bad prime description in line xxx (insert a large number of values for xxx). Presumably this is not something they are all supposed to be doing ...
1
vote
1answer
280 views

Run a GUI OS via a hypervisor from a Linux server terminal?

Is there a way to run a VM hypervisor, such as VirtualBox directly, from say, CentOS? Let's suppose that I want a high-efficiency server, but it can host guests with GUI-enabled OS's. Additionally, ...
15
votes
1answer
3k views

cat /dev/null > file.log does not truncate large file in Darwin

In the past, on linux systems, I've been able to truncate large, open log files (that is, a file that is being actively written to by a process) using cat /dev/null > file.log. However, on 10.9 ...
1
vote
0answers
463 views

Service httpd is failing to start - fcgid can't create shared memory

I'm not sure why, but when I try to start the httpd service, it will not start. Server config: OS: CentOS 5.10 PHP: 5.5.7 Apache: 2.2.3 I built mod_fcgid from source, put it into the ...
6
votes
7answers
399 views

File protection in Unix

Is there a way to protect a file in such a way that even root cannot delete it or rewrite it after creating it? I have a file which is created by root under /var/log/ and I want to restrict all users ...
3
votes
1answer
162 views

Audible iTunes Linux

Using Linux Mint I need to find some way of running iTunes so i can update my 7th Gen iPod, which cannot be done in Rhythmbox. I've tried legacy versions of iTunes in WINE. I've tried to use play on ...
3
votes
3answers
5k views

Mounting another VM's .vdi in VirtualBox

I have two VMs in VirtualBox. For exmaple, VM 1 runs Red Hat, and VM 2 runs Ubuntu. For the Red Hat VM I have redhat.vdi and redhat2.vdi, and for the Ubuntu VM I have ubuntu.vdi and unbuntu2.vdi. ...
-2
votes
2answers
113 views

Why OpenSuse (ver.13) does no install a lot of basic softwares for development

Why OpenSuse (ver.13) does no install a lot of basic softwares for development. But their GUI and widget softwares are all over the place. For example, there is no gcc installed. there is no make ...
3
votes
1answer
703 views

mirroring a pane between two windows

Is it possible to have the same pane appear in two different windows of a single tmux session? I typically have a single horizontal split in my main window with vim in the top pane (about 80-90% of ...
0
votes
1answer
2k views

Changing hostname doesn't change the terminal name

I had set my hostname while installing linux as "ankit". i want to change it to "ankit.centos". I tried changing hostname in /etc/hosts, /etc/sysconfig/network and sysctl kernel.hostname=ankit.centos. ...
6
votes
1answer
7k views

Command : must be run from a terminal

I have a shared hosting account, I logged using ssh. when I type for example su I had this output : su: must be run from a terminal Is this error relative to the fact that I don't have sufficient ...
3
votes
0answers
1k views

GPS stopped working, gpsctl says: “gpsctl:ERROR: packet recognition timed out”

I have been playing around with the GPS in linux for a while now, I wanted to output some specific data from the cgps -s command instead of everything. SO I asked this question and got the answer how ...
-1
votes
2answers
12k views

Append variable string to itself [closed]

I have a variable into a do loop. I append its content to a file, but I want to append it to itself so I could use it to do other stuff like sending mail. I tried variable+=$variable but it didn't ...
3
votes
4answers
752 views

debian: what is “/var/log/apt/term.log” good for

My system is Debian Wheezy. I have noticed that when I run apt-get, additionally to /var/log/apt/history.log another log file gets created /var/log/apt/term.log. It seems to me that term.log contains ...
2
votes
0answers
231 views

FreeBSD 8.4 pkgdb fails after upgrade to Ruby 1.9

I just upgrade Ruby 1.8 to Ruby 1.9. After the upgrade I followed the instructions in the UPDATING file located in /usr/ports. I issued the following two commands: portmaster -o lang/ruby19 ...
0
votes
1answer
243 views

What tool to use to monitor network issues? [closed]

I need a network analysis tool that can help me to find if there are some issues regarding: packet transmission sessions any other stuff is welcome. I'm connected to the appliance I need to check ...
6
votes
2answers
286 views

/dev/disk/ lists disks, why /dev/net/ doesn't list network interfaces? [duplicate]

I know that udev manages devices in /dev and I expected to find information about available network cards (hardware) or at least network interfaces (software) there. ifconfig output shows me eth0 and ...
2
votes
3answers
4k views

Error while trying to create RPM for java app

I'm new to RPM packaging and I got stuck for quite a long time and cannot find root cause of the problem. I'm not quite sure I fully understand the concept of BuildRoot in the spec file. My RPM ...
2
votes
2answers
594 views

Hiding an encrypted folder in a shared system without root access (unshare -m)

I'm a graduate student trying to use a cluster at my university. These machines are shared, so I want to protect the source code I use (I signed a NDA, so I'm scared about publishing the code by ...
3
votes
1answer
355 views

Wget download file ( do not overwrite ) auto update script

I want to write auto update script for my embedded device, which can check and download newer version of my program and extract the files on the device. The download center is hosted on remote web ...
1
vote
0answers
379 views

Mouse clicks won't work (Linux Mint KDE)

I'm using linux mint 15 with KDE and today I realized my mouse clicks on Google Chrome often don't work and it only throws out the messages: (google-chrome:2971): GLib-GObject-CRITICAL **: ...
3
votes
3answers
1k views

Touchpad not detected

Some days ago I received a LDLC Iris FB2-I5-8-S2 notebook and installed Linux on it (Linux Mint 16 Cinnamon 32bit, Kernel 3.11.0-12-generic). Everything except the TouchPad works out of box (even the ...
3
votes
1answer
130 views

Translate GNU ps flags to standard flags

I'm using oh-my-zsh and its ssh-agent plugin on OSX, but lately somebody upstream decided to use ps x. I'm not entirely sure what that even does, since I haven't used a GNU userland in something close ...
11
votes
5answers
14k views

Arch GRUB asking for /run/lvm/lvmetad.socket on a non lvm disk

I am running this script based on the ArchWiki setup procedure. It fails on the GRUB configuration step I am using the archlinux-2013.12.01-dual.iso inside VMware Player with 1 GB ram, sda is 810 ...
2
votes
1answer
1k views

using GPS with Linux & output only certain data

Hello I am currently using BU-353 S4 USB GPS in my Linux, the command, cgps -s Output various parameters including, Time, Latitutde, Longitute, Speed, Heading etc... is there any way to output ...
13
votes
1answer
2k views

Why is /dev full?

The /dev.. is full: SERVER:/dev # df -mP /dev Filesystem 1048576-blocks Used Available Capacity Mounted on udev 12042 12042 0 100% /dev There is no ...
2
votes
0answers
534 views

Dual boot Linux Mint in a GPT style hard drive along with Windows 8

I have a Sony VAIO e series laptop which came with Windows 8. I wish to install Linux Mint as additional operating system. Only at the time of installation I could find that my HDD is of GPT partition ...
1
vote
2answers
265 views

switch to an existing Terminal Emulator using command (wmctrl) or shortcut key

It's rather hard to do it. wmctrl needs to know the window title in order to operate on it, but it is damn hard to know the title of any terminal emulator, be it gnome-terminal, rxvt, xterm... ...
2
votes
0answers
32 views

How to control the permission of an application [closed]

I don't want the application have the permission to read some files that is my personal information, can I do it by setting the permission? I hear that AppArmor, is it easy to use? How to get it in ...
9
votes
1answer
2k views

How to list namespaces in Linux?

Is there any method in Linux to list all namespaces on the running host? I need to check namespaces for particular processes (e.g. processes running in LXC-container and all other processes on the ...
5
votes
2answers
6k views

After upgrading the kernel, the sound no longer works

I have updated the Linux kernel on my system to Linux 3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04) x86_64 GNU/Linux. Having done that, the sound no longer works. Distribution Info(cat ...
2
votes
2answers
393 views

Write In A File at Specific Location

I am trying to create a script that will add a user to the UserDir enabled list or will remove it from UserDir disabled list in userdir.conf. For the sake of my question, let's say I have the ...
0
votes
2answers
589 views

How to add the logs to a crontab with time stamp [duplicate]

In crontab, I scheduled a daily backup script. Now when the cron executes the script the status are logged to a log file as shown below. 0 0 * * * /home/backup.sh > ...
1
vote
2answers
176 views

Why does “xinput list” work just like “xinput --list”?

man xinput describes various options used with xinput. One option is this: --list [--short || --long || --name-only || --id-only] [device] But I can run xinput --list or xinput list and both give ...
2
votes
3answers
2k views

How to do svn update without password on crontab [closed]

I'm new to svn and ssh. I'm trying to do svn update of 5 repositories in my local system every 3 hours on crontab. So, to achieve this I have setup ssh passwordless login using the below steps: ...
2
votes
3answers
191 views

The processing order and printing of files with find

This simple BASH script collects msgstrs in a PHP project: #!/bin/sh TARGET=/path/to/project LPATH=locale/cy_GB/LC_MESSAGES POFILE=messages.po mkdir -p $LPATH touch $TARGET/$LPATH/$POFILE cd $TARGET ...
1
vote
0answers
4k views

LTO tape drive: “/dev/st0: Inappropriate ioctl for device”

I can write to the tape drive (tar -cf /dev/st0 file) and retrieve files from the tape drive (tar xvf /dev/st0 file). But the problem is when I attempt to use the 'mt' command to check the status of ...
64
votes
20answers
11k views

Root access that can't change root password?

We are having a little problem on a server. We want that some users should be able to do e.g. sudo and become root, but with the restriction that the user can't change root password. That is, a ...
12
votes
2answers
5k views

bit rot detection and correction with mdadm

I'm about to re-organise all my HDDs in my linux box nas and would like to use mdadm raid for data protection and its flexibility for reshaping the arrays. However, before I use mdadm for this I'd ...
5
votes
1answer
77 views

how to input this command line

hume@linux-o1dm:~> gnomesu -u legum java -jar '/home/legum/frem/frem.jar' Unknown option -jar I want -u for gnomesu and -jar for java, but the openSUSE treat -u -jar only for gnomesu. What is ...
5
votes
5answers
6k views

How to search in specific files matching a pattern

How can I find a word in specific files matching a pattern. e.g. searching for version in CMake* files recursively found in the current directory.
16
votes
2answers
1k views

Can the empty spaces/background in a terminal be replaced with a random(but pretty) pattern of ASCII characters?

Context and Question There are many ways to colorize the terminal and shell environment. The output of individual commands, such as ls and grep, can also be colorized. Not directly related but ...
1
vote
2answers
873 views

Debian Wheezy youtube video missing on page

have just installed Debian Wheezy XFCE. Installed Flash via this tutorial So I restarted IceWeasel, and I don't get the warning to install Flash now. But when on a YouTube video page, everything but ...
0
votes
1answer
352 views

script to calculate the average

We have a big file in which three columns are there that is hour, response time and service name. These fields are separated by space. We need write a script to calculate the number of occurrence of ...
1
vote
1answer
491 views

How to rotate tcpdump files?

I want to take a continuous dump file of particular size and after the dump reached it predefined size the new data should overwrite the file. Help
0
votes
2answers
3k views

How to give password directly while doing ssh command?

I am using Putty to connect to host xxxxxx. I want to produce a shell script in which I should give the command ssh user@yyyyyy along with my password instead of giving it when prompted.
3
votes
2answers
105 views

Uniquely identifying a drive (not a partition)

I'm writing some automation scripts for full disk backups and I'd like to be fairly precise with which devices are used. I know that one can uniquely identify a partition using UUIDs and blkid, but ...
2
votes
1answer
65 views

Can't obtain the connected forms of some unicode grapheme clusters with combining diacritical marks

In Arabic and some other languages a character has two or three forms which will find its appropriate one automatically when you type a word (according to its previous and next characters). How can ...
1
vote
2answers
878 views

Restart sound indicator in ubuntu

When the sound crashes, I can restart it with: sudo alsa force-reload However, that doesn't bring the sound indicator (system tray indicator) back. I am running Ubuntu 13.10 with LightDm.

15 30 50 per page