0
votes
0answers
2 views

How to set up the gateway for wlan0?

I am using a private hotspot to connect a Raspberry Py to internet. I've setup the password and the ssid in the /etc/network/interfaces file. With this configuration I'm able to connect to the wifi ...
0
votes
1answer
11 views

Is there a default ssh server or ftp server running on most linux distros?

I am quite new to using linux and I am wondering if, in most circumstances there is a default ssh and or ftp server running. I have started a few virtual machines and I have always been able to ssh ...
0
votes
0answers
11 views

Environment Variable not Exporting [duplicate]

I have this script that I'm writing, basically as my own free dynamic dns system (with a bit more manual-ness at the moment). Here it is: #!/bin/bash ...
0
votes
0answers
3 views

Default input device sox

I'm trying to configure sox to use a webcam that I just ordered. I've confirmed that the mic works through the GUI. I ran arecord -l and found that the card, device numbers are 1 and 0, respectively. ...
-3
votes
1answer
27 views

please help…ive waste a lot of time and im freaking out [on hold]

this is my error been playing with this for while, ive tried entering commands in the terminal and messing with a bunch of settings people suggested on youtube videos but nothing seems to help and to ...
1
vote
1answer
7 views

Ethernet Connection not working on Ubuntu 14.04 (with Windows 10 dual boot)

I've dual booted Windows 10 (first) with Ubuntu 14.04. The ethernet works fine when logged into Windows, but when I log into Ubuntu, The Connection Icon (right on the top tray) shows the wireless ...
4
votes
4answers
44 views

How to grep -v and also exclude the next line after the match?

How to filter out 2 lines for each line matching the grep regex? this is my minimal test: SomeTestAAAA EndTest SomeTestABCD EndTest SomeTestDEFG EndTest SomeTestAABC EndTest SomeTestACDF EndTest ...
1
vote
0answers
27 views

How to replace words in a string which has “|” in it

For example line, in this loop in a shell script: for ((k=13;`awk -v f="$k" -F " " '{print $f}' line$i.txt` != "|";k++)) I want to replace the words in the line from 13th position until a "|" is ...
1
vote
1answer
19 views

Rename file names extracting pattern from them

I have a list of file names abc1.doc, abc2.doc and so on. Always in the form text[number].doc. I want them renames to [number].text.doc. How can I do this?
0
votes
1answer
13 views

Installed OpenSSH on Mint 17 but it doesn't seem to be running

So I've installed OpenSSH on Mint rafaela 17.2, but it doesn't seem to be running when using the modified config file. Not sure why service says its up, but I don't have a PID, don't have a listener, ...
0
votes
0answers
3 views

Losing LibreOffice Writer configuration

From time to time, the configurations of LibreOffice Writer is lost for no known reasons. Macros, Shorcut Keys, etc all are lost as if it's fresh new installation. Why does it happen and how can I ...
1
vote
0answers
4 views

multiple systemd-fcsk message on Debian 8.1 boot

Suddenly, when booting my computer, I see several messages like this: [ 16.123575] systemd-fsck[337]: , 408::f6/00, 306::c6/00, 408::f6/00, ... and in the end: Not automatically fixing this ...
2
votes
0answers
8 views

Per user routing on wifi

I'm using vpn but i want to have one user that could access network not through vpn but using my real ip address. The problem is that all solutions i found by quick google'ing, for example this ...
0
votes
1answer
10 views

Is CTRL+4 equal to ^4 or ^$ in caret notation?

This is a problem I have been thinking about. This Wikipedia page suggests that Ctrl+{Symbol} uses the shifted variant of {Symbol} when written in Caret notation. This suggests that CTRL+\ becomes ...
5
votes
2answers
68 views

What does CTRL+4 (and CTRL+\) do in bash or readline?

I just found out by accident that CTRL + 4 closes programs reading stdin input from the command-line. This is how it looks when I type CTRL + 4 or CTRL + / into programs reading stdin ryvnf:~$ ...
2
votes
1answer
15 views

How to reduce bootup time of linux?

First of all, I appreciate for taking times. I have a PC with the following configuration: 1- CPU: Cor2Duo 2- Ram: 2 GB 3- 40 GB HDD I just need serial and network. I don't need Xwindow. I just ...
0
votes
0answers
11 views

Creating a Wireless Network Management GUI workaround

