2
votes
1answer
94 views

Need to Zoom in permanently

I have a notebook with Ubuntu/Linux. When I'm at home I plug it into my 20" monitor that’s hooked up to a switch. Occasionally I need to use it remotely and the screen is so small I need to zoom in ...
2
votes
0answers
362 views

Permanently enable scl for RHEL6 RedHat

RedHat provides a way to install packages with newer versions of packages than officially supported with Software Collections. After the installation of a software collection it is necessary to enable ...
1
vote
1answer
284 views

What linux server settings allow my long running processes to keep running after the terminal is closed/terminated?

In previous jobs and experiences, I used screen or nohup to run my long running jobs from my terminal screen. Most, if not all of my previous jobs' servers dropped you if it didn't detect any ...
12
votes
2answers
7k views

How can I make ssh ignore .ssh/config?

I have the following in my ~/.ssh/config. HOST 10.2.192.* USER foo PreferredAuthentications publickey IdentityFile ~/.ssh/foo/id_rsa The above configuration lets me connect ...
5
votes
2answers
9k views

CP: max source files number arguments for copy utility

Consider that there are countless number of files under /src/ cp /src/* /dst/ How many files cp will successfully process?
1
vote
2answers
2k views

Bash script to adjust brightness when battery unplugged

I am trying to set up my system and to get some practice with scripting and the like. I am running Linux Mint 16 on a Samsung RC520 laptop (Linux 3.11.0-12-generic x86_64). I want to implement a ...
0
votes
1answer
137 views

KDE-dolphin trashcan on second HDD

From KDE I use only dolphin. I've pulled out second hdd for a couple of days (also changed fstab). Now I put it back and dolphin won't "see" /hdd2/.Trash-1000/ and if I delete file /hdd2/file1 it ...
0
votes
2answers
595 views

How to format history file to contain username too?

tail -2 /root/.bashrc export HISTTIMEFORMAT="%d/%m/%y %T " export PROMPT_COMMAND='builtin history 1 >> /var/log/root.log' With this all the commands could be logged (even the ones that were ...
1
vote
0answers
81 views

Package a Linux system and app into an installable .iso? Kickstart?

I have written a Python web app that has a number of dependancies. In addition to providing install instructions, I would like to package this up into an .iso for ease of installation. Something ...
1
vote
3answers
637 views

Why can't I modify OpenBSD securelevel?

I just installed an OpenBSD. I edited "vi /etc/rc.securelevel" and set the securelevel from 1 to 0. Saved the file, then rebooted. But after the reboot the sysctl states the securelevel is still 1. ...
2
votes
2answers
255 views

LFSH … what is '/lib/init' for?

I'm trying to understand the init/boot process. My system is LMDE, so I presume it will be pretty much standard Debian in that regard. I believe I more or less understand the basics of the init ...
3
votes
1answer
4k views

The amount of time since the system was last booted [duplicate]

I have used both uptime and cat /proc/uptime commands. I know the idle time in the later can be greater than running time (multiprocessors). However, when I add both running and idle times, and ...
5
votes
2answers
7k views

Why is dd using direct slower writing to disk than to a file

I am trying to compare aggregate write rates when writing to a file in a GPFS file system, as compared to writing directly to a disk on a system with Red Hat Enterprise Linux Server release 6.4 (...
1
vote
1answer
5k views

How do I install libXcursor.so.1 on Debian?

I have a Debian 7.3 vps, where I'm trying to run a Unity3d server. I get the error error while loading shared libraries: libXcursor.so.1: cannot open shared object file: No such file or ...
2
votes
2answers
1k views

Keeping xterm terminal alive on crunchbang linux debian wheezy

I like to keep a number of terminals open at different locations on my development VM. For this I use terminator because I got a big screen and I can divide the terminals anyway I want. But after ...
12
votes
5answers
23k views

Can't apply chmod to a file

I have a file on my HDD, cd /media/celebisait/5AC69788C6976355 There is my file called myFile.tar.gz. I do als -l, -rw------- 2 celebisait celebisait 1387745311 Jun 6 2013 myFile.tar.gz ...
14
votes
1answer
1k views

How to put current line at top/center/bottom of screen in vim?

Any quicker navigation trick to place the line at which the cursor is at the moment to the top of the screen? center of the screen? bottom of the screen?
0
votes
2answers
1k views

Can I copy a folder with a progress bar? [duplicate]

I want to copy a folder with some kind of progress bar. I tried "pv" (Pipe Viewer) but it seems there is no way to copy a folder. Actually I'm not interested in using a script for pv - I would ...
2
votes
1answer
1k views

Can I force Linux to boot its initializations parallel? [closed]

I was wondering if I could manage to initialize drivers, services etc. (all these jobs what Linux does during startup) in parallel instead of sequentially. I want to aggressively lower the boot time. ...
18
votes
2answers
31k views

Why does Ctrl-D (EOF) exit the shell?

Are you literally "ending a file" by inputting this escape sequence, i.e. is the interactive shell session is seen as a real file stream by the shell, like any other file stream? If so, which file? ...
2
votes
1answer
2k views

Locked out of server with SSH - anything I can do?

I accidentally locked myself out of my server. I changed the port, added ssh-keys, PermitRootLogin is 'no' and if I remember correctly PasswordAuthentication is also no. Logging in on another server ...
4
votes
1answer
826 views

How to find out the escape sequence my keyboards sends to terminal?

Let's say we have a generic keyboard with some unknown keys which may send escape sequences to terminal. The keyboard is connected to an xterm terminal emulator running on a generic BSD/Linux. To ...
0
votes
1answer
76 views

mailx change the direction of the mail

I use mailx to send mails from servers to me. The problem is that it comes as RTL and not LTR. How can I define it in the command? here is the command: cat /tmp/monitor.log | mailx -s "Daily status ...
0
votes
0answers
2k views

Why are ifconfig's rx/tx bytes reset?

I save every 30 minutes ifconfig's rx and tx bytes for a given interface (ppp) and I see most of the time a steady increase but there are lots of drops/decreased, as if ifconfig's counter was reset ...
0
votes
2answers
1k views

Display all the dates in week numbers in UNIX [closed]

I know the command to get the week number of a date is date +%W Output: 03 Now, is there a way of giving a week number it will display all the dates in that week? Or should I write a script? Eg: ...
3
votes
0answers
298 views

VPS freezes every few days (rcu_sched_state detected stall on CPU x)

Background: I have an Ubuntu 12.04 (64bit) in Xen virtualization environment. 1 GB RAM, 1 processor. Every few days I get the following error message: rcu_sched_state detected stall on cpu 0 (t=...
1
vote
3answers
873 views

HTTPS Redirecting to Subdomain

I have a subdomain at https://mail.example.com with a valid certificate. However, if someone were to accidentally type in https://example.com to the address bar, the certificate for the mail server is ...
1
vote
1answer
1k views

Want to install windows software in Linux Mint 16 Cinnamon [closed]

I have some software that I run under windows XP but now XP will no longer have support after April 2014, I'd like to run it in Linux Mint 16 Cinnamon. If there is no Linux Mint version of the ...
3
votes
2answers
2k views

In a UID namespace, can I setuid to an unmapped UID?

Suppose I'm user ID 1000. I run a program inside a UID namespace, mapping UID 0 inside the namespace to UID 1000 outside the namespace. The program then attempts to change its own UID to 50, which ...
1
vote
1answer
207 views

Permission of DVD device file not being retained when machine is rebooted

I am using Linux Fedora 4 and would like a non-root user to be able to write to DVDs using the DVD drive. I was able to do this by adding write access to the group of the device file /dev/scd0 and ...
1
vote
3answers
6k views

Remove whitespace and parentheses in filenames with sed [duplicate]

I'm an absolute newbie in the unix area so forgive me off the bat if I've gone about this the wrong way. I have a series of files I need to rename which all have the pattern " (*)" in them. Eg; ...
1
vote
2answers
2k views

Home folder unintentionally exposed while using samba shares

Problem I have some difficulties with sharing folders in a local area network by using samba. I have managed everything up to the point that every folder that I share is being detected, can be read ...
2
votes
2answers
263 views

Copying recursively files with spaces

At the moment I have a set of files of the form of: /dir one/a picture.jpg /dir two/some picture.jpg What I want to do is copy and change the end to -fanart.jpg to the filename to: /dir one/a ...
6
votes
1answer
17k views

Why can't I install Debian amd64 in VirtualBox?

I'm trying to install the Debian ISO, debian-live-7.2-amd64-standard.iso into a virtual machine in VirtualBox but it just hangs. I'm running this version: $ virtualbox -h Oracle VM VirtualBox ...
1
vote
1answer
985 views

special device tmpfs does not exist

I'm trying to speed up a project which uses a folder for cache by mounting the cache folder on tmpfs. But whenever I mount it I get this error message: mount: special device tmpfs does not exist ...
1
vote
2answers
720 views

Boot desktop from laptop connected by USB

Would it be possible to have laptop with some Linux, that I would be able to connect to any desktop with USB-USB cable, and boot something from that laptop? (its actual OS or something different ...
1
vote
1answer
2k views

Maildir and mailutils?

I want to use the mailutils app on a install of Ubuntu 12.04.3 LTS with a Maildir format, but every time I run the mail command, the system looks in /var/mail/user, instead of the Maildir directory in ...
1
vote
1answer
52 views

Where can I find documentation on shell script syntax for using a regex within a variable construct?

I'm debugging a shell script (which I didn't write) that contains this loop: read line < "$pid_file" for p in $line ; do [ -z "${p//[0-9]/}" -a -d "/proc/$p" ] && pid="$pid $p" done ...
1
vote
1answer
1k views

shell script - echo command not printing in proper sequence

I have the following testfile.txt: string1 1 string2 2 string3 3 string1 2 string2 4 string3 6 string1 3 string2 6 string3 9 I have the following script: #!bin/sh oldstr="...
4
votes
0answers
95 views

OS X-like deadkeys behavior on Linux

I'm on Debian (actually Crunchbang), and my notebook has a default US layout keyboard. My native language is Brazilian Portuguese (pt-BR), so I've changed my layout with setxkbmap -layout us -variant ...
3
votes
2answers
1k views

LFS 7.4 chapter 6.7: make: gcc: Command not found

I am (again) trying LFS. The version is 7.4 I am stuck at chapter 6.7, where I must run: make mrproper and I get this error: make: gcc: Command not found. But the gcc is there. I also cannot run ...
0
votes
1answer
348 views

Canon I sensys MF3010 driver

I have this printer + scanner. Here (Driver for Canon i-SENSYS MF3010) I hound very useful answer to install driver and it worked for me. As printer now it works for me but I have same 1.0.23 but it ...
3
votes
2answers
383 views

I have Debian on my server. Should I use Centos or Ubuntu version of software I need to install?

This is my server: /usr/local/bin$ uname -a Linux nn15 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux The software I need is offered in these versions: centos-5.3.run centos-5.6.run centos-...
4
votes
3answers
3k views

bash adds extra single quotes

I have a problem executing my script. When executing it in debug mode (bash -x), I can see that bash is adding extra quotes. Therefor my script is failing. Here this is within my script: testvar="\...
13
votes
1answer
7k views

How to update a mix of packages and ports on FreeBSD

I mostly use packages on FreeBSD, because most of them suit me just fine. Some don't suit me, however, like the vim package, which does not include a graphical gvim. No problem. I can install the ...
0
votes
1answer
159 views

“Cannot determine operating system” error

I have a OSX 10.6.8 and installed a LINUX version of Mathematica in my mac. When I try to open it with X11 or Terminal, it claims that "mathematica cannot determine operating system". I cannot ...
2
votes
0answers
1k views

FreeBSD and i915KMS result in black screen

I only had 800*600 resolution when I installed xorg and openbox. I did some digging and I found out for Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller I have to active it. so ...
2
votes
1answer
10k views

Which tftp server is running

I need to find out which tftp server/daemon is running, in order to edit it's configurations and view the error log. I found out that there's a service of tftpd running: # netstat -tupln | grep ftp ...
1
vote
2answers
123 views

Increase nice value for many processes

Say I have launched a couple of non-timecritical applications such as a text editor a web browser etc and one more time critical (audio)application. Is there a utility that simulates the opposite of ...
2
votes
2answers
35k views

Memory usage on SunOS and Linux

I have some doubts with memory usage. Currently I have nagios check who measures used memory from free -m command on Linux. I added another script for memory usage from http://exchange.nagios.org/...

15 30 50 per page