0
votes
0answers
5 views

Dual Monitor Woes

Not sure if it's allowed to ask two questions in one 'question' if it's not I'll separate them, but since they're both related to the monitor / dual monitor set up, I thought I'd just combine them.. ...
0
votes
0answers
13 views

Confusing linker error

I'm trying to compile and link something, and make is spitting out the following error message: /usr/local/bin/ld: cannot find -lpolkit-gobject-1 collect2: error: ld returned 1 exit status When I ...
0
votes
0answers
2 views

Gummiboot Kernel Parameters, Cannot find /boot/loader dir

I installed Gummi boot to my EUEFI partition which is sda1. when I do lsblk it show boot is mounted on sda2, which is also my root partition. when I ls '/boot' there is no loader dir. I need the ...
0
votes
0answers
5 views

Too small icons in GNOME Shell dash

When I have many apps running the dash icons become smaller and I don't really like that. I noticed there's still a lot of vertical space on the screen that could be used. Is there a way to increase ...
0
votes
1answer
11 views

Helping to find power consumers in Cinnamon

I would like to identify what draws power in Cinnamon aka what eats the cpu and causes the context switches. It is not about finding out what draws power overall in my machine. Any good tips how to ...
0
votes
0answers
8 views

Is it safe to upgrade kernel manually on a system which is using NVIDIA drivers?

Upgrading kernel manually on Ubuntu 14.04 can cause trouble with NVIDIA drivers? (one of the troubles could be booting to black screen) I had lot of trouble with installing NVIDIA graphics drivers ...
0
votes
0answers
29 views

What's the most efficient way to find out what is consuming disk space?

I usually check disk space consumption by running du --max-depth=1 -h / but for some reason, it's taking a long time on one of my servers. What's a faster way of doing this?
1
vote
0answers
16 views

Random file showing up in various directories. How to trace its creator?

I am finding a 0 byte file named ^- (that is a caret and a dash) in various directories on my file system. I use zsh with oh-my-zsh and I am pretty sure something in there is creating it but I really ...
0
votes
0answers
6 views

Why doesn't Red Hat detect hard drive?

I am trying to install Red Hat Enterprise x86_64 bit on an HP ProLiant (iLO 4) server with an Array of 2 hard drives configured as RAID1. The built in server manager allows me to change the setting ...
0
votes
0answers
8 views

github gist snippet management

I'm rewriting my question, since it appears to not have been clear enough... I am trying to find a way to pull the content from a github gist and put that content into either the terminal itself, a ...
0
votes
0answers
31 views

Get first day of the month

I need to get the first day of the month in this format "%y%m%d" or 150301 I can get the current day in this format: date +"%y%m%d" But the first day of the month is a lot trickier. Any thoughts? ...
0
votes
0answers
16 views

specifing the type of field i want to modify in file

I have a list of clients, "code", "name", "location", "etc" and I want to make a function that asks the employee to give the client's code and then the field he/she wants to change. For example ...
0
votes
0answers
7 views

apache virtual hosts not working for new domain

I probably did some really trivial mistake but somehow I can't figure out where is the problem. until now I had my debian vps running with few virtual hosts using one domain and several subdomains. ...
0
votes
0answers
6 views

udev not running rule at boot?

I have a very simple udev rule at /etc/udev/rules.d/sdcard.rules: KERNEL=="mmcblk1", SUBSYSTEM=="block", SYMLINK+="sdCARD" Problem is the symlink is not created for me automatically at boot. I have ...
1
vote
0answers
4 views

How can I cause cvs update to use the destination folder's default posix acl mask?

I have a directory and file with these permissions: # file: blue/ # owner: user-a # group: group-a user::rwx user:user-b:rwx group::rwx mask::rwx other::r-x default:user::rwx default:user:user-b:rwx ...
0
votes
0answers
9 views

Sorting bigger files gives segmentation fault

mkdir tmp sort -u *.txt -T tmp/ -o output.txt there are just a few few ten GByte sized files that needs to be sorted.. The problem is that after a few minutes sort gives a segmentation fault. The ...
1
vote
0answers
3 views

How can I remove a disk from a group with striped volumes?

I have an HP-UX B.11.11 system with two disks. I would like to remove one, but as far as I can divine, it seems that the volumes are striped across the pair and I can't figure out how to ...
-1
votes
0answers
5 views