I just installed Alpine linux, and it all went as smoothly as i'd hoped, except for the wireless networking (and XFCE's Power button and reboot buttons being greyed out, but that's irrelevant here). ...
0
votes
1answer
7 views

rpm and deffattr

Why does %files ram %defattr(-,root,root,644) %dir %attr(755, root, root) /usr/lib/ram/postd /usr/lib/ram/postd/about /usr/lib/ram/postd/local.conf /usr/lib/ram/postd/local.init.conf ...
1
vote
0answers
4 views

Encrypted boot drops to shell, how to set LVM crypttab consistently? 'ALERT! {logical volume path} does not exist'

I used Luks to encrypt my whole hard drive, and created that sda drive as a physical volume. Under that volume, I create a volume group vg00 with my 3 logical volumes lv00_root, lv01_home, and ...
1
vote
1answer
23 views

How to use ln -s to create a command line shortcut?

I have an sh file that I would like to be able to open from the terminal at any time. I would like to type "studio" into the terminal, and have android studio open I recall using ln -s to do this, ...
3
votes
1answer
23 views

Using File Date/Time as Metadata: Reliable?

Background: I have groups of files in their own directory which I merge into one file in order of their filename. I call them t1.txt, t2.txt, t3.txt... I merge them in order of the integer. ...
0
votes
3answers
29 views

Add cron to Crontab

I am looking at these tutorials https://www.digitalocean.com/community/tutorials/how-to-use-cron-to-automate-tasks-on-a-vps and I have cron installed but when I write the command 5 * * * * curl ...
2
votes
1answer
7 views

ddrescue resuming rescue operation to a different image file

