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
0answers
2 views

how to add application to initrd.gz

0 down vote favorite i have initrd.gz (from linux parag*n live cd) i want to edit the file inside and add app like apache,ophcrack,etc. so far i've done extracting by following these step ...
24
votes
2answers
11k views

scp between two remote hosts from my local

I have two remote hostes. host1-> 10.3.0.1 host2-> 10.3.0.2 Both are installed with ssh and scp. In my scanario, ssh and scp listen to port 22 in host1 and in host2 it is port 6969. Now, using my ...
0
votes
1answer
295 views

Remove grep's line number output in Redhat 5.9

I havent used RH 5.9 until now. I started with 6 but we have some 5.9 servers. The syntax with 5.9 is a bit different with some things. grep for example will output a number line before the actual ...
1
vote
1answer
11 views

How to keep the reverse shell open in Netcat?

As soon as the command prompt is closed on the target machine the reverse shell is closed on the client machine. Is there any way to keep the port open and Netcat working after the target machine ...
0
votes
0answers
2 views

Squid time based ACL

I've got time-based ACL's configured that I thought were working, but they're not. Here's what I have set: #### Time access ACLs #### acl weekday_access time M T W H 7:30-21:00 acl friday_access time ...
0
votes
2answers
28 views

Disable Root — what all issues will arise?