Samba DC - account is saved only with temponary file [on hold]

I have problem with Samba AD. When I log in to account on Windows computer, account will not be saved. smb.conf: [global] workgroup = miegl server string = Home server netbios name = ...
4
votes
1answer
42 views

How do I know when I installed package FOO

I was wondering if I installed 'Tor' on my Ubuntu 14.04 or it was shipped as a default package since I hadn't remembered installation by myself. So what's the way to find out if a package is ...
0
votes
0answers
11 views

Executing Minecraft Server Commands via SSH and Screen

I'm extremely new to linux, so please help me out if you can! I have read many of the posts about managing/monitoring servers using SSH and Screen, but have not found anything regarding my particular ...
1
vote
0answers
17 views

Text User Interface

I have been working on a shell script, and was wondering if I can put up a text user interface for the shell script. After some searching, I see few people suggest using "ncurses/curses". However the ...
1
vote
0answers
12 views

Batch rename “case duplicates”

I have a folder on my Linux system that is cross-synchronized with other computers, some of them with Windows. The problem is that in that folder there are files that are "case duplicates", i.e. their ...
0
votes
0answers
4 views

Red Hat Enterprise Linux 6.5 remounts root filesystem read-only after hibernating

I have a Lenovo ThinkPad T430 running Red Hat Enterprise Linux 6.5, kernel 2.6.32-431.30.1.el6.x86_64, and my filesystem structure consists of a master LUKS partition holding two logical volumes, one ...
0
votes
0answers
6 views

Installing Slax 7.0.09

Halo,folks.How do i install Slax 7.0.9 on the same hard drive as my Windows XP.Isit possible.I already have partitioned the hard drive to ext.4 for linux using gparted.The hard drive also has a ...
1
vote
0answers
8 views

Installing vim locally on a cluster: can't find syntax

Unfortunately, the school I currently work at has one of the wonkiest, worst-configured clusters I've ever used. And the IT department is totally incompetent and blames the users for basic issues. ...
2
votes
1answer
7 views

assigning two ports to one service in firewalld

Is there a way to assign two ports to the same service in firewalld? For example, I would like for the SMTP service to listen on both port 25 and port 465. My first instinct is to change ...
1
vote
1answer
16 views

Shell script `rm -r`: Redirect write-protected prompt and answer “n”

I have a few lines in a shell script whose function is to iterate through directories, match some names, and delete them. Some areas of the file system are write protected and I would like to leave ...
1
vote
1answer
9 views

Measure the network traffic on a long-term basis

I'd like to find out how much network traffic my computer uses, i.e. whether a limit of 30GB of transfer wouldn't be too little. What's the best tool to measure it? Using Linux Mint 17
1
vote
2answers
35 views

Calculate date difference between Last modified date of a file and NOW using shell script

I am trying to calculate the time elapsed since the log file was last updated. I guess following commands will be used lastUpdate=$(date -r myLogFile.log) now=$(date) How can I subtract them and ...
0
votes
0answers
3 views

Neocomplete conflict with auto line-breaking in vim

I've found a conflict between automatic line breaks in vim and the neocomplete Vundle plugin. When neocomplete is off, then my set textwidth=80 option works correctly in that the a line break is ...
1
vote
2answers
29 views

Is it possible to send a HEREDOC over ssh to a remote host from inside a script running locally?

I essentially want to run a script on machine A which will SSH into machine B, execute commands on B, and return the output to machine A. So I am creating a csh script to do this, hopefully, if it's ...
0
votes
1answer
8 views

How do I show current users in a channel in a panel on the right in irssi

How do I show current users in a channel in a panel on the right in irssi? I have tried googling for this but could not find anything. The screenshot here: http://irssi.org/themefiles/mursu.png shows ...
0
votes
0answers
5 views

Ubuntu Linux 14.04 on Parallels Desktop 10, Mac OS X 10.10.2: Parallels and/or Ubuntu update broke Terminal (no command-line prompt) [on hold]

Apologies if reposts are not welcome; I just asked this question on "Ask Ubuntu" and was advised to post it here. I'm not clear on whether the problem is with Ubuntu or if it is more general, as I ...
2
votes
2answers
23 views

Chroot user exit jail

