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
vote
0answers
10 views

G++ Compiler Stalls [CodeBlocks]

I am using CodeBlocks under Kali Linux and the g++ compiler stalls. SOMETIMES, I hit compile and at the bottom I get the message: g++ -fexceptions ...etc build main.o ... and NOTHING happens. If I ...
0
votes
1answer
24 views

Why does sh not find files in my path that do exist?

When I type this in sh it outputs : $ $PATH sh: 12: /bin:/usr/bin: not found But, I do have a /usr/bin folder, and it's fuuuuull of stuff. Same thing with zsh: ▶ $PATH zsh: no such file or ...
1
vote
0answers
12 views

I cannot get GNU Root android application to install a simple gui

Let me start off by saying I am not a master at the command line. I think it is old fashioned, but can at times be faster than a gui depending on what you need. It, by no means, can replace the ease ...
2
votes
1answer
149 views

Open SSH - issue logging in without password - public key

I'm having an issue where I'm unable to login by SSH - I've followed other guides and made sure permissions were set correctly, and that the publickeys on my local machine and remote machine match as ...
1
vote
0answers
9 views

Cannot get pip working on Python 2.6 in Fedora 22 Virtualbox

I'm working on a project that must be tested in a Fedora VM with Python 2.6.6. I have successfully installed that (so I can use that instead of the default 2.7), but I need to install some packages ...
0
votes
2answers
35 views

Is it possible to log into Windows 8.1 remotely? [on hold]

I'm attempting to configure my Windows 8.1 machine to log into a user account upon boot from a wake on lan event. I understand that the Windows cannot differentiate the reason the computer was awoken, ...
1
vote
0answers
64 views

Why does phonegap not find Android when I set my path?

I am trying to setup phonegap to build for android. When I installed phonegape, it told me : npm WARN engine ncallbacks@1.0.0: wanted: {"node":"~0.6.7"} (current: {"node":"0.12.5","npm":"2.11.2"}) - ...
1
vote
4answers
40 views

How do I CD to parent of deleted directory? (bash: cd: ..: No such file or directory)

