1
vote
0answers
4 views

Can you unwrap an image prepared for Uboot using mkimage?

I have an image that's currently wrapped in a uboot header from using the Uboot mkimage utility. I don't have the original of that image, so I want to take off the uboot header to turn the uimage back ...
0
votes
1answer
7 views

How do I add another boot entry into grub2?

So I recently switched from Ubuntu to Manjaro but I lost my bootloader. Now I don't have an entry for Windows 7 anymore. Linux and the bootloader are installed on sdb but windows lives on sda. I can'...
0
votes
0answers
4 views

How to fix Eclipse and Caja color in Linux Mint Mate?

I started using Eclipse IDE with Linux Mint. I have darkened Ambiance theme and Eclipse looks extremely ugly and painful to eyes. And it seems I cannot change that white color of file browser ...
0
votes
0answers
11 views

Out-putting the results of a nested for loop to a file in bash

I am new to bash and I have been attempting to create a file out of my loop in bash , I was successful in generating the file with the following code for ((i = 0; i <= 5; i++)); do for ((j = i; ...
1
vote
2answers
17 views

Get only the size of a mounted filesystem

I want to get only the total size of a mounted filesystem. But the catch is that I only know about the mount point. So, I thought of using the df command. To get the size of this mounted filesystem, ...
0
votes
0answers
14 views

How can I remove duplicate entries in linux log

I've turned mysql general log on and I've been logging every transaction that occurs for the last week. I also have a cronjob running every 5 minutes doing some mysql transactions which is polluting ...
0
votes
1answer
5 views

Want to know space consuming by logs

I want to configure my application logs to splunk interface for easy referring. Here i need to provide with how much of amount does my log files are consuming to splunk admins. As i can see my log ...
0
votes
0answers
7 views

Where is the final compiled Linux kernel image located when make vmlinux is ran?

I know this is a rather stupid question, but when I run make vmlinux, where is the final compiled kernel image located? And no, it's not sourcedir/vmlinux (at least for me, neither GRUB nor booting ...
0
votes
0answers
5 views

Help with postfix configuration

I started building this with postfix 2.11 and recently upgraded to 3.1.1 I have been working on my postfix configuation for a long time, and I have been wondering if this is right, and by that I mean ...
1
vote
2answers
60 views

what is the difference between “tail -f” and “tail -F”?

I never used tail -F command instead always used tail -f however someone told me that -F is better without much explanation. I looked up man page for tail command. -f output appended data as the ...
0
votes
0answers
7 views

No keycode for F[6-8] keys

I'm running Arch Linux with i3 and I'm unable to map the F6, F7 and F8 keys to anything. The other function keys all work fine. I've used xev to try and diagnose this. If I press one of the ...
0
votes
2answers
18 views

Generating strings of words with space delimiters from cut statement

I am new to bash. When I run the following command: grep "type" /root/myFile | cut-d'=' -f2 I get the following: 102 304 503 442 I want to store the contents of the first command into a ...
0
votes
2answers
16 views

Changing the color of only one directory in ls

Is there a way to change the color of only one of the listed directories in the ls command? I have researched the LS_COLORS variable, but this doesn't solve the issue because you cannot list specific ...
1
vote
0answers
14 views

Ubuntu: Universal way to logout from terminal

I'm new with dbus, and saw different ways to log out from terminal depending on desktop env. But I'm curious is there any way to log out from any desktop env on Ubuntu using dbus messages? On GNOME: ...
0
votes
0answers
5 views

How to use xsessions on Debian?

I try to use Chrome Remote Desktop and they say this Look in /usr/share/xsessions/ to start the desktop. For example, the ubuntu-2d.desktop file has the line: Exec=gnome-session --session=...
0
votes
0answers
20 views

how to write own shell that works with ssh

I tried several tutorials e.g http://brennan.io/2015/01/16/write-a-shell-in-c/ I modified usermod -s shell path_to_binary username it does not work thru winscp, but works if use from ubuntu terminal ...
-1
votes
1answer
14 views

How can I check if a dd disk image is consistent (i.e. not corrupt)

I have a dd disk image. How can I check if it is consistent? (It doesn't have to be an exact copy.) I am trying to run extundelete, but I don't know if it's failing because the underlying ...
0
votes
0answers
7 views

Setting up SMTP-AUTH & people soft in Postfix

configured SMTP server in people soft -post fix for gmail authentication is not picking up correct sender name- configured in peopesoft- using default sender name as smtp-people soft@org.com this has ...
0
votes
1answer
10 views

Moving VirtualBox disks to cloud services

Currently, the official way of deploying a custom distribution or different operating system on Linode is installing it locally in a virtual machine and copying the resulting disk verbatim to a Linode ...
2
votes
2answers
259 views

Bash - “/” is a directory

This is really confusing... I currently have a Debian 8 computer, and I connect to it using PuTTY (SSH). The default console used is Bash. When I try to pass a path to an alias, it gives the ...
0
votes
0answers
19 views

How can I customize output of a command? [on hold]

One of my friends asked me how to customize the output of a command & I thought a bit but I can't find an acceptable answer. ( For example adding * at the start of every output of the find ...
0
votes
0answers
5 views

Wacom Linux xsetwacom Attach Shell Script to Buttons

Using Inutos Pro with Manjaro. Would like to attach a shell/bash script to one of eight buttons. Script would be something along the lines of 'firefox'. Can xsetwacom do this?
0
votes
0answers
12 views

how to get a “parent-child” relationship with tmux panes and windows

Essentially I'm trying to mimic fork when I split a window or create a new one from an existing tmux session. For example lets say you enter a shell in gnome-terminal and then launch a new gnome-...
0
votes
1answer
15 views

PROMPT_DIRTRIM not working

I have the following in my .bash_profile: PROMPT_DIRTRIM=3 export PS1='$ \u in \w: ' However, when I navigate deep within a directory, the path doesn't shorten. This is what the prompt shows: $ ...
2
votes
1answer
38 views

sed unterminated `s' command

I'm getting: sed: -e expression #1, char 46: unterminated `s' command On this code: sed -i.bak -c 's|net.ipv4.ip_forward.*|net.ipv4.ip_forward = 1|' /etc/sysctl.conf My editor is showing that ...
0
votes
1answer
12 views

How to restore GLIBCXX_3.4.20?

apt-get no longer works. When I try anything with it, I get the error apt-get: /opt/Xilinx/Vivado/2015.4/lib/lnx64.o/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/...
3
votes
5answers
135 views

Add space between files paths

I have a list of folders and inside every folder I have the file " file.txt" which has the same name in all the folders. I wanted to collect the path for this file from all the folders and save it in ...
0
votes
0answers
5 views

qsub launch a job from node

I have a pipeline that is launched using a command. For some admin/server reasons, that tool has to be launched from a node. That tool triggers all the steps from my pipeline in a file called pipeline....
0
votes
0answers
13 views

Shell Hangs After Running cd, ls, vim over ssh

I'm logging onto a computer cluster over ssh. The problem is I can't do much more than that. Whenever I run things, eg: vim, cd, ls the cursor just hangs there and nothing else happens. I've heard ...
0
votes
3answers
33 views

Getting substrings in between delimiters multiple times from one string without looping

I have looked all over for a solution to this, but I couldn't find one. I am using qstat -x to pass a large string of job information. There is only whitespace in this output in certain areas. The ...
2
votes
1answer
23 views

Can I get just the list of network interfaces from ip?

I am looking to retrieve a list of network interfaces. Currently I am returning the results of ip addr and then doing some regex/string searching from output like this: 1: lo: <LOOPBACK,UP,...
0
votes
1answer
11 views

Highlight Vim escape characters e.g. \n

I'm using the Jellybeans vim colorscheme but it doesn't highlight any escape characters. For example if I'm using C++ and have the following... std::string word = "hello\n"; ... the whole string ...
0
votes
1answer
16 views

How to Install LDOM on Solaris 11?

I installed Solaris 11 on VirtualBox. I need to install and configure LDOM. However, I can not find the LDOM software for oracle Solaris 11. I could not find the link also.
1
vote
2answers
23 views

What is SUID and SGID file permission

Please explain me the concept of SUID and SGID in UNIX filesystem permissions
0
votes
3answers
28 views

Reformat table - Number of digits

I have some tables were the numbers have too much digits; as follow: MONTH A1 A2 A3 ...... 1 1.54564468 2.48949 6.4984984 ..... Is there a way, using unix, to reformat the table in the following ...
1
vote
2answers
24 views

How to stop “tail -f” within a running script?

How can you stop a tail -f command after seeing a specific string/word? I'm trying to follow an expanding log and stop the tail after finding a specific word. Is there any kill command for that? I'm ...
0
votes
0answers
16 views

Why is Qt not installed?

I have followed installation steps from https://wiki.qt.io/Install_Qt_5_on_Ubuntu When I try qmake -v qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory ...
2
votes
3answers
34 views

How to change the background color for exactly one line?

Here are my tries: The last one worked, but it breaks copy-pasting (adding a lot of spaces when copied). Is there a better way? Copyable text: $ PS1='\['$'\x1b[0m\]$ ' $ echo -e "\x1b[41;...
0
votes
0answers
6 views

How can I see list with all layouts don't use 3rd level symbols?

I need to see list with with all possible xkb layouts, that do not use 3rd-level symbols. Manually review of all files in /usr/share/X11/xkb/symbols/ directory is crazy, there maybe an easier way?
2
votes
3answers
27 views

Ignore specified absolute directories with tab completion?

I work on a cluster with many users. There are 50 users on the cluster with the same first letter as my username, and a user who has the same name up to the last letter. When I tab complete from /home/...
0
votes
2answers
21 views

GNU Parallel and sshpass with server list in a loop

With this loop we sequential update on all servers (server list = consul members | grep awk {'print $2'} | cut -d ":" -f1) the package consul. for i in $(consul members | grep awk {'print $2'} | cut -...
4
votes
1answer
195 views

How to know the utilization of intel CPU and GPU in Linux?

In ubuntu, to know the time taken by CPU to run a program we would use time in terminal. Whereas in case of intel GPU, we would use intel_gpu_time. But in case of CentOS time command works. But ...
0
votes
0answers
12 views

Kali linux hangs completely when browsing internet? [on hold]

Kali Linux hangs a lot when browsing the Internet with any browser. I have to force shutdown my laptop, and sometime it gives an error that "Failed to allocate memory" when I try to open any app, even ...
0
votes
1answer
21 views

Redhat & GUI/GNOME Struggle?

We have in our Company SysAdmin so damm stupied and lazy. Everytime I ask him for a Redhat Virtual Machine(VM),He just deploy a ready template with GUI and lot of package,a lot I think he just install ...
0
votes
5answers
43 views

Return one value and save it into a variable

I have this sentence that returns two values. cat /ora$sid/dbs/listener.ora|grep PORT|sed 's/.*PORT.*\([0-9]\{4\}\)\(.*\)/\1/' Return 1521 1522 With this sentence I want to get only one value. ...
0
votes
1answer
8 views

Use Debian Laptop as Bluetooth headset?

i want to use my laptop (Debian 8.4) as a bluetooth headset for my smartphone (OnePlus One, Android). This means not just audio of my phone, also incoming calls. I already managed to play normal ...
0
votes
1answer
12 views

virtualbox-dkms package

I have a serious problem when i have installed VirtualBox. At first, i use apt-get update. and secondly i use apt-get install virtualbox. But when i start "VirtuaBox" in the terminal, i have this ...
-1
votes
2answers
24 views

Linux passwd User permission change

When I look at usr/bin/ directory, I saw the command line with passwd -rwsr-xr-x. 1 root root 30768 2012-02-22 20:48 /usr/bin/passwd and It allows to change to get root's authority. with s. I ...
0
votes
1answer
34 views

negative values are being treated as positive in RHEL suddenly. Why?

For example: # [[ -24 > 0 ]] && echo "Hi" Hi Since yesterday, I found this weird behavior. What could be the reason?
-1
votes
1answer
16 views

How to deploy war file in apache2 in ubuntu 14.04? [on hold]

I want to run my application with the help of apache2. In tomcat we will put the war files in folder webapps. I am looking something similar in apache2.

15 30 50 per page