0
votes
0answers
6 views

how to use ln -s to create a terminal 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, ...
2
votes
0answers
13 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
0answers
11 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 hace cron installed but then when I put 5 * * * * curl ...
0
votes
0answers
4 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
9 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
9 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
28 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
10 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
14 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
6 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
7 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
0answers
10 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
7 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
13 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
10 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
40 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
15 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
31 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
8 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
6 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
18 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
7 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
0answers
17 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
20 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
1answer
10 views

Java Swing or AWT repaint frequency

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; ...
1
vote
0answers
4 views

Which filesystem information are considered to be userspace relevant? [on hold]

To avoid confusion: As filesystem information I want to refere to things like the following: name of files inodes of files ctime, atime etc. permissions etc block size of fs block device's size ...
0
votes
0answers
3 views

play MIDI (*.mid) files in firefox

Many of the (German) Wikipedia articles about bands contain short music samples, like the one for Emerson, Lake & Palmer. (Look for the speaker symbols). Firefox then asks for an application to ...
0
votes
0answers
8 views

Calcualte the correct MBit/s in my speedtest

I know wget is usually showing the speed in a summary, but in my small OpenWRT shell. I want to test how long it takes to download 100MB with t=$(date +"%s") wget ...
0
votes
3answers
18 views

How to influence the inode number, e.g. at fs restore?

Files in *nix filesystems almost ever have an associated inode number. In most cases users seem not to deal very much with those inode numbers, as they use filenames (i.e. a hierarchical ...
0
votes
0answers
7 views

How do I install VirtualBox guest additions on Sabayon Linux?

I have installed Sabayon Linux on a virtual machine (in VirtualBox 5.0.2) and now I am attempting to install VirtualBox Guest Additions (VGA). I have tried two methods, both of which have failed quite ...
0
votes
1answer
29 views

What is the highest compression ratio compressor for pdf, djvu, and images

Comments so far have not been specific with the type of files they needed to compress and didn't reach a definitive answer I have a 1 TB hard drive full of pdf,djvu mostly and the rest are images and ...
0
votes
1answer
7 views

Kernel panic – not syncing: Fatal machine check on current CPU

In the latest few weeks, my machine rebooted a few times with this kernel panic error. It's a fedora 21, Linux 4 machine on an AMD E-350 APU. I didn't observe any pattern. When I reboot, the BIOS ...
0
votes
0answers
9 views

CentOS 7 and Windows 2012 multiboot from SAN

We would like to create multiboot configuration for our workstations. Workstations are equipped with Qlogic BR-825 HBAs that work in BIOS mode (not EFI). SAN presents to HBAs three LUNs: LUN0 - boot ...
1
vote
1answer
20 views

How to find out what distros are using particular Linux version?

Given a distribution and its version, I can find which version of kernel it uses, e.g. for Ubuntu they are listed here, and for currently supported versions of Fedora they are here. In general, ...
0
votes
2answers
25 views

How to do port forwarding between localhost and localhost on two machine?

I have a local machine A, and I want to access machine C that is behind a firewall. I have access to machine B, which is on the same network of C, and I want to use machine B as a ssh server to ...
3
votes
2answers
37 views

What is the problem of giving the right to use sudo vim? [on hold]

I'm using Mac OX 10.10. I would like to know what problems are caused by this: user ALL=(ALL) /usr/bin/vim /etc/httpd/confs/httpd.conf I think this is in /etc/sudoers. I also have Cent OS. Does this ...
0
votes
0answers
11 views

Building gcc fails

I'm trying to build the gcc nightly but I'm having issues. (This happens each time I update the source, so it's not just a bleeding-edge bug.) I'm following the standard instructions, to wit: cd ...
1
vote
1answer
21 views

Can I uncompress a zip file containing a disk image and then save that to an SD card all in one step?

I am under the following restrictions: I have a 1.0 GB .zip file on my computer which contains one file, a disk image of raspbian. When uncompressed, this file is 3.2 GB large and named ...
-1
votes
1answer
10 views

Grub 2 broken installation.Cannot boot Funtoo/Windows 8.1 [on hold]

I bought a new laptop which came with installed Windows 8.1. I wanted to put Funtoo. I had to reboot after grub is installed. It said it was but after trying to boot it says GNU GRUB version 2. ...
1
vote
1answer
15 views

Wanted to grep the BINARY.ear md5sum value inside the md5sum.txt file

I have a file called md5sum.txt which contain below f64e7c803e4fb1207b785dff19232a1e AM-BINARY.ear 1403519c6276b2e446d2c8cef3be0e5d BINARY.ear I want to grep only the md5sum value of BINARY.ear, ...
0
votes
0answers
4 views

Broadband Connection In Linuxmint [on hold]

i just done a dual boot in my laptop with linuxmint but i don't know how to setup a dial up connection in linuxmint so can you guys please tell me how to setup a dial up connection in linuxmint.
1
vote
0answers
14 views

Why does history not overwrite but append when histappend is set to off in Bash?

Several days ago, I had one Terminal tab doing ssh, and the other doing a lot of work locally. And then I restarted the machine (on a Mac with Mavericks). When I ran Terminal again, I found that all ...
0
votes
0answers
13 views

Trying to install Reaver T6 mod on Kali Linux 2.0

according to the info found here https://github.com/t6x/reaver-wps-fork-t6x/blob/master/README.md I tried to get the pre reqs apt-get -y install build-essential libpcap-dev sqlite3 libsqlite3-dev ...
4
votes
4answers
84 views

How to add a header and/or footer to a sed or awk stream?

I have a bunch of output going through sed and awk. How can I prefix the output with START and suffix the answer with END? For example, if I have All this code on all these lines and all these ...

15 30 50 per page