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
1answer
10 views

. .bash_profile and . ./.bash_profile (./ and .)

i am new to linux. I understand .bash_profile is a hidden file hence the . infront. I understand to execute a script under the current directory. You must specify ./ ======================== q1) ...
0
votes
0answers
6 views

linux rpm installation - who define the rights ?

I am new to linux and is using rpm -i to install rpm package successfully. However, i do realize that i have to use root to install the package everytime. Assuming I have several users in the system ...
1
vote
0answers
14 views

SSHing into VPS with single IP

I have Comcast Internet for my home, and have a single IP. I've set my hardware router to direct SSH to a physical Linux server. On my physical Linux server, I've created a virtual private server ...
0
votes
0answers
8 views

find command operator associativity and its effect to execution speed

Let's say in a folder structure there are files of extensions ext1, ext2, ext3 (in the decreasing order of number of files in each type), and some other files that we don't really care (in total, ...
2
votes
0answers
20 views

how to get cronjob running every minute

I am following advice on crontab usage online, and I ran sudo crontab -e, and my cron file is: MAILTO=cchilder@mail.usf.edu * * * * * ...
0
votes
0answers
4 views

“The sync server is busy, please try again later” in Chromium Sign In on Raspbian

I'm sorta at my wits end on this one. I've googled it and the question has been asked a few times but there has never been a definitive answer that I can find. I am 100% able to sign into my google ...
0
votes
1answer
19 views

Preserving permission when saving from linux to NTFS filesystem

Today I was devastated to see that a software project that I had backed up in my external HDD was almost completely ruined because the execution (and other permissions) where "reset" because the ...
0
votes
0answers
10 views

Change bash to default login shell on AC66U running Merlin and Entware

I'm trying to switch from sh to bash as my default login shell, on an AC66U running the Merlin firmware. I have bash installed in entware's partition, but when I switch user:x:0:0:user:/root:/bin/sh ...
0
votes
0answers
9 views

Unable to RDP Windows 7 using Remmina on Ubuntu 12.04 LTS

It appears since late of last week there is no longer the ability to RDP onto Windows 7 using the linux client Remmina. Nothing (configuration) has changed on the linux client nor the Windows 7 host ...
2
votes
0answers
14 views

tar performance writing to disk

When writing to disk (SATA) I've noticed tar seems to have a large performance hit. I'm trying to copy a, relatively, large file (556MB) across my local network as part of a backup. Trying the typical ...
0
votes
0answers
10 views

How to delete files for all users Linux Mint

How do I delete files for all users in Linux Mint? My specific scenario is that I am trying to write a script that will delete all the files out of the downloads folder for any user which logs onto ...
0
votes
1answer
14 views

bridge WAN interface with TUN interface except openvpn port

I want to make a bridge between eth0 (static WAN) and tap0 (TUN), but leave 1194 port for openvpn on eth0. Is it possible? How to achieve it using iptables?
0
votes
0answers
9 views

error occurred while installing nokogiri (1.6.6.2), and Bundler cannot continue

I'm in a linux environment where I do not have sudo or root access. I installed rubystack using bitnami. I'm using ruby 2.2.2 and rails 4.2.3. When I'm starting a new rails app using rails new ...
0
votes
0answers
8 views

Can't connect to SFTP: Received unexpected end-of-file from SFTP server

When i try to use SFTP via filezilla to connect to my CentOS 6.6 server i get the following error: Status: Connected to (redacted) Error: Received unexpected end-of-file from SFTP server Error: ...
3
votes
0answers
18 views

Password-protected PDF not opening on Linux

I have a PDF document (from the British Library via interlibrary loan) which is password protected via some sort of remote validation of the password. I tried to open it on Ubuntu 14.04, which ...
0
votes
1answer
25 views

many unknown entities: Dual booting Linux, Mac, Windows using rEFInd

I have been using rEFInd ver 0.8.7 to boot Linux, Mac, and Windows on my MacBook pro 2013 model. I've recently updated my os from Maverick to Yosemite, and this problem happened: When ever I boot, ...
0
votes
1answer
27 views

Emulate a Linux terminal and shell commands in Windows [on hold]

Ok, I am accustomed to Linux/Unix like terminal and its commands and now I am using Windows. Does anyone know how to emulate a Linux terminal and the bash Commands?
0
votes
1answer
12 views

Access samba3 share via terminal

i have a raspberry pi with samba3 on it (network access for my external HDD) And i have ubuntu14.04 on my laptop. For one on my scripts im working with i need to access the HDD via terminal. I ...
2
votes
1answer
38 views

Why is 64 bit OS version packaged with both 32 and 64 bit libraries?

I installed SuSE 64 bit version, and i saw it has libraries (Samba), installed with both 32 and 64 bit versions. We used to upgrade only the 64 bit version of libraries of Samba in our software ...
0
votes
1answer
11 views

Increasing size of XFS partition

I've installed Fedora Server ARM on the sdcard of my cubietruck, and now the system partition is full, and I want to expand it. The sdcard have a size of 7.5GiB. Gerät Boot Anfang Ende ...
1
vote
1answer
30 views

Cannot SSH to localhost without password

First off, I want to say that I've tried everything in this question here, and it didn't help me: How to SSH to localhost without password? I had a file permissions issue recently because I don't ...
0
votes
0answers
4 views

Control number of matlab threads from Linux environment variables

I am configuring Matlab for a multi user cluster and want the users to request a specific number of cores when they are launching Matlab. For example, without controlling this, performing an inverse ...
0
votes
1answer
19 views

BASH script that generates a header file with function prototypes

I am doing a C project which involves lots of static linking. To get rid of "implict function declaration" errors I will use a simple solution - a header file with function prototypes. I wrote this ...
0
votes
1answer
25 views

Redirections shell

Can anyone explain the following? :~$ ls macreave.sh fgvdvg > testo 2> testo :~$ cat testo macreave.sh ccess fgvdvg: No such file or directory :~$ ls macreave.sh fgvdvg > testo ...
0
votes
2answers
23 views

How to use grep or awk to save every line from text file as new file?

I am a scripting beginner. What i am trying to do. I have a text file that looks like this (example): hello hi there apple I am trying to make a script that saves every line as a separate new file ...
0
votes
0answers
17 views

Identifying temperaturs of sensors output

I need some help with interpreting the output of the sensors command. I use it together with watch to have updated live temperatures. Part of the output is this: f71882fg-isa-0a00 Adapter: ISA ...
0
votes
0answers
6 views

To list table of contents of LaTeX document in Gedit?

In OSX Textame, you can nicely list link table of your sections by CMD+T. I would like to have a similar feature in Gedit. How can you list the sections of LaTeX document in Gedit?
0
votes
1answer
13 views

Read a line from a text file at Google Drive

It is possible to upload a big text file with words into Google Drive and somehow read it line by line from a linux command line? perhaps with python? Thanks
-1
votes
2answers
40 views

Does installing Windows and Linux slow down computer?

I have Windows 8.1 already installed in my laptop. Now i'm thinking o installing Linux too. Is it a good idea? will it slow down my system?
0
votes
1answer
13 views

Copy paste(clipboard) works differently in ssh and local system

I am using my local system to copy some text using ctrl + c In ssh i use this command to paste shift + insert The above works fine Now i using this command to copy from ssh ctrl + insert ...
0
votes
0answers
7 views

USB device driver module getting killed while executing insmod?

While running make, it is showing no warnings or errors, but when I am inserting the basic USB device driver module inside the running kernel, then I am getting a "killed" message. Here is my code: ...
0
votes
1answer
18 views

Cannot resolve host name on most applications, but ping and browser succeeded

I have a weird problem where my browsers and ping can successfully resolve hostnames as per normal, but most other applications (ssh, git, pip, and even yum) cannot resolve hostnames. What could be a ...
1
vote
1answer
38 views

Ubuntu 15.04 (Vivid) is so slow at startup

My laptop is Dell Inspiron N4050 that its RAM was upgraded to 8 GB. I have dual boot OS (Win8 and Ubuntu). My laptop is so slow when booting from Ubuntu It takes about 2 minutes but Win8 will boot at ...
0
votes
0answers
4 views

Run qemu on separate tty (and X server?)

Is it possible to start a VM on a separate tty automatically, so I can switch between the host and guest through ctrl-alt-F{1,2}? I know I can start an X session manually, but I'd like to automate ...
0
votes
0answers
12 views

disabling password dictionary checks while keeping minimum length check in linux

In RHEL 7, password policies are controlled by pwquality.conf and pam_pwquality.so. I want to disable dictionary checking but keeping the minimum password length to 8 characters. If I remove ...
1
vote
0answers
5 views

What are null certificates in Gnome Seahorse?

In the "Default Trust" tab in Seahorse there are several personal certificates named simply "(null)", which are issued by "No name". There's nothing on their property pages. What are these? Can they ...
0
votes
0answers
18 views

Setting up emergency console access with xen [migrated]

On Gandi (or other providers) you can activate an emergency console to your VM. It binds a SSH channel to a temporary IP and port. I have my own server running on xen. I would like to implement an ...
2
votes
2answers
47 views

Fast way to download many small webpages?

I need to download lots of small pages as fast as possible. Average size for one page is 3kb. There are millions of pages. First, I tried curl but it was way too slow, probably because it was waiting ...
0
votes
1answer
26 views

Get max IO performance from the storage system [on hold]

I am asked to measure the max IO supported by a PCI flash based storage system using FIO utility. I have also been asked to configure/fine tune the system so that I get max storage performance. My ...
0
votes
0answers
20 views

Setting default group permissions via SFTP

I am setting up a file server where users log in via SFTP. I want all users to have the same permissions to read and write any file. Since they all have different accounts with different passwords, i ...
0
votes
1answer
34 views

Replace highlighting characters with something else

I wish to replace color codes with something else. For example, running cal command i want to get some html tags instead of color codes: July 2015 Su Mo Tu We Th Fr Sa 1 2 ...
0
votes
0answers
7 views

Installing a systemd service from an RPM?

I've been creating RPMS (using CMake's CPack) which install everything into /opt, and then the postinstall script copies the service definition files to /etc/systemd/system. I've toyed around with ...
0
votes
0answers
11 views

