Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
2answers
10 views

Best synchronization tool for UNIX

I often find myself working on an out-dated version of a document, because I previously edited it on my MacBook and now I'm on my Mac Pro. I'm looking for a tool to help me synchronize this as ...
1
vote
1answer
10 views

How to run a symlink pointing to an executable in terminal (Linux)

I installed NodeJs on an Ubuntu machine, and the package have been installed as nodejs. Now, to run it as node, I created a symlink: sudo ln -s /usr/bin/nodejs /usr/bin/node This will work if I ...
0
votes
0answers
31 views

Alert when blocked computer attempts to connect via SSH

I know how to block a certain Ip from connecting to my computer. I blocked the IP by editing the /etc/hosts.deny file. Then added the line ALL : IP. Is there a way for when that IP tries to connect ...
1
vote
0answers
15 views

Realms in Asterisk

How can a system (Asterisk) accept realms? I mean, for example we have two SIP accounts: exampleuser@test.com and exampleuser@anothertest.com. For Asterisk by default, these two accounts are the same ...
1
vote
1answer
11 views

Openssl decrypt from encrypted text from command issue

I am using following command to decrypt an base64 string. openssl enc -in ciphertext -out binarytext -d -a openssl rsautl -decrypt -in binarytext -out plaintext -inkey private.pem I am facing an ...
0
votes
0answers
6 views

How to import preference in existent workspace to new workspaces in Eclipse?

I'm running Eclipse bundled with Android SDK. And I wonder if it is possible to have it so each new workspace I create I have the preference I set in previous workspace. E.g. whitespace instead of ...
1
vote
0answers
12 views

Lubuntu 13.04: Copying from MTP device (Nexus 4) gives file names with numbers

I'm running Lubuntu 13.04 and the MTP device in question is a Google/LG Nexus 4. My computer is finding the phone with no problem and asks me what to do when I plug it in. I can browse the phone's ...
0
votes
1answer
11 views

What is the general strategy for handling multiple missing shared objects?

I'm still learning Linux, so bear with me... I ran ldd on Apache's httpd and found many missing shared libraries. I am new to this machine and am not sure whether some of these are misplaced or ...
0
votes
0answers
8 views

Close a specific Chrome tab in Ubuntu/Linux using terminal command

