0
votes
0answers
2 views
How do pdflush, kjournald, swapd, etc interoperate?
Recently saw a question that sparked this thought. Couldn't really find an answer here or via the Google machine. Basically, I'm interested in knowing how the kernel I/O architecture is layered. For ...
0
votes
0answers
4 views
Mac external drive ownership setting
I have a mac that just received an external drive which I formatted and plugged in.
When I am logged in as a normal user it all looks fine.
But when I am logged in as root the system recognizes ...
0
votes
1answer
12 views
How to update remote file?
I need to update the contents of a file on a remote host from my local Linux machine. How can i do this?
0
votes
0answers
11 views
How can I replace my udev rules with xorg.conf.d?
Since it is impossible to make udev rules run on startup, I'd like to replace my udev rules with other alternatives. At the moment, I have two primary udev scripts. The first changes keyboard layout ...
2
votes
2answers
17 views
Git commit from within a Makefile
I have a Makefile for a Latex project I'm working on. Makefiles aren't my forte, but is there a way to do something like:
make git "My comment"
And have the makefile execute:
git commit -m "My ...
0
votes
0answers
5 views
Iptable rule to ssh over the internet
I've a server abc.example.com and a remote desktop zzz.example.com. I'm using SSH over a custom port, say, 6789. Whenever my firewall is off, I'm able to connect to the server successfully. But, as ...
1
vote
3answers
17 views
Automating tasks on a website on a headless server
I want to automate a task which can only be done on a website (with prior login) on my debian server.
There is no public API available, so I can't use one.
Is there a way to do so? I thought about a ...
0
votes
1answer
16 views
Linux System Calls & Kernel Mode
I understand that system calls exist to provide access to capabilities that are disallowed in user space, such as accessing a HDD using the read() system call. I also understand that these are ...
0
votes
2answers
8 views
Removing access privileges to backup while maintaining current setup
I have a giant directory, and I am dealing with a backup.
I would like to store this backup in as safe of a way as possible.
One of the ways of doing that is removing rwx privileges through chmod.
...
0
votes
1answer
6 views
What is the point of Virtual replace mode in Vim?
The help says that virtual replace mode commands in Vim gr & GR replace characters in screen estate and not in file.
:help Virtual-Replace-mode
I am understanding this as something like ...
2
votes
2answers
21 views
How to automate connecting to multiple network devices, running a command and saving the output to a file?
I have to run a command on around 1000 network devices and save the output to a file. In a file I have a list of all the network device names that have to be connected to using SSH. I then have to run ...
0
votes
0answers
7 views
BCache and disk encryption
I recently bought a new laptop with a 16Gb mSATA SSD cache drive. I haven't used that one yet.
I have, however, opted for Ubuntu 13.04 with "Full Disk Encryption" for the main partition (is that ...
0
votes
1answer
22 views
Using key file as password with OpenSSL
I got an assignment to decrypt a binary file which is encrypted using aes. I have a 32 byte binary file which is a key for decryption. I know how to decrypt if the key is a passphrase by using
...
0
votes
1answer
13 views
Nvidia Proprietry Driver Causing Multiple Problems
I have recently downloaded and installed NVIDIA-Linux-x86_64-319.17.run for my Nvidia Quadro NVS 130M Graphics Card.
Installation went fine after disabling the X server and running the install from a ...
0
votes
1answer
11 views
How can I mount a remote sshfs directory of an publicly inaccessible server on my inaccessible client machine?
This is an extension of the question by @Andrei
How to mount remote SSHFS via intermediate machine? Tunneling?
I'm in the same situation that I want to mount a remote directory, however the ...
0
votes
0answers
11 views
Computer restarting instead of shutdown when WakeOnLan used
I've configured my server for WakeOnLan and I'm logging in to it through a laptop on the same network.
The issue is, whenever I execute a command shutdown -h now, the server reboots instead of ...
1
vote
1answer
13 views
Installing debian 7 besides windows 8
I ask this question in superuser but no one can answer my question, I hope any one can help me:
I bought a VAIO laptop which Windows 8 preinstalled on it in UEFI mode. Now I want to install Debian 7 ...
0
votes
2answers
19 views
How to split a file by using keyword boundaries
I have a vcf file that contains numerous vcards.
When importing the vcf file to outlook it seems to only import the first vcard.
Hence I want to split them up.
Given that a vcard starts with
...
0
votes
1answer
24 views
How to rename pattern in one file to another over several directories recursively
I have several directories through which I want to recursively iterate over and change the file name of
*.GEOT14246.*
to
*.GEOT15000.*
Is there a one liner on the bash script to do this ...
0
votes
1answer
19 views
Background Tasks on Multicore machine?
Say I have a dual core cpu running linux.
If I start two single threaded processes (nodejs) in the background, how are they scheduled?
Can I assume that the OS will as best as it can, attempt to ...
0
votes
0answers
11 views
Tunnel openwrt requests
I am pretty new to OpenWrt what I want to achieve is the following scenario:
I have a socks5 proxy server running on a machine witch is at work. From my home I wish to configure my router who is ...
0
votes
0answers
12 views
NetworkManager Disappeared from Menu Bar in Parallels/Scientific Linux VM
I'm running a Parallels VM with Scientific Linux 6.2. It's been working fine for awhile, but generally with Linux VMs I've had to use the NetworkManager settings at the top of the menu bar to connect ...
0
votes
1answer
27 views
Identify Tasks/Process which are 7 days old in linux
How can I identify the processes running since 7 days in Linux?
0
votes
0answers
45 views
Executing only the else part
I have developed a script which will compare two dates.
#!/bin/ksh
####################################################################
#
#DECLARING ALL THE VALUES AND PATHS
#
...
0
votes
0answers
8 views
Why is my wlan0 interface on Angstrom (Beagleboard) “Not Associated”?
I'm installing a Angstrom (custom build, not the default build) on a Beagleboard XM.
I can scan for wireless networks using iwlist and see the neighborhood wireless devices.
I have set my SSID and ...
-1
votes
0answers
14 views
How to install flash in fedora for firefox with rpm [closed]
when I installed it to this step in the official readme guide:
Installing the plugin using RPM: o As root, enter in terminal:
+ # rpm -Uvh <rpm_package_file>
+ Click Enter key and follow ...
0
votes
0answers
10 views
Is it possible to display a static image on VNC connections?
Recently, I've been getting semi-regular VNC connection attempts on my computer. It's most likely from the domain I set up a while back, but it appears to be mostly individual connection attempts, as ...
0
votes
2answers
21 views
Cannot remove /log/var/snort as root
I am using Ubuntu 11.10 Gnome.
I uninstalled snort in order to install a more recent version. The new installation initially failed because the system would not let be rm or modify /var/log/snort ...
-1
votes
0answers
22 views
How should I proceed with transfering sites from external hosting to in house? [closed]
I'm a mix of both a sysadmin and developer. In my job we current host around 50 sites across 15 servers with external companies. Now my manager wants them in house , with new servers and virtual ...
0
votes
0answers
18 views
Remove referenced duplicate entries from XML file [migrated]
After hours beating my head against the wall, I decided this is [probably] not the job for a mere shell script.
There's a bug on Google Earth that makes loading KML files very slow: for almost every ...
-2
votes
2answers
25 views
Push local git repo to server via ssh
So I have a local repo and a server with git installed and a git user.
I want to send (push) the repo to the server. When I simply login to the server via ssh I have to specify my .pem file and a ...
0
votes
1answer
11 views
Red5 can't find JAVA_HOME
I'm setting up a Red5 server on Cygwin
I get this
/usr/share/red5$ sh red5.sh
Running on CYGWIN_NT-6.1-WOW64
Unable to locate Java. Please set JAVA_HOME environment variable.
However, I can also ...
1
vote
2answers
42 views
cat files in current folder and all subfolders [duplicate]
I want to cat a file in current folder and all files in all subfolders (and subsubfolders).
Here is my directory structure
$ tree
.
├── f
│ └── foo
└── yo
I want to cat foo and yo.
I've tried ...
5
votes
2answers
35 views
How to install Suggests dependencies of a package
If I want to install a package and its Suggests dependencies, I run:
$ sudo apt-get --install-suggests install <package name>
However, if <package name> is already installed, and not ...
1
vote
0answers
23 views
Lighttpd rewrite rule
Why does a rewrite rule like this not work:
url.rewrite-if-not-file = (
"^parameter/(.*)$" => "/somefunnyfile.php?someparameter=$1"
)
... but a rule like this does work:
...
2
votes
1answer
20 views
Running time command with cron
So I have a crontab that have this line:
30 16 * * * (time sysbench --test=cpu --cpu-max-prime=20000 run) 2>> ~/cpu.out
I use this because time output goes by default to stderr and I want to ...
0
votes
1answer
29 views
Mouse detected as keyboard
I have tried to use my mouse (perixx mx-2000) on Fedora 18 and Crunchbang 11, and for both of them, the mouse does not work.
The "funny" thing is that the mouse seems to be detected as a keyboard:
...
1
vote
3answers
39 views
List all files in a directory recursively but exclude directories themselves
Simple question, I'm running the following find command:
find . -type d \( -path ./.git -o -path ./log -o -path ./public -o -path ./tmp \) -prune -o -print
To list all the files in my directory, ...
1
vote
0answers
39 views
Why does this code work on Linux but not on SunOS? [migrated]
#include <stdio.h>
int main() {
char *str = "11111111-22222222 r-xp 00000000 00:0e 1843624 /lib/libdl.so.0";
unsigned long long start_addr, stop_addr, offset;
char* access = NULL;
...
1
vote
1answer
17 views
Upgrading Debian Squeeze to Wheezy - Should updatedb.conf be kept or replaced?
A similar question to Upgrading Debian Squeeze To Wheezy - Should conf' files be kept or replaced?, but in my case it concerns a different conf file and I am not on Linode.
I am upgrading a VMWare ...
1
vote
0answers
21 views
Gnome keyring issue
I am attempting to restore some files to an OpenSUSE 12.3 machine that was backed up with deja-dup (duplicity). When prompted for the password to decrypt the backup, I enter the correct password and I ...
2
votes
0answers
17 views
Fedora 18 guest in VirtualBox 4.2: How to assign static IPv4 address to guest regardless of active ethernet interface on host
I have a Ubuntu 13.04 host running VirtualBox 4.2.12. This host has both a wired and a wireless network interface, but only one of which would usually be active at any given time. For example, at home ...
-2
votes
1answer
37 views
GParted doesn't recognize the unallocated space after my current partition
I'm using GParted to resize my partitions on Linux. There is about 5GB of unallocated space following the partition sda5. However, when I right click on sda5 and select 'resize/move', it doesn't show ...
2
votes
1answer
28 views
Boot up problem with RHEL 6
I restarted my RHEL 6 box and now I can't get past the logo screen. I tried booting without the splash screen so I could see what's going on, and I'm getting an error message saying something along ...
3
votes
1answer
36 views
Midnight Commander: file size format
When dealing with large files in MC, I have difficulties counting the digits to get the order of magnitude of the file size (hundreds of MB, or tens of GB, ..). Sometimes, I use the trick to press ...
1
vote
0answers
29 views
write(/proc/<pid>/ctl): The requested resource is busy
My application front end and back end are on java and c respectively. The interface is via listener processes on C-side. If there is an error on the c-side, the corresponding listener process which is ...
1
vote
1answer
44 views
How to kill all processes that don't have specific parent process?
A parent process should always be running with N children process.
I would like to run a script which will show/kill all children processes that don't have a parent process.
$ ps faux | grep ...
1
vote
2answers
38 views
process memory usage
What is usually meant by the phrase process memory usage, what does this actually mean, i.e. what does this memory consist of? And what column does it correspond in ps aux output, RSS or VSZ?
1
vote
1answer
23 views
How to add a program to be indexed by Synapse?
I downloaded the IntelliJ community edition and I'm currently running it by clicking the shell script that is in the folder of IntelliJ
I was wondering how I can make Synapse recognize the idea.sh ...
0
votes
0answers
25 views
Zsh: quickly bookmark commands
I just had an idea, I'm sure it must exist though I could not find anything on the web.
This topic gets close to my idea but not enough:
How to quickly store and access often used commands?
I'd like ...