recommend single source (book) explaining modern linux boot process for sysadmins [on hold]

If this isn't the right forum for my question, please point me to the right place. I'm an experienced Linux sysadmin. I'm very familiar with the older style boot process - MBR, grub, initrd - but I'm ...
0
votes
1answer
13 views

/bin/bash -c stopping counting with date

/bin/bash -c not starting counting with date: /bin/bash -c "while true; do echo [`date +'%F%t%T%t%Z'`] Keep Alive; sleep 1; done" The output is: [2015-07-06 13:44:36 UTC] Keep Alive [2015-07-06 ...
0
votes
1answer
18 views

Booting a USB from the Grub command prompt

I have a USB drive that I know is bootable (tested it on a different PC), but because of an ancient BIOS, I am unable to set it as a boot device in the BIOS settings. The computer I am using has GRUB ...
0
votes
0answers
12 views

create tunnel in order to access https via port 443

I have Windows machine that connected to Linux server 192.9.100.10 And Linux server has connectivity to the IBM blade center management GUI - 192.9.100.200 From my Windows machine I do not have ...
0
votes
2answers
58 views

How can i bypass/protect myself from ransomware like ctb-locker? [duplicate]

Recently while using my system for testing I got my machine infected with a malware, My system gets displayed with the following screen : While browsing internet with screenshot i found that its ...
0
votes
0answers
28 views

windows and linux virtual machine software

I want to run some simulation software (with Oculus Rift support) on windows as the main OS, and have it talk to software that is built for Raspberry Pi / Arch Linux/Arch Linux ARM (but no windows ...
0
votes
0answers
6 views

How to redirect, ignoring path in url.com/path/path

In dnsmasq.conf, I redirect any domain url to an IP. If I enter "url.com/path/path", I get redirected to "IP/path/path". How can I redirect to IP only ? // NB : If I manage to work it out, I guess ...
0
votes
1answer
18 views

Service to restart (safely, then if that fails, forcefully) a few different processes on a schedule

I'm currently running a personal project that basically monitors a few things around the clock. One is a process that uses PhantomJS, and the other scans some other APIs, and sends emails if some ...