-1
votes
2answers
44 views

How to compare two tables and find the difference between in Linux using shell script?

I have two release one is old and one is new. I have to compare old release DB and new release Db and find out all the difference. like if old release and new release have same table so what they made ...
1
vote
1answer
38 views

ssh-agent: How to keep the login key, and add more identities?

When I log in to my local Ubuntu 14 instance from Windows (I use SecureCRT as a SSH client) using my RSA key, the key is available for forwarding for further SSH sessions (it is listed with ssh-add ...
-5
votes
1answer
16 views

Best installation instructions for Linux Mint for total Linux newbie? [on hold]

Where i can find simplest instructions for total Linux newbie how to install Linux Mint?
1
vote
0answers
47 views

Able to ping my host but getting no route to host

I have a elasticsearch service running on MY_HOST_IP(10.x.x.xx) and port 9200. I am able to ping 10.x.x.xx from my VM, but when I try to connect elasticsearch it gives me : no route to host ...
1
vote
0answers
11 views

L2tpIPsecVpnControlDaemon critical error

I am currently trying to use l2tp-ipsec-vpn in my ubuntu machine. I followed a guide from tuxfamily to install it. Unfortanely, when I start the system, I got a window with the following error: A ...
1
vote
0answers
13 views

how to edit “set params” in a fedora install?

I am trying to install Fedora into a Lenovo Thinkpad Yoga 260 Ultrabook. So apparently I need to add a line "intel_pstate=no_hwp" to the grub boot parameters. These are the only issues I've found ...
0
votes
4answers
32 views

Get total memory size on sun os through kstat

I have sun os there Following commands are not available prtconf prtdiag psrinfo The only command which is working is kstat. Can any one please help me on finding the total memory size using only ...
1
vote
1answer
38 views

Why are the timestamps on my removable media taken as UTC time?

I'm running Debian 8, and all of the files on my removable media (SD cards, USB sticks) show up with the time stamp interpreted as UTC, rather than my local time? What's going on? date gives me the ...
2
votes
1answer
32 views

Unable to reach network from chroot

I have a complicated scenario, with most of the complicated parts working: SD card contains a Fedora 23 Raspberry Pi install on a LUKS/BTRFS filesystem. Fedora 23 x86-64 VM being used to manage the ...
0
votes
1answer
35 views

Fan Speed in Macbook running Linux

I am currently running arch on an older generation macbook; 2009 with a core2duo processor. One of the common issues with the machine is that it runs hot (70-90 while browsing and playing videos on ...
2
votes
0answers
34 views

Differences between declared, defined, and set

In shell, what are the differences between a variable that is declared, defined and set? Does "declared" mean the identifier of the variable exists, but the storage and value of the variable do ...
0
votes
1answer
14 views

“Error constructing proxy” on gnome terminal

I just installed a fresh copy of Debian 8.4 in VirtualBox 5.0.20. I am now attempting to install the "Guest Additions" CD. To do so I had to change my fstab so I am able to execute things from the ...
4
votes
1answer
351 views

How do I sort words by syllable count?

How do I perform an ascending sort of a word list, based upon how many syllables each word contains? Example Input: something important dog cat bookshelf Example Output: dog cat something ...
-3
votes
2answers
26 views

Describe Linux Project Setup and File Purposes [on hold]

Where can I find online references that describe a Linux/Unix project setup? Its quite surprising that googling for this is turning up little useful references or tutorials. I am looking for ...
-3
votes
0answers
16 views

Unable to Install HPLIP in Kali Linux

I am attempting to set up printing with my HP ENVY 4500 on my Kali Linux installation. When I set up CUPS and added my printer and attempted to print something, the printer did not do anything. So I ...
0
votes
2answers
36 views

Carriage returns are prevent sed reading all my files

I have a long list of folders, inside every folder I have the file "log.dat". I wanted to read the value of a specific line inside this file. I saved the folders names in a file "All.txt", in the ...
0
votes
2answers
15 views

How can I give files extended attributes in mac os x?

How can I give files extended attributes in mac os x? Mac os x doesn't have the 'setattr' command.
3
votes
2answers
90 views

How do I type arbitrary unicode characters in xterm?

Moving away from using gnome-terminal and terminator since they are excruciatingly slow. (20-30 seconds to change focus to them for whatever reason) xterm is nice and fast. However, I need to be able ...
-1
votes
2answers
27 views

Debian apt-get install asks for the DVD Binary [duplicate]

I have installed debian 8 jessie via usb stick on my thinkpad x250 (the laptop doesn't have any cd-dvd rom). Now when i want to use the synaptic or install some programms (especifically pure data) ...
0
votes
0answers
26 views

How to know the depth of a path? [migrated]

I'm debugging my own C code, which allocates memory for the current path using getcwd. Valgrind reports a memory leakage: snprintf(shell_prompt, sizeof shell_prompt + sizeof cwd + 128, "%s: $ ", ...
0
votes
2answers
44 views

Linux Mint Intel 8260 Wireless

I have a Lenovo Thinkpad t460 that I can't get to see wireless networks. Here is the output of sudo lshw -C network: *-network UNCLAIMED description: Network controller product: ...
0
votes
1answer
32 views

How do I make sure the iptables is closed?

I want to disable iptables completely. I followed the instruction like /etc/init.d/iptables close it said there No such file or directory [root@dataapp02 tmp]# service iptables stop Redirecting ...
1
vote
1answer
12 views

How to increase font size in KDE?

I have increased the font size by going to System Settings -> Font. This changed it for some applications like Konsole and File explorer. But this doesn't reflect in other applications like Firefox ...
0
votes
0answers
6 views

precise linux video / youtube locks up why? [on hold]

Since I went to Puppy Precise Linux my screen locks after a few minutes watching YouTube or similar sorts of video or audio. I must then restart the X server to break free. Sometimes I must press ...
0
votes
1answer
30 views

What is the meaning of $0 in the Bash shell

From Bash Manual $0 Expands to the name of the shell or shell script. This is set at shell initialization. If Bash is invoked with a file of commands (see Section 3.8 [Shell Scripts], ...
0
votes
2answers
87 views

Understand the meaning of `$_`

Could you explain the following sentences from Bash manual about $_, especially the parts in bold, maybe with some examples? At shell startup, set to the absolute pathname used to invoke the ...
2
votes
0answers
13 views

Unable to run Virtualbox properly on Kali Linux Rolling because of KERN_DIR error [duplicate]

I added the repo for Virtualbox to my sources.list deb http://download.virtualbox.org/virtualbox/debian wheezy contrib Afterwards, I installed DKMS and Virtualbox-5.0. When I run virtualbox, this ...
1
vote
0answers
20 views

collect and print multiple pages to single pdf file in linux

I have to print multiple documents from different applications (browsers, pdf readers etc) and print to a pdf file. What I want to do is collect the documents when i 'print' from these applications ...
2
votes
0answers
14 views

how do I get fileshares to mount after a wireless connection is established?

Changed the computer from a wired to wireless connection for a few days. Now the network shares will not mount at boot. But they will mount with sudo mount -a. I tried adding _netdev but that made no ...
-1
votes
0answers
39 views

Can't install BlackArch on Live USB

So I have the following problem. I want to install BlackArch on an USB. I downloaded the Live ISO (64Bit) and used PowerISO to make a bootable USB. I am on Windows 8.1 so I hit WINDOWS BUTTON + C, ...
1
vote
0answers
39 views
+50

GRUB and LILO both fail to install to NVMe hard disk when installing Debian

I'm trying to install 64-bit Debian stable on a Lenovo Thinkpad. When I get to the installation step that installs the bootloader, I get this message: An installation step failed. You can try ...
4
votes
1answer
98 views

Why does my cpu never get past 60-70% cpu usage? Where is the bottleneck?

In my CPU graph thingy, I have noticed recently that when compiling stuff I can never seem to reach 100% usage, it just keeps bobbing up and down around 60-70% max. Example: In contrast, this graph ...
2
votes
1answer
19 views

Kali: Bluetooth adapter is not working

My Bluetooth adapter is not working. I tried to connect to my device using graphical interface, but the button connects not working. So, I had to use command line, but this time I get the error: root ...
12
votes
1answer
116 views

Why does `find . -type f` take longer than `find .`?

It seems like find would have to check whether a given path corresponds to a file or directory anyway in order to recursively walk the contents of directories. Here's some motivation and what I've ...
0
votes
0answers
15 views

A Question of Two Avahi

I have two boxen with avahi 0.6.31 installed: one runs Ubuntu 14.04, and I am in the process of setting up the other with FreeBSD 10.3. I also have a Mac running OS X 10.4. The Ubuntu and FreeBSD ...
1
vote
1answer
13 views

How can I install PostgreSQL and PostGIS on Ubuntu 14.04 and enable remote access over the internet?

I would like to install PostgreSQL and PostGIS on my Ubuntu 14.04 virtual private server that is hosted in a remote datacenter. How can I enable remote access on them?
3
votes
2answers
31 views

Keyboard shortcut to paste selected text to SECONDARY clipboard

I am aware that mouse selection and CTRL+C adds content to the PRIMARY and CLIPBOARD X Selections but I need a keyboard shortcut(or mouse) to have the selected text in SECONDARY Selection. Any leads ...
1
vote
1answer
23 views

Are the null string and “” the same string?

Bash manual says: A parameter is set if it has been assigned a value. The null string is a valid value. ... If value is not given, the variable is assigned the null string. Is the ...
1
vote
1answer
12 views

XDG desktop/menu files and XFCE

I've been using XFCE for about a week now; I finally gave up on KDE on my desktop because of too many problems with the set-up there (switching between multiple users with multiple X servers running ...
1
vote
1answer
13 views

HDMI sound fails, resolves, months later repeats failure (Intel NUC to Viewsonic Monitor)

My HDMI sound is connected from an intel NUC core i3 (a version without all the extra legacy serial and vga interfaces) and connected to a 1080p ViewSonic Monitor with built in speakers. My sound ...
6
votes
1answer
226 views

How to use less in a script without getting ESC escape characters?

When I use less at the command line the output is like but when I use less from within a bash script I get: How can I use less in a bash script and not get all the escape characters and have it ...
0
votes
0answers
8 views

Docker - expose port to 1 particular host

We currently have a network consisting of 2 servers (mongodb and backend, from here on). All of them run Ubuntu 14.04 Previously we just ran both on the same server but we want to expand. We already ...
0
votes
1answer
10 views

How to Mount a USB-Connected Device By-Path [on hold]

I've run into an odd situation. Fill up any partition so that there are 0 bytes left, Linux goes into panic mode as it is out of disk space. What happened to the ability to extend a folder or file ...
-1
votes
1answer
16 views

Have I missed anything? user1 is not in the sudoers file [duplicate]

I've created a user on a server where there was only root as: # adduser user1 with a password. Then # su - user1 And then: $ apt-get update E: Could not open lock file /var/lib/apt/lists/lock - ...
0
votes
1answer
12 views

AIX lquerypv equivalent in Linux (RHEL/Cent OS)

In AIX we can view raw data of hdisk by issuing following comamand lquerypv -h /dev/hdisk0 This displays data in hexa decimal format. More of like hex editor. What is the equivalent command in ...
2
votes
1answer
31 views

No permissions?

Output of ls -l: drwxrwxrwx 16 btsync btsync 4096 Feb 25 15:41 documents I can cd into the folder no problems. Now: sudo chmod 776 documents I can no longer cd into the folder: bash: cd: ...
0
votes
1answer
17 views

Systemd: Whats wrong with this unit? [duplicate]

I wrote this unit (/etc/systemd/system/test@.service): [Unit] Description=TEST (%I) [Service] ExecStart=/bin/echo "%i %I" >> /home/vagrant/test.txt [Install] WantedBy=multi-user.target ...
0
votes
0answers
5 views

In wmutils, is it possible to focus windows based on their locations?

I'd like to emulate the behavior of the i3 window manager in GNOME, using wmutils. In i3, I can focus windows based on their location, so if I'm in a window to the left and I want to focus a window on ...
2
votes
3answers
41 views

set variable inside heredoc and use them outside

I'm trying to set the variable 'count' while running the command inside a heredoc together with timeout, but I'm unable to get the 'count' variable outside the heredoc. How can I achieve that? My ...
1
vote
1answer
35 views

bash script does not compare file names with [ and ] correctly

I have a bash script that deals with files. It finds all the files in one directory and searches for the name of each in another directory. For that it uses "${myfiletobesearched}" inside the ...

15 30 50 per page