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

-1
votes
0answers
2 views

To which location on windows I need to import my public key from linux to setup password less SFTP transfer?

To which location on windows I need to import my public key from linux to setup password less SFTP transfer from linux to windows? My target is to transfer files via SFTP from linux to windows using ...
0
votes
2answers
4 views

cronjob not executing python script - tried strace

I'm having trouble making a python script run via cronjob. I can run the python script (it's supposed to connect to a database, pull a few records, save that to a csv, then email it) manually just ...
0
votes
0answers
7 views

NFS and physical storage used in client

I tried searching on the Internet information about NFS and the resources it uses, but I could not find a definitive answer to my question. I want to understand the following: Having two servers on ...
0
votes
1answer
12 views

Uninstalled Ubuntu 14.04 from my computer, Windows 8.1 bootloader is all messed up

I'm coming here for help because I've tried almost every different solution I could find on the internet for any problem that seemed remotely similar. To give backstory, I have an SSD and a HDD. ...
0
votes
1answer
7 views

what does CPU% means in `ps auxf` for processes with parent/child relationship?

When I use ps auxf to display process information with ASCII art process hierarchy. Processes with parent/child relation is listed as below. USER PID %CPU %MEM VSZ RSS TTY STAT START ...
0
votes
1answer
9 views

Delete All Files Older Than Specified Time Within A Directory (Ubuntu)

I have a bunch of files in a directory with all different names and I want to delete all that are older than a specified time. Example: File1 File2 File3 File1 was made Mar 31 08:00 File2 was made ...
0
votes
0answers
5 views

How to flush memcached from bash script?

I need to flush a memcached instance from a bash script, I found the following command which do the job: echo 'flush_all' | ncat localhost 11211 But my problem is that the script doesn't continue ...
0
votes
0answers
7 views

How to transfer directory from remote server to local server?

0 down vote favorite I have a remote server where SSH is disabled and i have only FTP access , on my remote server i have SSH enabled. I want now to download a directory of my remote server to my ...
0
votes
0answers
18 views

Is it safe to use a remote etc/hosts file?

We have 7-8 PCs that have IP addresses in the hosts file. Our issue is that these addresses can change (because we are tied in to corporate DHCP and have no control over this). What I am thinking of ...
0
votes
1answer
9 views

sh -c in background

How to run sudo sh -c "command" in back ground In a terminal sudo sh -c "command" & starts in background but as soon as I press enter, the process exits [test@localhost app]$ sudo sh -c ...
0
votes
1answer
6 views

Switching Default Interface to Route Traffic

I want to switch primary network interface of my Ubuntu machine, I referenced this: http://www.cyberciti.biz/faq/linux-setup-default-gateway-with-route-command/. Here is my setting for experiments: I ...
0
votes
0answers
6 views

Building a mpich cluster with two nodes

I have searched the net for answers to the below questions to no avail. A few questions regarding a two or more node computer cluster. Can the nodes in a cluster be connected via wireless network if ...
1
vote
0answers
16 views

How to properly remove localhost DNS settings on Mac so real world DNS resolution can happen

I’m having an issue removing some local DNS settings on my Mac that’s running Mac OS X 10.10 (Yosemite). I normally use the /etc/hosts file to direct requests from development sites to my guest ...
0
votes
0answers
6 views

Changing user in a solaris script Sudo not an option

Sudo is disabled on my machine. I am creating a script that installs a server that must be installed as root but the profiles must be created as a different user I tried to use su - user - c But I ...
-1
votes
2answers
15 views

Windows Complete Backup

I'm looking to try Linux. How do I completely backup my Windows computer and put it into something like an ISO so I can boot from it later if I ever want to switch back from Linux to Windows? Will ...
0
votes
0answers
2 views

Samba On Linux: Allow Sharing Of Files In FUSE-Mounted Partition

I have this server at home with a single SSD with the following partition scheme: sda1 = 512 MB - EFI Partition sda2 = 512 MB - FAT Boot Partition sda3 = 3096 MB - Linux-swap sda4 = 20 GB - Ext4 (OS) ...
0
votes
0answers
31 views

How can I delete the content between two tags in a large xml file (>2GB)

The File in Question is XML but I want a Shell Script to remove all the binary (Base64) encoded images that are embedded. The files are generally huge (>2GB). I want to delete everything between: ...
0
votes
1answer
16 views

