0
votes
3answers
2k views

Does delimiter parameter on cut command, always expects it to be in between a string?

I noticed something with the cut command today, which somehow I had never noticed before, even though I have been using and working with them for a long time. From string /users/developer/, I wanted ...
-1
votes
1answer
527 views

SSH screen (CentOS) crashes

I use the screen command to run a Minecraft server on my CentOS 6.4 machine. However, once I end the SSH session, the Minecraft server and the screen will eventually simply stop such that when I come ...
0
votes
1answer
461 views

Anti Aliased Fonts with NoMachine NX

I am running nx server on a headless ubuntu server. Its desktop is to Unix -> Custom -> Emacs which gives me an Emacs window on the local machine. The only thing that does not work as expected is the ...
0
votes
1answer
584 views

centos httpd.conf set different ip for a directory

I have 3 IPs in my server, i want use them to increase twitter API limits. How to set a different ip for a directory in centos 6.1 httpd.conf (apache 2.3.1) I added these line in the bottom of ...
1
vote
0answers
1k views

Install Linux Mint 14 from CLI

I'm trying to install Linux Mint 14 from a live cd on a HP Pavilion laptop. I got some problem with X and the nvidia card, which prevents X from starting (and therefore prevents the live installer ...
1
vote
3answers
1k views

Different “history” command output after reconnecting via SSH

Why do I get different results for the "history" command for the same user after I reconnect a disconnected SSH session? I connect to a server using putty (SSH), say as root My network gets ...
-1
votes
1answer
142 views

System call tracing [closed]

I am working on system call tracing for host based IDS, i need to trace a process as soon as it entered in the system (a new entry in /proc). Is there any interrupt or signal or kernel datastructure ...
6
votes
4answers
11k views

Why is sed giving me an error about an unterminated `s'?

I have a set of sed replacements in a bash script and am getting an error about an unterminated `s' command. Here's what the sed line looks like: sed -n -e "s/TMPFOO1/$FOO1/" -e "s/TMPFOO2/$FOO2/" ...
1
vote
2answers
667 views

Chaining mysqldumps commands to output a single gzipped file

Let's say I have these series of commands mysqldump --opt --databases $dbname1 --host=$dbhost1 --user=$dbuser1 --password=$dbpass1 mysqldump --opt --databases $dbname2 --host=$dbhost1 --user=$dbuser1 ...
8
votes
2answers
7k views

Launch a GUI browser on server without a GUI? [duplicate]

What's a simple way to launch a browser on an server that doesn't have a GUI, but needs a GUI-like browser? Something like Firefox or Chrome. I need to trigger a page load but it needs full javascript ...
-1
votes
1answer
1k views

Can't uninstall vim [closed]

I've got a problem with vim deinstallation. I've done sudo apt-get remove on vim, vim-common, vim-tiny and actually anything starting with 'vim' in the package list, but still can run vim from command ...
1
vote
1answer
319 views

Setting up network cards on FreeBSD

I just installed FreeBSD 9 on a new laptop and I'm having some trouble getting the network cards to work. Presumably the file representing the cards is in /dev, but where would the configuration files ...
1
vote
0answers
31 views

difference between non-builtin 'test' and '[' [duplicate]