I was running some simple commands in bash, and one of the commands I ran deleted my current working directory (nothing destructive, I just used git to checkout a branch where that directory doesn't ...
1
vote
2answers
18 views

cannot set uid with mount

mount -o uid=1000 /dev/sdb1 /mnt mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - ...
7
votes
5answers
18k views

How do I copy a file/folder from another user's home directory in Linux?

I want to copy a file/folder from another user's home directory to my home directory in Linux. I cannot access his directory, because it says permission denied. I'm 100% sure that a file can be ...
10
votes
3answers
601 views

Learn to use both sides of the keyboard

I'd like to force myself to use the correct (right side or left side) Shift, Ctrl, and Alt keys depending on what letter I'm typing. For instance I'd like to use the right Shift key when typing 'A' ...
0
votes
2answers
28 views

udev - am i using it, where do i see it?

It is mentioned that udev present devices in /dev for devices that are presented to the kernel and it is use to create persistent naming. I have having 2 harddisk /dev/sda /dev/sdb. How does ...
0
votes
1answer
12 views

Kerberos Method on Oracle 5.11

When running 'sudo net ads join -U admin' to add my domain to the realm, I get the error: Unknown parameter encountered: "kerberos method" I found out that 'kerberos method' is not supported by samba ...
1
vote
1answer
11 views

Rsync behaviour/differences & newbie

From my understanding, rsync over SMB tries to build a file list each time on source/destination to check any changes have been modified before a copy takes please. I’m trying to understand the ...
0
votes
2answers
17 views

Unable to install PosgreSQL on Ubuntu 14.04

I have been trying to install PostgreSQL on my Ubuntu machine. I end up getting this error. postgresql : Depends: postgresql-9.3 but it is not going to be installed postgresql-contrib : Depends: ...
0
votes
0answers
12 views

Linuxmint (could be say 17 mate 64 bit but assume 13 mate 64 bit for now) installation on a usb hard disk

Assume a standard desktop or a laptop that has the ability to disable secureboot and has the ability to boot from usb. I have an old 2.5 inch hard disk drive (unformatted - not even the partition ...
0
votes
1answer
32 views

PPTPD on CentOS: no connection

I have installed PPTPD on my CentOS server and try to connect to it from my Mac and my Android smartphone. Both failed. This is the log on my Mac (from ppp client): Mon Jun 22 22:11:58 2015 : ...
0
votes
0answers
8 views

Tascam US-800 Audio Interface no longer showing up on Ubuntu Studio

I bought a Tascam US-800 USB audio interface about three years ago. At the time I had a MacBook Pro (I think it was a 1,1 from 2006, and I know it was 32-bit) and Ubuntu Studio 13.04 (though possibly ...
24
votes
4answers
17k views

Uploading files to S3 account from linux command prompt

I've got several large files sitting in my linux hosted account that I need to upload to my S3 account. I dont want to download them first and then upload it into S3. Is there any way I can "upload" ...
2
votes
3answers
69 views

I'm hoping to turn a USB stick into a multi-partition (4+), multi-boot tool. How do I properly set it up?

There are a lot of links about multi-boot, multi-OS USB drives and various tools to create them. What they don't explain in detail is how to, or whether or not it's possible to, properly partition and ...
1
vote
2answers
78 views

Which configuration files affect the routing table of a Debian system

As far as I know basic network configuration goes into /etc/network/interfaces and the system generates the routing table from these information. I was also taught that in general ...
6
votes
1answer
11k views

fstab: When do you use the “dump” and “fsck” options?

I found a great tutorial on how to use fstab: http://www.tuxfiles.org/linuxhelp/fstab.html Using this tutorial, I was able to successfully get my SIMPLE mounting needs working. But during the ...
1
vote
1answer
2k views

Write file permissions for root user

I have a file called myfile that I would like to move using: sudo mv myfile deep-dark-directory/ I need to use sudo to move the file as deep-dark-directory needs root privileges to write and I ...
0
votes
0answers
10 views

Script to open multiple gnome-terminal tabs, each running their own command?

I am currently developing a plugin for Minecraft. My setup consists of five terminal tabs, which I have to recreate every time I log in. I need to cd to the particular directory, then run the ...
1
vote
1answer
24 views

how do I copy large datasets between two VirtualBox virtual machines?

I have two separate CentOS 7 virtual machines running in VirtualBox that is installed in a Windows 8.1 host. How do I transfer large amounts of data from one of the CentOS 7 virtual machines to the ...
0
votes
0answers
19 views

mounting FreeBSD-image writeable under Linux; ufs-rw-support without recompiling kernel? [closed]

I tried to mount an image from ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0 under Linux writeable, to enable sshd at boot because I only have network access to my platform. At ...
11
votes
1answer
7k views

Why “LANG=C”? (not D or E or F)

In order to turn off localisation features one should set LANG environment variable to "C". Why "C"? Where it came from?
0
votes
1answer
19 views

Can't Find my (encrypted) home folder in Lubuntu 15.04

I encrypted my home folder during installation, now I can't see the computer folder which I think should contain etc var and other folders. I need to get to the www/html/ everything works nice on ...
0
votes
3answers
17k views

how to copy a file from linux to windows with scp command?

I would like copy a backup file from image vmware linux to windows but I don't know how to process it? I tried: scp /source/backup.tar.gz admin@x.x.x.x:/c:\ProgrammefilesC:\Documentsand ...
4
votes
3answers
7k views

How do I choose what shows up in PuTTY title bar from Linux?

In the PuTTY configuration there's an option in Terminal->Features called Disable remote-controlled window title changing. Without that enabled, the title bar of PuTTY will change every time I press ...
0
votes
0answers
9 views

How to execute the app just by root or specific user?

I wanna install an application to linux and it's important that it's just execute by the specific user or root. for example openssl, As you know when the users, enter the command like this : openssl ...
0
votes
0answers
20 views

Install AMD Proprietary Drivers on Manjaro

I'm using Linux Manjaro 0.8.13 on my laptop and want to install proprietary drivers. Here is what i have: efog# lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation ...
0
votes
0answers
9 views

Routing between ap clients

I have two linux boxes with 2 wlan cards in them. Box A is connected via wifi to Box B using wlan0. Box A has a camera client connected to it wirelessly via wlan1. I want to be able to see the camera ...
-1
votes
0answers
16 views

Linux 777 permission to Windows

I'm doing some test where we see permissions and if the file have correct permission after a copy or move. Adding windows support to the project. In Linux it has the 777 permission in decimal 33279. ...
0
votes
0answers
25 views

How to install GLIBC_2.15 and GLIBCXX_3.4.20 on centos 6.6 ?How to setup YCM?

Recently I'm trying to setup YCM on system of centos 6.6,however the system doesn't provide gcc of version high enough to support the work of clang.It is quite a trouble for me to update the gcc,more ...
1
vote
1answer
18 views

Tmux linux keybindings like S-C-E not working

I am trying to create S-C-E shortcut in my ~/.tmux.conf I have succeeded with staff like: bind -n ^e split-window -h bind -n C-e split-window -h # But none of the following seems to work: bind ...
3
votes
4answers
9k views

Strange cpuinfo, how many cores does these physical cpu has?

At the end of this post is my /proc/cpuinfo. I know the Physical cpu number is 2 grep 'physical id' /proc/cpuinfo|sort|uniq|wc -l 2 But how many cores does each cpu have? The 'cpu cores' shows ...
2
votes
1answer
287 views

Nautilus: Copy to same dir name gives a whacky sort sequence: (copy) (another copy) (3rd copy). I want 001, 002

I am using GNU/Linux Ubuntu 10.4 ... the "GNU" should keep Richard Stallman happy; and reasonably so :) The file browser, Nautilus, generates "reading-friendly" names for files which are copied ...
0
votes
1answer
22 views

single user vs multi user mode (without networking) init level 1 vs 2

I tried init 1 (single user mode) and i am still able to switch between users. So this leads me to think that maybe other users is not able to login if i have a network (hence single user mode) Then ...
0
votes
2answers
31 views

Guide to writing command documentation [on hold]

I am looking for a set of guidelines how to document a Unix/Linux command. For example that argument names are surrounded by <>, optional parameters should be in [] and so on. Where can I find ...
12
votes
4answers
24k views

Should I format USB sticks and SD cards to FAT, FAT32, exFAT or NTFS? (Windows files, live Linux distors)

Does it depend on the media size which one to chose or on some other parameters? In Windows 7 FAT16 is the default. In pendrivelinux.com's Universal USB Installer FAT32. Which one to chose? How about ...
1
vote
0answers
14 views

sudo --set-home decide based on command

I was wondering if there is a way to make sudo set the --set-home flag based on the command being executed. e.g. in most cases I do not want the --set-home flag to be set, but for npm, I want it to ...
2
votes
1answer
48 views

How to make cron perform task every hour during business hours?

I'm trying to make a script run twice every hour during business hours on weekdays, and i have the following in my cron setup: # m h dom mon dow command 8,48 8-17 * ...
0
votes
0answers
8 views

Making multiple DHCP IP permanent in Ubuntu 12.04.5

I followed the instructions here Getting 2 IP addresses on one network card, using DHCP and this worked for me but how do I make it permanent in Ubuntu 12.04? Should I put it in some sort of cron job ...
0
votes
1answer
3k views

ext4 vs btrfs performance on SSD array

I am observing something that I cannot explain. I am trying to come up with a good filesystem configuration using HP P420i controller and SSDs. Out of curiosity I have tried BTRFS (still unstable so I ...
0
votes
0answers
25 views

How can I do ssh or scp without restarting the sshd service

I had a problem related to ssh about a week back -- Ssh/Ping Problems in Mac Yosemite through wifi but not ethernet. I was able to solve the problem. However, now I am facing another problem, where I ...
0
votes
2answers
79 views

Copy my ssh key to remote machine via ssh-copy-id in a script without prompt?

My usecase is that i need to copy my ssh key for authorized access onto a remote machine. I need to be able to call a script that copies over my ssh key to the remote machine without needing my input. ...
0
votes
1answer
44 views

Is it possible to mount a ntfs drive by name?

So I am currently using ntfs-3g /dev/sdb1 /home/mountpoint/ to mount an external usb drive. But what I want to be able to do is mount it using its volume name, in my head it would look something like ...
0
votes
1answer
22 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
1answer
7 views

strace reports incorrect relative path?

I am using strace to report open and chdir system calls, and a fragment of its output is: 6791 chdir("//etc") = 0 6791 open("etc/fstab", O_RDONLY) = 3 This doesn't make ...