Is there a way to close a specific Chrome tab with a terminal command? I tried below commands: kill -9 <pid of Chrome tab>: Instead of closing a tab, it kills the tab ("He's dead Jim" message ...
2
votes
1answer
28 views

Running `cp -r ~/.ipython ~/some/path/.ipython` a second time creates `~/some/path/.ipython/.ipython`. How to prevent that?

I am using a script to copy directories to a specified location. When I run cp -r ~/.ipython ~/some/path/.ipython the .ipython dir is copied as expected to the specified location. But when I run this ...
0
votes
0answers
12 views

sandboxing libreoffice on Linux

I want to build multiple versions of libreoffice on a machine (Debian 6) and want to test these versions against a set of test cases automatically. I also want to test the given libreoffice version by ...
0
votes
3answers
42 views

How to remove multiple files in linux? [duplicate]

My preview post is about removing the single name file in the system but I actually need to remove big range of files. previous post How to remove files in different folders? For example They are ...
0
votes
1answer
32 views

How to remove files in different folders?

I am trying to remove files that are located in different folders. I have find /project/test/ -name "*junk-12.png" -delete to delete anything like `project/test/bad/testjunk-12.png` and ...
0
votes
1answer
23 views

sed command working in command line but not in script

I have a script with the follow code: find . -name "*.html" -print0 | while IFS= read -r -d '' n; do sed -i -r 's/<font ...
2
votes
0answers
10 views

View number of glyphs in a given font for Linux

For a given ttf or otf font, how to get meta information? Information such as how many glyphs were used, what tool was used, what version of font we have, its label, etc? For windows machine, I have ...
0
votes
0answers
38 views

Do you still googling Linux log messages? [closed]

I am intermediate Linux user which has basic knowledge of programming (c, perl, js ...) and some system troubleshooting (strace, SystemTap, lsof ...) and I am tired of Googling the messages which ...
1
vote
2answers
42 views

How can I know how much memory a program has used under Linux?

Get process memory consumption this question is about getting the memory usage of running program. I need to know how much RAM a program has used after it has finished. Say I am compiling a C++ ...
1
vote
1answer
35 views

scp over ssh tunnel

I want to copy files from a remote computer (W) to a private host computer (P) via scp. Since i can't connect to machine W directly i use an ssh tunnel over 2 different machines with port 22. What i ...
3
votes
1answer
12 views

Linux History Display Dates

I added date and time to my linux history with this command: export HISTTIMEFORMAT='%F %T ' When I actually go to view my history anything that I didn't actually do today seems to pick a time that ...
1
vote
2answers
47 views

How to save echo result into a variable?

I have this output from a s3cmd ls --list-md5 command. 2013-05-22 12:20 1965154 41eae9b40d23de2f02bf07635870f6d0 ...
0
votes
2answers
26 views

Route/NAT/Port forwarding for one port only?

I'm not sure what is the correct term to use and I don't know what tools should I use. The only thing I have is a goal which I'd like to accomplish. I have two linux machines(A and B) and a remote ...
-1
votes
1answer
18 views

Restore MBR on bad HHD after MBR erase

So here is my (kind of) bad situation. I have this ~640GB Seagate 2.5' HDD. It's and old HDD I was using and it has a lot of important personal data. It used to have a MBR and some Linux partitions, ...
0
votes
1answer
23 views

Why does “head -3” give the same results as “head -n 3”?

I'm interested in why head works as it works with given parameters, i.e. head -3 produces the same output as head -n 3?
1
vote
1answer
23 views

cURL SFTP upload speed only 50% compared to command line SFTP

I need to use cURL to upload some files to an SFTP server, it has to be using cURL because I'll be later using cURL_multi etc to transfer files simultaneously (unless anyone knows a command line ...
1
vote
1answer
25 views

PuTTY - Display whole server output (screen command)

I am using PuTTY to administrate a Minecraft server on a remote Linux machine. I do not own the server but I have an SSH account. The server has a console window which can be accessed with the screen ...
3
votes
2answers
70 views

Found a script on my cron.monthly, i am wondering what's it doing?

I am new to bash-programming, sorry if this might be a kind of stupid question. I found a script on my server and i am trying to understand every line: #!/bin/sh # # man-db cron weekly set -e if ! ...
2
votes
2answers
22 views

Build shell variable dynamically

I need to create dynamically a variable name as follows (simplified example): #!/bin/sh IDX=1 SERIES1="a b c d e f g" SERIES2="h i j k l m n" # How to get this value contains $SERIES1 or $SERIES2 # ...
0
votes
0answers
5 views

Centos RAID1 installation

I have installed Centos 6.2 with RAID1 support, after installation I have checked RAID1 by removing one by one Hard disk, Os booted and worked. So after I created new users, installed LAMP, ftp and ...
0
votes
2answers
14 views

linux copy command no destination

I want to just copy some files and paste them somewhere else in another command. The reason is my source and my destination are on two different servers and I need to switch to a new server before ...
-1
votes
1answer
40 views

How do I switch to Dvorak across multiple OSs

EDIT: I am answering my own question, after not finding a combined guide anywhere. Additionally there doesn't appear an answer illustrating the pitfulls and showing the different techniques to switch ...
2
votes
1answer
28 views

How to change the resolution of the Bash for a Debian VM?

I'm trying to learn how to use Linux with a Debian 7 VM that has no GUI. The 640x400 window I'm working in feels a little constricting and would like to make it bigger, say 1024x768. How can I do ...
0
votes
1answer
31 views

Locking a GNU-screen session after x minutes of non-use on Linux

I have a couple of services running in a GNU-screen session on top of Bash. Because one of the services contain sensitive data I have to constantly either close the terminal completely or lock the ...
0
votes
2answers
31 views

Arch Linux MBR installation

Pardon me for my ignorance, but as a new Linux user, I honestly know little to nothing about these things. I'm trying to set up an MBR install for Arch alongside Windows 8, though it doesn't make much ...
0
votes
0answers
11 views

How to set up IPSEC on Linux using low-level tools like setkey?

Suppose I have a host and VM connected using virtual network. I done: host# ip -6 addr fc::1/120 dev eth0 host# ip link set eth0 up vm# ip -6 addr fc::2/120 dev eth0 vm# ip link set eth0 up How to ...
0
votes
2answers
65 views

How can I send an email?

This may sound like a bit of a stupid question, but I have an RFC 2822 standard email file: To: Mr Person <person@example.com> Subject: Finally Figured Out How To Send Emails! From: Josh Date: ...
2
votes
2answers
48 views

Open file in local text editor from within an SSH connection

I'm not a vim guy. I'd like to be able to open log files in Sublime Text when in an SSH connection from within Terminal. Is there a way I could do this? I'm thinking there must be a command or ...
0
votes
1answer
15 views

group permissions for scp

We have a server running as a firebird user. We want to scp files to the server that are need by firebird but copied as another user: it-test. What is the best way to set that up on the ...
0
votes
1answer
26 views

Getting rid of characters when doing gf in vim

I am using vim for coding. When I have something like the following: SomeModule->actualMethod() if I take the cursor to SomeModule and I do a gf I get a complaint that SomeModule- does not exist in ...
1
vote
0answers
14 views

Increase a2dp bitpool on linux

I recently bought a bluetooth headset (Philips SHB4000), and got it to stop sounding like a phone after I told linux (Mint) to use A2DP rather than HSP/HFP. However, there's still an annoying ...
0
votes
1answer
19 views

Partition 3TB disk as 1 primary partition or as 2*1.5TB in a LVM?

I have a Debian box that I am about to restore from backup since the old 2TB disk crashed and died. So I have a new 3TB disk that will replace him, but when I filled the 3TB partition with the same ...
0
votes
1answer
20 views

Persistent DHCP Reservation Timing Out

I have 2 machine inside my home LAN (Netgear WNR2000v2 wifi). One of them is a laptop ("client machine") that will always be assigned random IPs in the 192.168.1.1 through 192.168.1.50 range. The ...
0
votes
1answer
25 views

Save Linux aliases for later usage

After repeating an Arch Linux installation for several times I started to wonder whether I could make things easier for me in the future by taking some general commands that I am bound to use again ...
0
votes
1answer
20 views

Win7 makes my fat32 fs corrupt when i create some files in linux, in dual boot environment

all I setup a dual boot environment with linux 3.9.2 and win7. I used a fat32 partition to share some files between them. After booting into linux, create/delete some files and then switch back to ...
0
votes
0answers
16 views

How to use Arch Build System (abs) behind proxy?

I recently installed arch linux on my laptop and I want to install dwm on it. The arch linux installation guide recommends the use of abs for compiling dwm. However, abs does not seem to work on my ...
1
vote
1answer
15 views

I've just downloaded ADT for Android development, where does it go?

I have just started using Ubuntu with XFCE. I downloaded the latest version of the Android Developer Tools from Google, and now I'm trying to figure out where I can put it. On Windows, I'd just unzip ...
1
vote
2answers
31 views

Why is SSH not honoring my authorized keys?

I have 2 laptops at home, both running Ubuntu 12.04 (Desktop), and both using the same NetGear wifi router. I used a technique called "MAC binding" on one of the machines so that the router always ...
0
votes
0answers
14 views

What exactly does the ikeep mount option on XFS do?

I have a laptop with a 512GB SSD in it. I use XFS as my / file system, mounted with noatime,discard,ikeep. The ikeep is because of some mailing list posting about how slow discard and TRIM was on XFS ...
0
votes
1answer
9 views

Dummy interface in an LXC guest

I am trying to create a split-horizon PPTP setup as described on my website within an LXC container. However, I need a dummy interface within the container to put the DHCP server on. Here comes the ...
0
votes
1answer
23 views

is job different from a process in Linux?

Guys is job different from process in linux? if yes, then there's a job id and proccess id? so commands like kill PID doesnt work on jobs? please explain to me. im confused
0
votes
1answer
27 views

Terminating background job in Linux

Suppose you started a background job and then exited your terminal, will the background job continue to execute? Is this always true?

1 2 3 4 5 364