I have a 3TB WD Green HDD that failed. I bought two WD Red 3TB HDD + Synology DS215j NAS. Before installing NAS in RAID1, I want to use the WD Reds to recover the data from the 3TB WD Green HDD (one ...
1
vote
0answers
15 views

unable to change screen resolution of tty

I am using Fedora 21 in Oracle Virtual Box. I am using just tty (no GUI). I need to increase screen resolution, I tried following things but failed: xrandr but gives me error: cannot open display I ...
0
votes
0answers
12 views

Debian Linux Shell has no colors and desktop files/folders gone GNOME

Hello I have installed some packages to fix sound mute, but instead, after restart I saw no icons on desktop except 'Computer'. I have opened shell and wanted to do apt-get update but saw that the ...
3
votes
2answers
58 views

Using grep to print all of the matching strings not separated by a space

I'm looking through a text file of emails and trying to get a list of ones from a certain domain. I'm running: grep -oh "\w*domain.com\w*" file.txt This finds the lines, but only prints that ...
1
vote
0answers
11 views

Separation between the User machine and Server machine by another linux for monitoring

I am planning to have three virtual machines with virtual box (m1, m2,m3). I already installed on m1 = Windows XP Home Edition, and on m2 = LUbuntu 15. The big picture is this : m1 : a user m2 : ...
2
votes
0answers
18 views

Dual Boot Configuration with SSD and HDD

I'm very new to Linux. I have been using Windows/Mac during my whole life, but now I have decided to use Linux. So I'm trying to configure a dual boot system with Windows 10 and CentOS 7. I already ...
0
votes
1answer
13 views

Execute Perl commands from a specific IP?

I have a Debian Jessie 8 server with three unique IPv4 IPs. I connect to the server from Windows 7 via Putty. I can open three Putty windows using each of the three IPs. I am trying to execute a Perl ...
0
votes
1answer
8 views

Nautilus crash with segmentation fault when opening a folder

I'm running Debian 8.1, GNOME 3.14.1 with Nautilus 3.14.1-2. Nautilus has crashed for me in the past, today I tried to understand the problem. I work with a lot of geodata and my folder ...
1
vote
0answers
8 views

Suspending fails when a USB mouse is connected

When I try to suspend my Ubuntu 14.04 (with KDE environment) using sudo pm-suspend it fails unless I disconnect USB devices, e.g. USB mice and flash drives. Is there a way to solve this problem? ...
0
votes
0answers
8 views

Adding existing data to SVN server-side repository

I have a CentOS 7-based SVN server. Is there a way to create a repository over existing data? The server is based in /home/server. I need this folder to become an SVN repository, so my friends and I ...
3
votes
1answer
14 views

Shared library mappings in /proc/pid/maps

Why does /proc/pid/maps contain a few records for the same library ? Here is an example: 7fae7db9f000-7fae7dc8f000 r-xp 00000000 08:05 536861 ...
0
votes
0answers
3 views

why samba 4 is giving the following error attempting to join to domain

trying to join windows 7 clients to samba 4 that is using named as name server i am getting the following error: An attempt to resolve the DNS name of a domain controller in the domain has being ...
2
votes
0answers
11 views

Umount network drives with systemd before shutdown

My shutdown takes quite a long time (I'm on Debian 8.1) and I found out that it can be fixed by unmounting the network drive before shutting down the system. Apparently the network gets disconnected ...
2
votes
0answers
14 views

Does make sense using exotic bootstrap in GCC?

Has anyone any evidence that currently GCC is bootstrapped in non trivial ways to detect bugs for certain features and architectures? Or at least point to some documentation where I can find wich real ...
0
votes
0answers
15 views

Emacs and gvim display no content on FreeBSD 10.2

I just installed FreeBSD 10.2 with the Mate desktop environment and most things seem to work. I have a problem with emacs and gvim though. Since the problem has the same symptoms with both editors, I ...
1
vote
1answer
42 views

Read “/proc” to know if a process has opened a port

I need to know if a process with a given PID as opened a port without using external commands. I must then use the /proc filesystem. I can read the /proc/$PID/net/tcp file for example and get ...
1
vote
1answer
18 views

Bootup is not yet finished. Please try again later

My computer starts in around 40s but I keep getting this message for 10 minutes: Bootup is not yet finished. Please try again later. After 10 minutes I get this: Startup finished in 6.020s ...
0
votes
1answer
18 views

sort process by cpu usage in cygwin

please help me to sort process by cpu usage in cygwin. I already tried tasklist but it shows only process by memory usage .
1
vote
2answers
33 views

Command line to go in directory passed by which command

I want use a command such as this : which node && cd $_ to jump in the directory when the binary file reside, but the which command return all the path + name of binary ,so i get an error ...
3
votes
2answers
32 views

process Count of each user in ps aux command

How can i create a script to count process run by each user in ps aux. I used this ps aux | awk '{print $1}' | grep root | wc -l but it lists count of root user only . I want to list number of ...
0
votes
0answers
9 views

Installing Debian Jessie on a fake RAID, stuck at step 10

I am trying to install Debian Jessie on a server machine Dell PowerEdge T20 (PN: Spec1-T20-009), which has 2x 1TB HDDs plugged as a RAID 1 from the factory. The BIOS is set fine, i.e. there is a RAID ...
0
votes
0answers
7 views

Identifying the root cause of repeated X segfaults after package upgrade

I recently decided to upgrade MPlayer on my Slackware 14.1 system using the most recent package from slackware-current (rolling release), which pulled in quite a few dependency updates, including a ...
0
votes
0answers
20 views

Openvpn does not work

My VPN service has given me a zip containing a .key file, a .ovpn file and a .crt file. I used the following command to import the ovpn settings root@test:~$ openvpn ~/path/foo.ovpn After ...
0
votes
0answers
9 views

CentOS 7 installation falls back to text-mode on Parallels Server Mac VM

Every time I am trying to install CentOS 7 in Parallels Server Mac, the installation wizard falls back to text-mode. I am getting this error: X startup failed, falling back to text mode ...
3
votes
1answer
20 views

Hostaliases file with an IP address

The HOSTALIASES environment variable allows users to set their own host aliases instead of having to sudoedit /etc/hosts (more details, e.g., at http://blog.tremily.us/posts/HOSTALIASES/) However, ...
0
votes
0answers
7 views

Create a repository for home-made packages for RHEL with a basic CentOS

I work on a company network. I have downloaded a centOS CD-ROM from the Internet but i cannot have a direct access to the Internet. I have a limited understanding of the yum package system but I ...
1
vote
0answers
21 views

Easy mount hdd from remote computer

I've got a computer with an SSD with Linux Mint installed and a bunch of HDD's. When in the file-browser I click one of the HHD's they get mounted in /media, which is fine for me. However I need to ...
0
votes
0answers
11 views

Java Swing or AWT repaint frequency [migrated]

I tried to make a simple game in Java and ended up with this code @Override public void paint(Graphics g) { super.paint(g); Graphics2D g2d = (Graphics2D) g; ...

15 30 50 per page