11
votes
1answer
23k views

Where to get Kate color schemes?

Does anyone know where one could find some good Kate color schemes for syntax highlighting? The only ones that I found that work fine are zenburn and mdark. Besides those two, I couldn't find ...
1
vote
1answer
723 views

Resize LV's in a LUKS encrypted VG - Ubuntu 11.04

I wanted to resize the FS on a machine but i ran into problems: Purpose: the LV of /home is too big, the LV of / is too small (they're on 1 VG.) - I need to put 10 GByte from /home to /!! Problem: ...
3
votes
2answers
545 views

Recommended reverse firewall applications for linux? [closed]

I'm looking for a reverse firewall, something like Little Snitch for Linux, but my google-fu is failing me. Does something like this exist on Linux?
6
votes
3answers
1k views

Does Printing a PDF to PDF degrade its quality?

Say I have a PDF of a website which is very long. After reading some of it, I decide there are extraneous pages in it; but rather than finding the website every time I decide to eliminate a page, I ...
2
votes
2answers
554 views

Did `sudo init 6` cause my file system to be corrupted?

I was developing some code and had open qtcreator (software development IDE), gnome-terminal, and possibly firefox. I needed to restart to test something. So i restarted using sudo init 6. When my ...
0
votes
0answers
56 views

Finding out what Linux I'm running [duplicate]

Possible Duplicate: Bash: Get Distribution Name and Version Number Is there any consistent way of determining the Linux Distribution / Release that a machine is running if you don't already ...
3
votes
1answer
1k views

Timer interrupts count in `/proc/interrupts` is updated very slowly and is very small

There is the result of cat /proc/interrupts|grep timer on my Ubuntu 11.04 machine: 0: 63 0 0 0 IO-APIC-edge timer LOC: 59 44 27 ...
11
votes
5answers
6k views

How can I use environment variables in my shebang?

I have a Python script that need to be run with a particular python installation. Is there a way to craft a shebang so that it runs with $FOO/bar/MyCustomPython?
0
votes
1answer
570 views

Tmux not scaling to fill the window [duplicate]

Possible Duplicate: Tmux viewport caused by multiple concurrent sessions I have a weird issue where tmux isn't scaling to fill the window it's in: I haven't had this issue before, is ...
3
votes
1answer
116 views

Is there a way to determine what services use a specific syslog facility on RHEL?

I am currently logging all haproxy information to local0 and loca1 facilities (depending on message level). At the moment, logging gets properly routed to the haproxy logs 'err.log' and ...
2
votes
2answers
483 views

Script to prepend the files path to a file recursively

I work as a grader and files submitted to me end up in a folder named with the student's name which is itself inside a specific folder on my linux share. Currently I go through each source file and ...
0
votes
1answer
1k views

Free way to get financial data as Bloomberg terminal [closed]

I was wondering if there are some free ways (applications or programming) to get financial data (either live data, historical data or both), achieving similar function as Bloomberg terminal? Thanks ...
7
votes
4answers
7k views

Is ArchBang just Arch Linux + Openbox?

I'm a Arch + KDE guy. I need to reinstall frequently, and I don't like that when I do pacman -S kde I have to wait like two hours (slow Internet) without using the PC. So I'm looking for an Arch ...
2
votes
1answer
132 views

“Short read block” error trying to boot RHEL

I changed my network configurations from static IP to DHCP and removed the DNS entry, etc. Then I rebooted the computer, but am now unable to boot, I get an error message along the lines of "short ...
14
votes
1answer
3k views

What happens in each step of the Linux kernel-building process?

I've read many tutorials about how to build custom kernels and boot Ubuntu using those kernels, and successfully followed the guides and booted custom kernels, but I have no understanding about what ...
11
votes
5answers
18k views

Is there a way to set the size of the history list in bash to more than 5000 lines?

No matter how much I set the HISTSIZE environment variable to be larger than 5000, when printing the history list with the history builtin, it prints only the last 5000 commands. I need that because I ...
9
votes
2answers
3k views

Is there a linux equivalent of the Mac OS X command “textutil”?

On Mac OS X there's a very handy command called textutil, that can be invoked from the terminal and allows to convert a document from a format to another; Sometimes I use it to convert a RTF file into ...
2
votes
2answers
597 views

How good is the support for NUT-based UPSs against APC?

My choice of UPS is this -- CyberPower CP900EPFCLCD or APC Smart-UPS 750VA (SMT750I). I intend to connect UPS with USB for data transfer, not Ethernet. According to UPS HowTo ...
7
votes
2answers
642 views

emacs, How to copy region, and leave it highlighted?

I'm happy enough with the default M-w as (kill-ring-save) which loses the region's highlighting upon running the command. I don't want to alter its behaviour, but I do want to re-bind <C-insert> ...
5
votes
3answers
653 views

Can libvirt check if virtual machine is fully booted? Can another tool?

I currently have small VM to do certain tests (it has multiple benefits - like testing on another distribution, Fedora 15, as well as running make distcheck without the problem of polluting /). ...
0
votes
0answers
243 views

Is there a way to make GNOME Panel backgrounds stretch vertically, rather than repeat?

I have another strange issue with the GNOME Panel. Images (that I am using as backgrounds) instead of scaling vertically, are actually repeating vertically, leaving me with a really weird effect: ...
1
vote
2answers
2k views

What is the best CentOS 6 repo list for LAMP stacks?

I'm just getting into server administration and now everybody needs something. Lately I'm getting stuck on package hunting, so I'm on the search to find the most comprehensive repo list of LAMP ...
3
votes
1answer
292 views

Converting a line from a firewall on OpenBSD 4.9 to OpenBSD 4.7

What is the OpenBSD 4.7 equivalent of this line from OpenBSD 4.9 for use with pf? no nat on egress proto udp from 192.168.1.10 port 4672 to any
0
votes
1answer
715 views

Can't connect remotely to server running redhat (ec2)

I created a RedHat 6.1 VM with EC2. Logged in as root, I installed (unzipped) JDK1.7 in /root/bin/jdk1.7.0 and installed (unzipped) GlassFish 3.1.1 in /root/bin/glassfish3. I set JAVA_HOME and ...
12
votes
3answers
12k views

Does mount always require root privileges?

I was under the impression that any sort of call to mount requires root privileges. But recently I was told "You should instead create appropriate entries in /etc/fstab so that the filesystems can be ...
3
votes
3answers
845 views

Debian preseed.cfg/automatic install setup not detecting hard disks

I'm trying to build a Debian automatic install set up using a preseed.cfg file loaded into a client by PXE. The host and client are both Virtual Box VM's. Everything goes smoothly on the client ...
1
vote
1answer
6k views

Where can I find a list of all yum repositories?

Now that I know more about yum from my previous question Where is the best location for finding information on /yum? I need to start playing with some new repositories. Where can I find a list of ...
3
votes
1answer
118 views

InitDevice::CreateDevice problems with wine

I have a game on my Sony Vaio (Pirates of the Caribbean). Whenever I try to run it under Wine, I get the following error message: InitDevice::CreateDevice The device does not support the queried ...
9
votes
4answers
4k views

Migrating from Ubuntu to Debian

I'm a long term Ubuntu user who is considering migrating from Ubuntu to Debian (mainly because of Unity and the fact that my school has a Debian mirror). I haven't installed Debian on a system before. ...
3
votes
1answer
252 views

What do I need to change to have a fully transparent panel?

I have a theme which sets the background of my panel to a certain color, even when I tell it to be transparent via the panel properties. In the theme's gtkrc file, what do I need to change to set ...
0
votes
2answers
170 views

Where is the best location for finding information on /yum?

So I'm trying install php-mcrypt on one server and git-core on another server. It seems like locating packages is where I'm falling short. (just learning server administration) I'm very ignorant of ...
2
votes
1answer
520 views

Default fedora 15 install, how do you get a network drive to mount after login?

I am running a default fedora 15 install. My goal is to have a couple of network drives get mounted right after the user logs in graphically (not via ssh). The script I want to execute is basically ...
1
vote
2answers
343 views

How do I install BleachBit under OpenBSD?

How should I best go about installing BleachBit under OpenBSD?
10
votes
5answers
8k views

Under AIX, how can I get the full path of a program bound to a port?

Under Linux I can use netstat -tulpnw and ps, like so: # netstat -tulpnw | grep :53 tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1482/named udp ...
2
votes
1answer
700 views

How to turn off all event notification under CentOS 6/GNOME?

In the top right corner under CentOS 6/GNOME it pops up messages if ex.: ethernet is connected, update has failed, etc. How can I completely turn OFF these messages??
1
vote
0answers
65 views

What is the difference between these two sudoers lines? [duplicate]

Possible Duplicate: What is the proper sudoers syntax to add a user? What is the difference between these two lines of /etc/sudoers: USERNAME ALL=NOPASSWD:ALL USERNAME ALL=(ALL) ...
4
votes
3answers
4k views

In a regular expression, which characters need escaping?

In general, which characters in a regular expression need escaping? For example, the following is not syntactically correct: echo '[]' | grep '[]' grep: Unmatched [ or [^ This, however, is ...
6
votes
1answer
1k views

Customizing bash shell: Bold/color the command

There are a number of tutorials/posts online (e.g. http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/) about how to customize your prompt in bash by ...
4
votes
3answers
157 views

How can I make a public variable in Linux that all users would see?

I need to have a variable $FOO on the system that contains a string all users could use, but I have no idea how to create one. The Upstart job is obviously not a solution as from this thread - Is it ...
4
votes
1answer
11k views

How do you get NOPASSWD sudo option to work in Fedora 15? [duplicate]

Possible Duplicate: How to run a specific program as root without a password prompt? I installed fedora 15. I use sudo visudo to modify sudoers file and add the following line: USERNAME ...
3
votes
1answer
635 views

'Cannot open display' on restored GNU screen session

Using debian unstable with Gnome 3 but I think this has always happened. If I log out and then log back in again it seems the X session is restarted or in some way changed. In any case, when I start ...
3
votes
1answer
3k views

How to run a specified codeblock with getopts when no options or arguments are supplied?

So I am writing a script that mixes options with arguments with options that don't. From research I have found that getopts is the best way to do this, and so far it has been simple to figure out and ...
2
votes
1answer
154 views

Need to find a cronjob

I have a problem, some user ,and I'm not sure who, on one of my servers wrote a cronjob that executes every night at midnight. The cronjob creates a sql dump of a database which is then grabbed by ...
79
votes
13answers
115k views

How can I resolve a hostname to an IP address in a Bash script?

What's the most concise way to resolve a hostname to an IP address in a Bash script? I'm using Arch Linux.
2
votes
4answers
2k views

SAMBA Share - Keep user from deleting a file

I'm creating a hidden "Access Log" .txt file of employees accessing a program I've created and need to know how to make it so this file cannot be deleted. Reason being, this program helps to automate ...
4
votes
3answers
6k views

Is it possible to export env variable via Upstart?

I need to export a variable FOO=stringhere so that system processes could use it. And the place I would like to do this, is Upstart job. Unfortunately, I tried as per Upstart manual to do env ...
4
votes
2answers
3k views

How do you protect a plain text credentials file with the username and password?

I am trying to setup an auto-mounting network drive. The network drive requires a user/pass. In the man page for "mount.cifs" there are two ways to provide the user/pass. [not recommended] put the ...
6
votes
1answer
1k views

Multiple installed versions of git - centos

I manually installed git 1.6 a year or two ago. I noticed today that the 1.7 version is available in yum, and installed it (package git-all) I now get the following output: [root@ovz5197 ~]# git ...
5
votes
4answers
1k views

Which stream does Bash write its prompt to?

I am trying to redirect all output from bash (prompt, user input, results) to a file Example: /bin/bash > file.txt 2>&1 I thought that would work, but I'm not getting the prompt. Can ...
6
votes
1answer
840 views

Automated incremental backups to an external drive

Background A client needs an automated backup solution to an external drive (to be taken offsite weekly). I'd typically suggest rsnapshot (or perhaps rolling out a custom rsync script), but this ...

15 30 50 per page