I have a linux server that I access using root and SSH keys (i.e. no root password). I have also created a non-root-user (and a corresponding non-root-user's-password) with sudo privileges. My web ...
0
votes
1answer
32 views

Why does BTRFS seem to have comically large allocations for metadata? [duplicate]

I've recently discovered the marvel of a modern filesystem, btrfs. After playing with it for a few hours, I decided to dive straight in and converted my entire /home partition using the btrfs-convert ...
0
votes
0answers
9 views

Dual Boot Lenovo ThinkPad L520, 32 or 64 bit for Ubuntu

I'm confused... Lenovo runs Windows 7 Professional 64 bits but I'm unable to dual boot any Linux Distro in 64 bits, only 32, system freezes in BIOS while it reads the USB Live Key (freezes at install ...
0
votes
3answers
911 views

Unable to get Samba server to work in Linux Mint 17.1

There are two folders AFolder and .AFolder which I want to share through a Samba server. I am not able to get it to work. shivanand@Pattanshetti-home /etc/samba $ cat smb.conf [global] server string ...
0
votes
2answers
12 views

How do I manipulate a file that is named - (i.e. dash)?

I have a file named - I don't know where it came from, but I would like to look inside it to find out more about it. However, all of the Linux commands think I'm referring to standard input or they ...
14
votes
5answers
36k views

How to create VHD disk image from a Linux live system?

Once more, I have to resort at the experts here at SuperUser, as my other sources (mainly Google ;-)) didn't prove very helpful... So basically, I would like to create a VHD image of a physical disk ...
0
votes
0answers
6 views

Transfer speed of an individual process

One of the processes on our webserver that talks to an external email server is running really slowly. How can I find its transfer speed to/from the mail server? Needless to say I can't just look at ...
3
votes
0answers
33 views

why am I not seeing traffic using TCPDUMP while sniffing on wireless interface with the station in WDS mode

I've 2 wireless interfaces one has the type of AP and the other has the type monitor. the AP is attached to a bridge br-lan. When I run for example: tcpdump port 5201 -s 0 -ni wlan0 TCPdump is ...
0
votes
0answers
3 views

Opening an serial connection to bluetooth device with Bluez4 and rfcomm fails with connection refused

I have a Radxa Rock single board computer running Debian Jessie. Attached to the Radxa Rock I have a Bluetooth dongle (Anycom-500). With this Bluetooth dongle I want to pair with a LEGO Mindstorms ...
0
votes
1answer
9 views

Wake on Lan - Install a client on a Linux machine

this might seem obvious or stupid to somebody, but I can't find anything that helps me yet, besides the fact that I'm not a Linux user. I've got 2 NAS boxes (Iomega, now Lenovo) IX4-200D and ...
0
votes
0answers
10 views

Scrolling in tmux over SSH (PuTTY) [duplicate]

I'm SSH'ing into my RaspPi (Raspbian) with PuTTY and I want to user tmux in order not to worry about a connection ending while I'm installing something. My Problem is, that when I call tmux from a ...
76
votes
3answers
179k views

How do I get Java support on Google Chrome in Linux?

Is there a way to run Linux Google Chrome with Java support?
0
votes
0answers
9 views

Gitlab 7.10 install doesn't create proper ssh git user config?

I am setting up a Gitlab instance on my home VM lab and am baffled with the way SSH is configured in Gitlab so I would appreciate some insight into whether I am doing something wrong or is Gitlab ...
3
votes
1answer
2k views

How can I fix this configure error?

I'm trying to build mosh from source on a SUSE10 machine and am getting the following error: checking for protobuf... no configure: error: Package requirements (protobuf) were not met: No package ...
-1
votes
0answers
12 views

Funtoo vs Gentoo [on hold]

What are pros and cons for gentoo and funtoo? From my reading I like funtoo more (git for portage tree, its networking, ...) but I read Now the Funtoo packages tend to be older and masked in a way ...
0
votes
0answers
10 views

Ubuntu Server 14.04 unresponsive / crashed after a while

I recently posted a question on ServerFault in hopes of getting some hints on where I might look to find the reason for my recent crashes. It was closed as off-topic (because I am an 'end-user' asking ...
0
votes
0answers
15 views

Raspberry PI not booting

I just bought a Raspberry Pi B+ model and i am trying to load SNAPPY UBUNTU CORE using it. I have followed the instructions and wrote the ubuntu core into a 32gb SD Card. But it seems the Pi could not ...
0
votes
0answers
16 views

Replace an installed program with a newer version

I have GCC 4.6 on my Raspbian installation, but I'd like to use GCC 4.9. I can of course do sudo apt-get install gcc-4.9 but then I have to use gcc-4.9 in order to use the newer version of GCC. I can ...
2
votes
2answers
17 views

start process from ssh and be able to close connection

I'm connecting to my RaspberryPi with Raspbian installed via ssh. My problem is that I can't let the RasPi do things (e.g., installing software, performing calculations) while my computer is shut ...
2
votes
1answer
22 views

Switch default sound card, while both use the same driver

I have problems with sound on my Linux Mint 17.1. It generally works, but gets interrupted by scratchy noise most of the time. I followed some tutorials and here is what I found out: $ LC_ALL=C sudo ...
2
votes
1answer
35 views

Faster recovery from a disk with bad sectors

Recently I tried to dd from an unhealthy HDD to a file. I used dd if=/dev/sdb of=somefile bs=4096 conv=noerror,sync. My problem was that dd wasted a lot of time when it encountered a bad block. In my ...
0
votes
0answers
18 views

How can I access the internet connection on a windows machine via usb from a linux machine?

Suppose I have a laptop with a linux system with no internet connection, and a windows 7 pc connected to the internet. How can I use the internet connection of the pc on the laptop, connecting the ...
31
votes
3answers
3k views

Can history files be unified in bash?

I routinely run multiple screen sessions on my Linux desktops and servers. A problem with this is that when I grep through my command history, I find I issued a command in a different session, and ...
1
vote
3answers
32 views

Why I can't access to this directory after that I use the chown command?

I am not so into Linux and I have the following problem. I have installed a LAMP environment of an Ubuntu Linux system dedicated to the develop (it is on my PC and it is not a production server). So ...
2
votes
4answers
2k views

Static IP for up VPN?

To setup a VPN is it necessary to have a static IP? Also VPN is a new concept to me any help (guides) and tips for setting up a VPN Server and Client in Windows (Xp and 7) (alternatively Linux ...
0
votes
1answer
21 views

Linux: routing table - Gateway column: 0.0.0.0 vs *?

I have found SO question about What does 0.0.0.0 gateway mean in routing table? but this is not exactly what I want to know. I have noticed that in some outputs (e.g. here) of Linux route -n command ...
1
vote
1answer
401 views

How can I force Thunderbird to use my preferred text color and to ignore the text color specified in incoming messages?

I use a dark theme in Ubuntu. Everything is fine in Thunderbird except for the messages that arrive where a font color is specified ( I assume Outlook forces a color to be specified). Those messages ...
2
votes
1answer
13 views

Select default network card

I have a laptop connected to the internet via Wi-Fi. It is also connected to a private network via LAN. If the laptop is connected to both networks it doesn't have internet connection. How can I tell ...
0
votes
1answer
17 views

How to correctly set writable the /var/www/ directory of an Ubuntu Linux system?

I am a software developer so I am not so into operating system configuration details and I have the following problem. I have installed a LAMP environment of an Ubuntu Linux system dedicated to the ...
1
vote
1answer
2k views

Installing Gnome 3.12 from stable repository for OpenSUSE 13.1

I installed (upgrading) Gnome 3.12 from a stable repository for OpenSUSE 13.1, I follow this: sudo zypper ar http://download.opensuse.org/repositories/GNOME:/STABLE:/3.12/openSUSE_13.1/ GNOME sudo ...
0
votes
0answers
4 views

NullPointerException using the VisualVM launcher

I'm running Arch. I installed eclipse-java from the AUR and later installed visualvm from there too. After setting up the visualvm launcher, and creating a run configuration using it, I still get a ...
2
votes
2answers
175 views

TERM=xterm-256color vs xterm+256color

I noticed debian ships with a terminfo xterm+256color while most other distros only have (and is the default in osx) xterm-256color looking at the info on both, i can see that xterm+256color is very ...
0
votes
1answer
27 views

How do I add customer data to the end of a NSIS installer

NSIS allows you to insert data on to the back of their exe files and then allows you to be able to read that data back during installation: http://nsis.sourceforge.net/ReadCustomerData How do I ...
1
vote
0answers
15 views

Script that search for a string in the ouptput of a command

This may sound a bit complicated but I do not see any other way. I want to create a script that will check after running the command 'cli ha' to search if a certain line contains a string = 'Active' ...
1
vote
0answers
64 views

Limiting low bitrates with iw on ath9k

I am trying to prevent low (legacy, B) bitrates to associate with my AP, using ath9k and iw. I think I should run: iw wlan0 set bitrates legacy-2.4 6 9 12 18 24 36 48 54 ht-mcs-2.4 lgi-2.4 But is ...
1
vote
0answers
13 views

Stop automatic comments in my crontab

I have added the bellow cron jobs in my crontab : 0 5 * * * /bin/systemctl restart gb_subagent.service 28 13 * * * /home/comment.sh &>/tmp/errorcron.log 29 13 * * * bash ...
1
vote
3answers
27 views

Listing folders without certain file

I have a 150 subfolders. Apparently 4 of them do not have files that should be in them, named PKA.dump How can I run a command in linux to find which folders are missing the file PKA.dump?
3
votes
2answers
61 views

Linux's write command issue

I'm trying to send a message to myself through write command because I want some scripts running in the background and being able to echo things to the terminal where I am. So, I get always the same ...
-2
votes
0answers
23 views

Router firmware back to its factory default

I upgraded TP-Link TL-WR841ND v7 to dd-wrt but wireless was not working. So I switched it back to its default firmware. I tried factory default settings and firmware upgrade back to its default ...
3
votes
0answers
33 views

FTP with TLS doesn't work, nor can I change port in pure-ftpd

I have been having problems with my ftp server that I have tried fixing for over a week now. My configuration: I am running Raspbian on a Raspberry Pi. My ftp server is pure-ftpd, and I'm running ...
0
votes
0answers
14 views

How do i remotely connect to linux box bu tunneling via windows machine

i have a windows machines which serves as jumpb box where it has access to other network behind the firewall and i can do RDP from my laptop(windows) to this windwos machine (JB) Now i need to ...
3
votes
1answer
33 views

How to fix my locale to display Unicode correctly in irssi?

I've just arrived in my new lab and japan and the server I can use has only Japanese locales. A call to locale -a returns C POSIX ja_JP ja_JP.eucjp ja_JP.ujis ja_JP.utf8 japanese japanese.euc So I ...
240
votes
7answers
156k views

How to chmod 755 all directories but no file (recursively)?

How to chmod 755 all directories but no file (recursively) ? Inversely, how to chmod only files (recursively) but no directory ?
0
votes
2answers
3k views

apache wont follow symlinks | 403 permission denied

I'm using Ubuntu 14.04, and have a problem with the Apache configuration: I created a Symlink from /var/www/html torwards /home/me/myWebDirectory but localhost/myWebDirectory renders a ...
3
votes
1answer
3k views

RW mounted usb drive regarded read-only by cp

Context Can any of you help me with the following, I've got a micro sd card inserted via a usb stick into my Compaq 8510w laptop running the latest Arch Linux (x86_64) release. I have a udev rule ...