Linux symlink not working

I have been trying to do symlink but It does not work. This is all it gives me after I do the command ls -s /mnt/01A3D80750CDAFF9/Steam ~/.PlayOnLinux/wineprefix/Steam/ dimitri@dimitri-desktop:~$ ls ...
1
vote
1answer
3 views

How to configure pam to use with two different passwords?

Goal: I want to configure pam to use regular user password (pam_unix.so) and extra password. (with success only when I type both passwords correctly and deny (pam_deny.so) in case I type only one ...
0
votes
0answers
13 views

Can't access server using hostname from other PCs on the local network (OEL6)

I have an Oracle Linux 6.6 Server, namely oradb12c. I cannot ping, reach, connect this machine from local network using its hostname, but I can ping, reach etc it from local network using its ip ...
0
votes
0answers
6 views

Wget not getting cookies, not pulling back results in check.

I'm having a couple of issues when porting check scripts between a couple of servers. The script. #!/bin/bash hostname=$1 port=$2 retstatus=0 retStr= st=`date "+%s.%N"` if [ $# -ne 2 ]; then ...
-1
votes
0answers
9 views

Can't send email with Postfix SMTP

I've setup a postfix server with dovecot and mysql. The server accepts emails from my gmail account and I can retrieve them with IMAP desktop client but I can't send emails. /var/log/mail.log Mar ...
0
votes
0answers
7 views

How to extend your monitor to a new X display

The setup is the following: My university provides monitors for groupwork that allow sharing your desktop via x11vnc -connect <address_of_the_monitor>. However, the desktop is then displayed ...
0
votes
3answers
35 views

du -sh : I don't get why these two results are different

I need to know the size of a folder and some of its sub folders. So I'm trying to use the du command. I cd into the right directory and then try (in bash) : [xxx@yyy TEST]$ du -sh . 4.1G . ...
2
votes
1answer
9 views

Cycling through files by filename in Midnight Commander

Sorry if I should have posted this as a feature request to mc developers somewhere. This is such a common and useful functionality I assumed it ought to be there, yet I can't find it. What I want is ...
0
votes
0answers
9 views

Can't resolve domain hosted on same server [migrated]

I have a dedicated server running Proxmox and a VM inside Proxmox running Debian 7. As I only have one IP, I'm using iptables to forward ports to the VM. The iptable rule looks like so: -A ...
0
votes
0answers
15 views

MySQL installed on debian (raspbian), is running in background, but “mysql: command not found”

I have a linux server running at home on a Banana Pi (very similar to a Raspberry Pi) with a few small websites and databases. Specifically; $ cat /etc/*-release PRETTY_NAME="Raspbian GNU/Linux 7 ...
-1
votes
0answers
22 views

Toggling between two internet connections

I have the following two internet connections: a wired Ethernet connection (which goes through a proxy via a proxy config. URL) a wireless WLAN 802.11 g connection (has no proxy) My question is ...
0
votes
0answers
5 views

OpenGL32 error with Wine/PlayOnLinux [Kali Linux]

Whenever I try to to run PlayOnLinux or issue a wine hl.exe -game cstrike command for playing Counter-Strike (1.6) I get the following error on my Kali Installation: A very similar error comes up ...
0
votes
0answers
17 views

use bluetooth headset with raspberry pi (raspbian)

yesterday i spent almost the entire day trying to get something working i expected to be straight forward: getting a bluetooth headset working with linux. I know that there is bluez as the linux ...
1
vote
1answer
14 views

How to match parameter and replace the value after “=” separator

the perl one liner command to replace Value in file is simple: perl -i 's/oldval/newval/g' file.txt but what should be the perl one liner syntax in case we want to replace the value on specific ...
0
votes
0answers
12 views

Printing colorful syntax highlighting to paper

I want to print out some code on paper including syntax highlighting. After some research, I found out, that I could do this in the command line with pygments and enscript, but don't know how to ...
0
votes
0answers
6 views

windows on linux KVM how attach a drive to windows VM

I use the following command to create my windows vm on redhat KVM. virt-install --os-variant=win2k8 --disk path=/var/tmp/virtio-win-0.1-100.iso,device=cdrom --network bridge=virbr1 --disk ...
0
votes
1answer
7 views

gnome-screenshot produces blank png files in mint 17

This produces a blank png file in mint 17, but works fine in ubuntu 12: gnome-screenshot Opening the resulting Screenshot file in the ~/Pictures directory shows completely blank image (all ...
0
votes
0answers
13 views

Unfortunately Blueetooth Share Stopped when setting AndroidX86 with Qemu

I am trying to run AdnroidX86 on Qemu Linux x64. Everything works, installation went fine but I keep getting the error abovre constantly which limits my interaction with the the virtual device because ...
2
votes
2answers
22 views

How can I get a list of all misspelled words in a text using Linux?

I have a text that has a number of misspelled words. I'd like to get a list of all those words, so for a text like this: This is just a normall line with some speling mistakes in it. It would ...
0
votes
0answers
6 views

How to enable bluetooth in Qemu? -Bt option throws and error

I am trying to enable bluetooth with Qemu when running an image (AndroidX86) but I am getting an error. According to the document I can just use the "-bt" switch but that is not recognized by the ...
0
votes
0answers
5 views

Protocol emulation with netem

I want to run some tests over SMB and was wondering if this can be done with netem? The docs make it sound like different protocols can be used but I don't see how. If this isn't possible how can I ...
0
votes
0answers
7 views

Is there a progress indicator for apt-get under Raspbian/Minibian?

When packages are being downloaded via apt-get, there is a nice progress indicator at the bottom of the terminal. How come there is no progress indicator when it is selecting/unpacking/setting up the ...
0
votes
0answers
3 views

Using an IP address range with pppd over fibre dsl

I'm attempting to configure my router (a debian based linux system) to use an IP address range provided by my broadband provider (BT in the UK). I've been allocated some IP addresses and provided ...
3
votes
1answer
35 views

Is it a bad idea to trust Google Drive with my KeePass database? [on hold]

I'm concerned about synchronization and the possibility of overwriting the wrong file. I recently got it set up to synchronize between my laptop (on both Linux and Windows) and my Android phone. ...
0
votes
1answer
14 views

booting Fedora from USB taking forever

I am trying to install Fedora 21 workstation from a .iso usb drive and it is taking forever. It allows me to select the live workstation, and then the white diagonal fill line goes up until it is ...
3
votes
3answers
298 views

Is there a way to set symbolic links to only executable files in Linux?

I have a directory with code files and executable files and I want to know how to create a symbolic link only to executable files in that directory? I know that path-of-directory/* selects all files ...
-1
votes
0answers
18 views

How to disable LED blinking on an MK808B [on hold]

I'm trying to disable LED blinking on my device (Android stick MK808B running 4.2 with external Wi-Fi dongle with RTL8192CU chip). The problem is that the Wi-Fi dongle shines too much and I can't hide ...
0
votes
0answers
5 views

Unable to change screen resolution on Debian 7 Server running without GUI in text mode

I am trying to change the screen resolution on a server running Debian 7 without a GUI. This is bare metal not a VM. I have tried the previous answer to this problem by adding the following settings ...
0
votes
0answers
10 views

How can I mount an HFS+ (Time Capsule) volume Raspberry Pi 2?

I would like to mount my Time Capsule (HFS+) where my music is stored on my Raspberry Pi 2. To do this, I’ve tried 2 commands: sudo mount -t hfsplus //10.0.0.4/'Data' /mnt/timeCapsule -o ...
2
votes
1answer
23 views

Linux utility to convert a binary sequence stored in a text file into ASCII values

I have reversed a file, dumped its binary contents, wrote a tool to perform some operations on the binary, and the output is stored in a new binary file. I want to convert this binary back to ASCII. I ...
1
vote
1answer
23 views

How to dump raw binary 'bits' from a file?

Before this is marked as 'possible duplicate' of this or that, let me make it clear that I have looked at other similar questions. However, they do not suggest how to dump a "pure" and plain binary ...
0
votes
0answers
5 views

dmidecode returning maximum capacity as unknown

I am using Linux mint on my Sony Vaio Laptop model no. VPCEA23EN. I want to upgrade my ram so i tried the following command to find out the maximum capacity of RAM. But it is not providing the ...
0
votes
0answers
18 views

SD Card voids writes

I have a 2 GB SD card that I plug into my computer through a switchless USB adapter. At first, the SD card was unformatted, so I gave it a msdos partition table and a total FAT32 partition. I use the ...