I am aware that bash builtin test and [ commands are exactly the same, but what about /usr/bin/test and /usr/bin/[? I guess those two are not exactly the same as then one would be just a symlink ...
1
vote
1answer
937 views

Removing Clock screenlet in Linux Mint

I admit the question is kind of stupid, but I honestly can't do anything about this weird issue. I've added a Clock screenlet (with a custom theme) on my desktop and the thing is that I can't remove ...
0
votes
2answers
134 views

Free gnu/linux distribution for web server [closed]

I would like to ask if anyone has tried using any 100% free software distro as server OS. Either directly on hardware or through a virtual machine. What where the most important shortcomings? I came ...
5
votes
1answer
9k views

Openldap backup restore

I am trying to setup backup and restore and make sure it works. Please note that database size on ldap.old is lot more then the ldap. The /var/lib/ldap.old is my existing database. I have renamed ...
1
vote
4answers
53 views

Ambiguously named executables

It appears that in tcsh if I have ambiguously named executables in two separate folders in the $PATH it directs to the one in the most recently created folder. Am I correct? And is this always true? ...
3
votes
2answers
1k views

Finding yum equivalents of apt repositories?

I have code to setup an Ubuntu server that relies on apt-get. It has lots of packages as documented on our project wiki, for example these: development environment and the ruby dependencies. However, ...
2
votes
1answer
2k views

What is user address space and what is it's purpose?

I am reading about processes. I came across a topic "How a process is created" wherein I encountered the following :- The process image as viewed by the kernel runs in its own user address space ...
4
votes
4answers
631 views

Can I write the output the of time difference command to a file?

Can I write the output of the time difference command to a file? For example, I tried: $ time foo.sh > bar.txt But it only gives the output of foo.sh to bar.txt.
0
votes
0answers
2k views

gnome-terminal won't launch because it crashes every time

gnome-terminal worked this morning, and I haven't installed any software or changed any OS configurations. Now every time I try to open a terminal window, I get an error dialog: The application ...
4
votes
1answer
305 views

Can I create a symlink that will ignore subdirectories?

I'm trying to get dropbox symlinked to the relevant folders in /home. I'd like to symlink them like this: ~/Dropbox/Pictures --> ~/Pictures ~/Dropbox/Camera Uploads --> ~/Pictures/Camera ...
3
votes
3answers
132 views

how to form a sed expression containing escaped characters

Given a sed expression (and GNU sed 4.2.2 on ArchLinux) /match/i\tline1\n\tline2 which should insert two tab-indented lines above the match, I find that the escaping of the first character (in the ...
5
votes
1answer
128 views

Can an OpenSSH server forward inbound traffic to another server?

In my current work setup, I have: Windows 7 laptop Ubuntu virtual host / SSH Windows 2k8 guest I'd like to be able to RDP from my laptop into the Windows guest without having to open additional ...
3
votes
1answer
778 views

“provide net” in gentoo init script doesn't work as I thought

I'm running into a strange (to me) problem. I'm running a gentoo with two net interfaces: enp5s0 (wired interface) and wlan0 (wifi). When I try to run a program, for example openvpn, from its script ...
-2
votes
1answer
65 views

How I should load file with setkey -f

I would like to load a text on Fedora. I use this command: setkey -f "name" but the file cannot be found. I have the file on my desktop.
1
vote
1answer
403 views

Cannot make anyfs-tools. My e2fslibs package seems not to be the compatible version

anyfs-tools promises to convert a ntfs partition into ext3. That's what I want to do. (I have backed up what was necessary). But when I try to compile anyfs-tools I get a make compilation error ...
5
votes
2answers
389 views

Which was the very first music player application for Linux?

I'm writing an article about FOSS and Linux music players. What was the very first music player application for Linux? Was there ever a time when the players didn't support proprietary formats like ...
0
votes
1answer
226 views

ERROR:While Updating

I am using RHEL6.Whenever I am tryiung to update my machine it says that [root@ASL-DRDO manmatha]# yum update Loaded plugins: product-id, refresh-packagekit, security, subscription-manager This ...
3
votes
4answers
3k views

Dual boot - Kubuntu and Windows 8 - how to?

I recently installed Windows 8 on my computer. These are the specs: Fx-8150 CPU 8 GB RAM ATI HD7870 120 GB SSD 2 TB HDD Mainboard: Gigabyte GA-970A-UD3 (rev 1.1) (only bios but EFI mode possible ...
1
vote
1answer
65 views

Oracle 11gR2 grid silent installation: error for privateinterconnects

I am installing Oracle grid 11gR2 using silent install with response file. I am getting error after "Collecting interface information for node 1" in logs. I have a feeling that this could be due to ...
1
vote
1answer
2k views

Assembly files in obj-m list when building kernel modules

I'm trying to build kexec as a module, but I'm running into a weird problem. My obj-m is: obj-m += kexec.o machine_kexec.o relocate_kernel.o When I run the makefile, it complains that there's "no ...
2
votes
3answers
650 views

Forcibly create directory hard link(s)?

I understand the reasoning why nearly every unix version doesn't allow hard-linking of directories (in fact HFS+ on OS X is the only one I know, but even that isn't made easy to do yourself). However, ...
2
votes
0answers
82 views

Search in evolution does not find umlaut in different encoding

I use Evolution 3.6.4 on Fedora 18 x86_64, my main language is German. I got a mail (on my imapx account) encoded in iso-8859-15 with the word "hügelig" in it. The mail is displayed correctly in ...
4
votes
5answers
6k views

bash getopts, short options only, all require values, own validation

I'm trying to build up a shell script that accepts various options and getopts seems like a good solution as it can handle the variable ordering of the options and arguments (I think!). I'll only be ...
12
votes
2answers
7k views

tmux set-titles doesn't work?

To start tmux on every shell login, the following was added to the ~/.bashrc (on the server): if [ $TERM != "screen-256color" ] && [ $TERM != "screen" ]; then tmux attach || tmux new; ...
2
votes
1answer
662 views

Dependencies problem with automake

I am using automake on Debian Squeeze for compiling a very simple C project with 6 source files. The issue comes when I try to compile the sources using the generated Makefile. One of the sources ...
-1
votes
2answers
74 views

how browsers intelligent on OS detection? [closed]

I am using a Linux PC (Ubuntu). Recently I went to install Dropbox on my PC and it was successful. The only matter right now I am thinking is simply how my browser helped Dropbox to forward me ...
3
votes
4answers
2k views

How can I uncompress gz files in random directories and store the decompressed files in those same directories?

CentOS 5.9 I've got a server with a foo.ext.gz file located in a variety of random directories. Example: /opt/fooapp/foosubdirectory/foo_randomnumber/blah/blah/foo.ext.gz ...
10
votes
4answers
2k views

Why does “$(( ~33 ))” produce -34?

$ echo $(( 255 )) 255 $ echo $(( 33 )) 33 $ echo $(( ~33 )) -34 $ echo $(( ~255 )) -256 $ and my kernel is: $ uname -a Linux HOSTNAME 3.2.0-40-generic-pae #64-Ubuntu SMP Mon Mar 25 21:44:41 UTC ...
0
votes
1answer
62 views

include a binded folder for each new users created

In a nutshell, my ftp server consists of 2 folders for each individual users. so john has this on his directory /home +/john +/pub <-- binded to /var/ftp +/private my public folder ...
2
votes
2answers
177 views

confuse with awk user define function

I have solved Projecteuler Problem 3, but the thing is that I am not able to create the function in awk. I have tried this working code (without function): #!/usr/bin/awk -f BEGIN{ ...
2
votes
1answer
761 views

Separate STDOUT noise from ncurses

I am trying to run an ncurses GUI application on an ARM board. I am running it using the serial console ttyAMA0 port. But when I run the ncurses program, the other processes running in the background ...
12
votes
1answer
829 views

How to do `head` and `tail` on null-delimited input in bash?

find command can output names of files as a null-delimited strings (if -print0 is provided), and xargs can consume them with -0 option turned on. But in between, it's hard to manipulate that ...
3
votes
1answer
6k views

Is there any FileZilla Server alternative (GUI based) in Linux?

I'm wondering is there any alternative to FileZilla server in Linux? I'm looking for a server with GUI manager which offers nearly zero configuration so I can run and manage FileZilla server within ...
2
votes
0answers
2k views

How to run ssh -t user@remote 'sudo nohup bash -c “comand”' in background

I want to run a script on a remote host with sudo privilege, someone suggests that I should use nohup and ssh -t, like the following command: The script ls; sleep 10; echo finish is crafted here to ...
4
votes
1answer
718 views

when timing a command execution time with sudo, `time` should be before `sudo` or after `sudo`?

when timing a command execution time with sudo, time should be before sudo or after sudo? time sudo command or sudo time command which one is correct? the output seems very different to me ...
2
votes
1answer
3k views

redirection to file issues with nohup and pipe

For the following command: ssh -t esolve@hostname 'sudo nohup bash -c "ls > log 2>&1 &"' I always got error information: nohup: ignoring input and appending output to ...
1
vote
1answer
775 views

Can kexec be built to a standalone binary, to be used where kexec was not built into the kernel?

I have remote embedded Linux devices I am trying to update to a new kernel without having to physically access. However, the command line options they boot with make one of the MTDs read only - I ...
2
votes
2answers
117 views

Auditing Linux: tell me to what IPs a connection was established

I need a command, or something that runs as a cron job, that logs what IPs my machine is communicating with, what ports, and what process did it.

15 30 50 per page