4
votes
3answers
2k views

How to commit a modified file if it wasn't locked by RCS beforehand (and I'm using Emacs VC mode)?

Sometimes, a file under the control of RCS gets modified while it is not locked (= checked out for modification by me). (In these cases, it was actually set read-only by RCS to prevent such ...
1
vote
1answer
56 views

Will having dozens of inactive logins hurt performance

I work on a cluster shared with ~20 users, many of them operating remotely. It's quite common to open the login node, type users and see ~100 users listed, mostly the same user logged in multiple ...
1
vote
1answer
1k views

Where can I find openbox logs?

I have a multi head openbox setup with fglrx as my drive. I chosen openbox from the gnome login screen of 12.10. My openbox crashes when I click to desktop left or right, but this does not happens ...
4
votes
1answer
138 views

Linux: How to calculate/find the slackspace of a file?

How would I go about finding the slackspace of a file, for instance. fls -o 63 /images/diskimg.dd istat -o 63 /images/diskimg.dd 31 icat -o 63 /images/diskimg.dd | xxd | less In which of these ...
1
vote
1answer
1k views

E: python-setuptools upgrade fails, apt-get broken

I wanted to install gnome-maps with apt-get, and then I got this error: Preparing to unpack .../python-setuptools_3.4.1-1_all.deb ... Unpacking python-setuptools (3.4.1-1) over (3.3-1) ... dpkg: ...
8
votes
6answers
7k views

How to keep Bash running after command execution?

I would like to run something like this: bash -c "some_program with its arguments" but to have an interactive bash keep running after some_program ends. I'm sure -c is not a good way as man bash ...
1
vote
1answer
75 views

AWK - every thing in one line? [closed]

Hello can I make several changes in a file using just on line with awk? For example, transform this: awk < towhee_input5 -v k="$nstep" 'NR==18 {$0=k}{print}'> towhee_input6 awk < ...
0
votes
1answer
291 views

Can continually assigning a variable in a shell script cause a memory leak?

I've written a short script to copy Apache's server status to a log: #Save date and time to a variable dt=$(date) #Echo date and time to the log file as it's not included in server-status echo "Time ...
1
vote
1answer
2k views

Understand debug messages from sshd [closed]

I'm using OpenSSH_5.8p1 in my machine,I'm connecting my machine using putty client but its slower so I have ran sshd in debug mode and found following messages can any one explain me in detail about ...
0
votes
1answer
91 views

Does NetBSD supports ppc64?

Searching for ppc64 on NetBSD's website: site:www.netbsd.org "ppc64" didn't returned any good hits.. https://en.wikipedia.org/wiki/Ppc64 My question: Does NetBSD supports the ppc64 ...
23
votes
3answers
2k views

When is a reboot required?

Apart from upgrading the kernel, are there any changes to a Linux system that require a reboot? I know there are situations where a reboot makes things easier, but are there any that cannot be ...
0
votes
0answers
104 views

gnome-screensaver or xscreensaver is better regarding security?

I'm using Ubuntu 12.04. I used to use gnome-screensaver.. but.. it happened too many times that when I closed the lid of my notebook, it suspended itself, OK, but after I wanted to turn it on again.. ...
2
votes
1answer
673 views

inotifywait not working when folder is deleted and re-created

I am trying to use inotifywait to monitor a folder: inotifywait -m -r /home/oshiro/Desktop/work_folder The command works and if I create files in that folder, all seems to work correctly. While ...
6
votes
2answers
4k views

What is the interface scope (global vs. link) used for?

Routing table entries have an attribute scope. I would like to know how the change from global to link (or the other way round) affects the network system.
5
votes
2answers
8k views

Does changing of the swappiness need a reboot?

If I configure the swappiness value to another, from ex.: 60 to 0, then I always need to reboot the machine to the changes to take effect? Even when modifying with: sysctl -w vm.swappiness=0
1
vote
1answer
197 views

How to use one nic for storage traffic & other for network traffic in Linux(Slackware)?

Problem I have a Linux machine (Slackware) with two network interface cards and i want to use one interface for network traffic and other for storage traffic . As this is Slackware i dont know this ...
0
votes
2answers
534 views

Centralized logs for tomcat logs

We have 20 centos server and on each server we have 5 tomcats running. All time developer comes for logs so we are planning to keep all tomcat logs one URL so that Developer comes to that URL and ...
1
vote
1answer
35 views

rsync from Mac ext hd to VPS works but not VPS to Mac

There are no errors with either rsync -a /Volumes/hd/dir_foo foo@foo.com:~/ or rsync -a foo@foo.com:~/dir_foo /Volumes/hd/dir_foo in the first instance the synced folder on remote system CentOs ...
4
votes
1answer
1k views

Possible issues with SSD SATA3 drive

While investigating the issue with my SATA3 SSD drive being recognized as SATA2 (for some reason had to change SATA ports to fix it) I noticed the following messages when I run: $ dmesg | grep ata3....
2
votes
1answer
3k views

Difference between “eval” and “source /dev/stdin”

What is the difference between eval and source /dev/stdin? For example, we can run a list of commands in various ways like this. with eval. comd="ls" eval "$comd" with source /dev/stdin printf "...
21
votes
1answer
6k views

User permissions inside and outside of LXC containers?

I'm running some services inside of Docker LXC containers on my server and I'm beginning to actually do serious things with them. One thing I'm not clear on is how user permissions work inside and ...
0
votes
0answers
35 views

Is it possible to edit the '$' or '#' symbols for users? [duplicate]

What file needs to receive edits in order to make such adjustments?
2
votes
1answer
2k views

How do I determine where DNS requests fail in the TCP stack?

I have the networking setup described here: Why is this static route not taking effect? Currently, I can ping my DNS server but all DNS requests fail: ~$ ping 130.35.249.52 PING 130.35.249.52 (130....
2
votes
1answer
12k views

How can I copy a file from a usb drive to a directory on the hard drive in Centos 6?

I would like to copy some files from a usb to a ssd hard drive running CentOS 6.5 How do I do this?
1
vote
0answers
168 views

Transparent encryption of bash history?

I'm not sure if anyone has done such things before. I want bash history to be fully encrypted, prompt for password when in interactive session. Is that possible?
0
votes
1answer
527 views

Switching from Xorg to console does not work

I am running Debian testing with Xfce. When I boot the machine I can see some usual booting messages, the last message is this: Waiting for /dev to be fully populated ... After a short time (1-2 ...
1
vote
0answers
70 views

OpenVPN not connecting on one network?

I've been using my VPN (privateinternetaccess) for almost a year. I've been connecting through the same gateway, using the same username and password, with the same settings. Yesterday, it randomly ...
1
vote
0answers
112 views

Disable a monitor from multi head

I have a multi head config. I wish do disable one of the screen from cli. My multi head is configure as a one virtual monitor and the monitors shows the segments of it. Xrandr --off messes up the ...
3
votes
1answer
74 views

Grsecurity subject mode x

I am conducting some research on Grsecurity on Hardened Gentoo, see http://en.wikibooks.org/wiki/Grsecurity. To be more specific, I am trying to find an example where subject mode x makes a difference....
0
votes
2answers
43 views

ssh to a new user in ubuntu

I created an user in ubuntu and now I want to do ssh with that user. I'm able to do ssh but I'm not getting in the shell: myUserName@myMachineName:path$ I just get: $ And I don't see the path ...
3
votes
0answers
87 views

ext4 flags to specify “extents” mode?

I've formatted a new filesystem with and without extents feature just to understand how this feature works. However, when I look at the inode field i_flags I see that this field always has zero value (...
21
votes
4answers
52k views

History of IP addresses that accesed a server via ssh

It has come to my attention that a server of mine has been hacked and infected with a known chinese botnet. It was a prototype/testing virtual machine with its own static IP(US address) so no harm ...
1
vote
2answers
49 views

Install-on-Demand Wrapper Function for Executables

How do I make the following function work correctly # Install git on demand function git() { if ! type git &> /dev/null; then sudo $APT install git; fi git $*; } by making git $* ...
4
votes
2answers
12k views

Where kernel configuration file is stored?

I currently run Angstrom Linux 2.6.32. I intend to upgrade linux kernel from 2.6.32 to 3.0.7. For this reason, I had to configure kernel 3.0.7 running make menuconfig. Now, I want to compare the new ...
2
votes
2answers
55 views

Output of one command is piped to another one; how to close both?

I call Qt Assistant like suggested on stackoverflow: nc -lkU ~/.assistantfifo | assistant -enableRemoteControl & Qt Assistant window is opened, and if I call jobs, it returns: [1] + running ...
2
votes
1answer
148 views

GTK Icons for special files

Does named pipe for instance have it's icon, I have a theme for GTK and when I've create named pipe it give icon from gtk-file.svg file or symlinks that point to that: application-x-empty.svg empty....
1
vote
0answers
123 views

Running a script after tty1 has loaded

I have been attempting to write a script to run dcled on start up, the program that runs this. I am using Debian Jessie with multiarch enabled. This is essentially a small file server. I am ...
4
votes
1answer
145 views

Why does the MINIX installation ask how big /home should be?

While installing MINIX is was asked how big do want /home to be. --- Step 5: Select the size of /home --------------- MINIX will take up 611 MB, without /home. How big do you want your /...
1
vote
1answer
560 views

Fix for: /usr/lib/libnssutil3.so: undefined reference to `PL_ClearArenaPool'

Error occurs during attempt to make via: cc -m32 -s -o ford_check_password ford_check_pws.o wsl4_cookie_auth.o fds_auth.o -L. -L/ford/thishost/proj/dmadmin/ford/lib -lcrypto -lldap50 -lssldap50 -...
5
votes
2answers
1k views

Reliable way to detect ext2 or ext3 or ext4?

I need to detect a filesystem type from a C/C++ program using the filesystem superblock. However, I don't see much differences between superblocks for ext2 and ext4. The s_rev_level field is the same (...
2
votes
1answer
237 views

How can I know the default path for log directory?

I am programming in shell scripting, and would like to log results. Is there any way to know what is the default path storage for logfiles in my operating system? I have researched: set | grep "...
2
votes
1answer
14k views

How to resolve ssh connection refused on AIX?

I am no longer successfully able to connect to my AIX LPAR. ssh -v user@<ip> OpenSSH_6.2p2, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data /etc/ssh_config debug1: Connecting to &...
2
votes
1answer
878 views

CentOS 6.5 have to manually add the default route

With CentOS 6.5 on an R710 I have to manually remove the default route; and sleep 10 before adding it back otherwise the interfaces do not use the default route that was added upon boot. There are no ...
7
votes
3answers
2k views

Is there a multi-user webdav server available for linux?

I'm looking to completely decommission my SMBA service and replace it with a WebDav service. All the google searches so far have pointed me to using Apache / Webdav. This is close to what I need but ...
4
votes
0answers
450 views

EDID Invalid on USB DisplayLink Device

I have a Sabrent USB to HDMI adapter which is a DisplayLink device. It's recognized by udl as being a DisplayLink device, yet seems to be rejected/disabled due to having an invalid EDID: [32780....
0
votes
3answers
221 views

Open list of files in vim to specific lines

I know about vins command line operator but I need a version that works on multiple files . For instance I have a stack trace file and would like it to open all of the files to the line in a ...
6
votes
3answers
3k views

Apache server starts automatically after stopping the service

What can cause httpd to start automatically after stopping it? In a bash script I need to first stop apache web server. This is the script: apachectl stop; while pgrep httpd; do sleep 1; done echo "...
1
vote
2answers
372 views

Gentoo XEN host + EFI + MDADM + IMSM RAID5

I have a workstation with a working Gentoo setup. It uses IMSM FakeRAID (level 5) with 4 disks. Booting done without bootloader using Linux kernel EFI STUB. System works fine. Now I need to setup XEN ...
6
votes
3answers
34k views

Bash script error: integer expression expected

I'm having a rather weird issue, I'm running a script (Bash) on multiple servers and it stopped working on one of the servers (works perfectly fine on all other servers). Here is the problem part of ...
3
votes
1answer
2k views

How to mark “not fully installed” apt-get package as “successfully installed”

I have installed Debian 7.4 on my Iomega ix2-200 NAS, following this blog. The ix2-200 is running an ARM Marvel CPU and has a 128 MB NAND flash memory. The flash contains an initramfs image (uInitrd) ...

15 30 50 per page