I am using OpenSSH chrootdirectory feature to give access to a user via ssh. Can this user exit the jail and return to the normal OS environment? Maybe with su?
1
vote
0answers
5 views

OpenBSD's pf: disable network access for a given user, except for ssh.

If we are using the default firewall for OpenBSD, how can we modify it to disable all the network access for a normal user except for one thing: we want to ssh to the user from random hosts! So ...
3
votes
0answers
20 views

Convention/standard on using curly braces around options

Man page for tar in arch linux SYNOPSIS section starts with: tar {A|c|d|r|t|u|x}[GnSkUWOmpsMBiajJzZhPlRvwo] [ARG...] I perfectly understand that in this situation it means that exactly one of them ...
0
votes
0answers
12 views

Fedora upgrade stuck between version 16 and 20

I was given remote ssh access to a server running Fedora 16. I tried upgrading it to Fedora 20 and rebooted. But it looks like the system wasn't fully updated. # uname -a Linux garden ...
0
votes
0answers
24 views

Cant see my proper ip (nor connect to it)

First, I am not talking about the Public IP I am talking about the ip that you see when you type down ifconfig in your console. So the problem is, I cant seem to connect to my router or see my proper ...
0
votes
0answers
10 views

Using pyenv with sqlite3

I'm trying to install Python via pyenv and I would like to compile it with SQLite. I understand that this requires libsqlite3-dev or similar, but I don't have root access on this machine. I ...
-1
votes
1answer
30 views

How to copy authorized_keys to another user on linux? [duplicate]

I can ssh into a Linux node on the cloud with root. I've created another user, web, and I want to add my ssh keys to that user. Here's what I've tried so far (as root): mkdir -p /home/web/.ssh cp ...
1
vote
0answers
10 views

Mount USB stick without partitions using udev rules

I need to have udev mount a USB device that has raw data, which appears like /dev/sdc, but in the same time if another stick has partitions I only need to have folders mounted only for those ...
1
vote
1answer
42 views

How to test which files will be copied with the cp command?

I'm creating a simple script that copies all files from DIRECTORYA that do not exist in DIRECTORYB. I'm doing this through the use of the cp command: cp -u DIRECTORYA/* DIRECTORYB What I'd like to ...
1
vote
1answer
12 views

No screens found error when starting fresh install of chroot debian wheezy with xfce gui

I am not an experienced linux user, but have bought a chromebook and am now installing crouton. I ran into a problem for which I couldnt find a solution using google or SE. This SE seemed to have the ...
2
votes
0answers
6 views

KeePassX Global Autotype corrupting keys when used with VMware

I'm running VMWare Workstation on Arch Linux with KeePassX set to use ALT + "A" as a global auto-type keybinding. Prior to running VMware, KeePassX works great. When VMware releases the keyboard from ...
2
votes
2answers
28 views

Modifying binary during execution

I often come across the situation when developing, where I am running a binary file, say a.out in the background as it does some lengthy job. While it's doing that, I make changes to the C code which ...
1
vote
0answers
6 views

Using enscript, need first line to be of different font size

I'm using enscript piped to ps2pdf to convert text files to pdf. The content of the file is the result of an SQL query with column names serving as header. I'm already using -B to eliminate default ...
-1
votes
2answers
17 views

Where to find the RPM file of GIMP for installation?

I wanted to install GIMP just like installing it on Windows using the exe or msi file. Where can I find the RPM file so I can just issue the command rpm -ivh gimp-2.8.14-x86_64.rpm I like to ...
0
votes
2answers
17 views

No diskspace on AWS Image?

we are currently testing AWS, therefore I created an EC2 instance using a bitnami-magento image. The AWS intance has 10gb of space attached to it. Now all of a sudden, I am out of diskspace and I have ...
2
votes
4answers
50 views

Why does Linux use an Initial Ram Disk at boot?

I was wondering : What's the goal of using an initrd in the first part of the boot process and then use pivot_root to put the root on the real disk ? Why not only use what's on the disk ?
2
votes
5answers
147 views

Pick the latest file based upon the sequence number given in the file name

I have a requirement, I have few files in a directory, I need to pick the oldest one for processing. For Exp: I have below files in /tmp directory: Sample_0000237826-001_xyz.dat ...

15 30 50 per page