1
vote
0answers
5 views

Tmux: Unzoom pane when switching to another pane

In tmux, prefix + z toggles the active pane between zoomed / unzoomed. Also, the tmux-pain-control plugin allows moving to another pane (same window) with prefix + i/j/k/l. Now, when from a zoomed ...
1
vote
2answers
44 views

Putting a network interface up/down from command line

In Xubuntu 14.04, I tried to use both ip and ifconfig to handle a network interface, but they gave the same result. $ sudo ifconfig wlan0 down $ sudo ip link set wlan0 down both correcly put down ...
0
votes
0answers
6 views

HP deskjet 3050 only puts in queue, no processing

My HP deskjet 3050 j610 doesn't print anything. I use Linux Mint last version. I installed hplip yesterday and the printer worked fine but I ran out of ink so I had to change the ink box. Today when ...
0
votes
1answer
34 views

Delayed Expansion

I wanna make a quine .sh script, and this is what I've made so far: quine.sh: #!/bin/sh q="#!/bin/sh\nq=$q;echo \$q";echo $q Focus on this line: q="#!/bin/sh\nq=$q;echo \$q";echo $q At the first ...
1
vote
2answers
25 views

Cannot open both root terminal and nautilus (in Debian 7) after updating Intel Graphics Driver

I am a beginner on Linux. I bought a laptop (Asus, i686 architecture) only with pre-installed Debian 7. However, then I found that when I moved mouse horizontally, the screen shakes horizontally as ...
1
vote
1answer
28 views

Arch Linux boots to tty1 by default instead of tty7 after update

I updated the system 2 days ago and now realised a startx systemd script failed to start. This is seems to be caused by the fact that Arch booted into tty1 by default. Switching to tty7 and restarting ...
0
votes
1answer
16 views

All configuration files are embedded in jars?

What does it mean that All configuration files are embedded in jars. for the Apache Jakarta James e-mail server? Does that mean that config files must be placed back into the JAR file? Or, can ...
0
votes
1answer
34 views

Apache/2.2.22 You don't have permission to access / on this server error

I tried all suggestions about permissions I could find but without luck. Apache seems to start normally [ ok ] Restarting web server: apache2 ... waiting .. Access log says 192.168.15.51 - - ...
1
vote
0answers
20 views

Monitor mirroring

I need to mirror a remote monitor from a server running CentOS 6.5. With VNC I'm able to connect to the :0 display (that it's the one it is shown on the remote server monitor) but when I change user ...
2
votes
2answers
108 views

Which major contributions did GNU make to the GNU/Linux OS?

I read in the GNU/Linux FAQ, that one of the reasons they are asking everyone to call the whole system GNU/Linux is: Principal & major contribution of GNU in developing the operating system. ...
-2
votes
1answer
24 views

System call Execlp() [on hold]

I have created my own shell in Linux.It takes path of file and command. It operates simple commands like grep ls etc. It uses execlp() system call. e.g /bin/ls ls < this command executes properly. ...
6
votes
1answer
73 views

Is it wrong to link /dev/random to /dev/urandom on Linux?

I'm currently testing gpg --genkey on a Linux VM. Unfortunately, this software seems to rely on /dev/random to gather entropy and politely asks the user to manually type screens after screens of ...
0
votes
1answer
32 views

How to hide Login/Pwd into shell?

I've a Shell script(.run) that let me to connect into Oracle sql : echo whenever sqlerror exit | sqlplus Login/Passwd@SERVER @"TABLE1.sql" echo 'return code : ' $? I'd like to hide ...
0
votes
0answers
28 views

How to copy from putty and paste in another program

I'm using putty in Centos in order to connect to another Centos server. The copy/paste functions of putty in Centos is weird! I tried to select text to copy text and right click to paste it. The copy ...
1
vote
2answers
28 views

What is the default memory allocation for shell process by linux

What is the default memory allocation for shell process by Linux , i mean is there any upper limit for shell process or any process.
4
votes
6answers
74 views

Sort files by highest number in filename

I've got a bunch of files all named like this: name_file-1.txt name_file-2.txt name_file-3.txt some_other_file-1.txt some_other_file-2.txt There are thousands of different filenames, some with just ...
0
votes
1answer
12 views

How to use NVIDIA CUDA on poky/yocto based linux os?

I have an NVidia Jetson TK1 Development board (ARM Cortex A15) which has a Keplar GPU that supports CUDA. I want to do same image processing on it with OpenCV 3.0 using CUDA. Reading through the ...
1
vote
1answer
28 views

Why “grep -q -v” only works with single line input?

If I use grep -q in combination with -v to return 0 if there are no matches or 1 if there is a match, it works as long as input is a single line: $ echo 'abc' | grep -q -v a; echo $? 1 $ echo 'abc' | ...
0
votes
2answers
25 views

Extends partition using another disk [on hold]

I have A 100GB SSD that I use for root partitions. I have 1TB disk. I'm running out of space on the SSD partition. Can I extends its size using the other disk. I know I can move the /home partition ...
1
vote
0answers
22 views

Filtering JSON request with JQ and bash scripting

I'm requesting a JSON from Twitch with: curl --silent -H 'Accept: application/vnd.twitchtv.v3+json' -X GET https://api.twitch.tv/kraken/streams/$1 where $1 is the input I send for my function. Now ...
0
votes
1answer
25 views

remove the last character of the line if it is a

I have a file of the form bulandshahara b u l a n d sh a h a r a caandapura c aa n d a p u r a I have to remove the "occurrence of a space followed by a" if this pattern appears at the last of ...
1
vote
0answers
17 views

OpenSSL converting chars to UTF-8 literals

I'm running a simple PKI web application in Php that uses OpenSSL shell commands and stores information in a text database. I have to deal with non-ASCII input characters (eg. German) but when a new ...
0
votes
0answers
13 views

logrotation- rotate and maxage command

please check the below script where I have to rotate the file for 30 days and its moved into the backup directory after rotation. So as I have used rotate 30 and maxage 30, when the logrotation ...
0
votes
2answers
20 views

Replace first occurrence of space with a TAB

I have a file of the form: acaneeraa a c a n ee r a acaneeraa a c a n ee r aa acaneeraa a c n ee r aa achaldaa a c a l d aa achaldaa a ch a l d aa I have to replace the first occurrence of a space ...
0
votes
1answer
20 views

Checking Hardware RAID 5 status from Linux

I have a Host in DC (Data Center), I want to check the Hardware RAID status of the below mentioned host. Is there any third party Package which can give me the status of the failed disk or online Disk ...
1
vote
1answer
35 views

Failed to authenticate via ssh.Centos

yesterday I was trying to authenticate via ssh "ssh demo" and return me the following error. ssh: connect to host ip port 7221: Connection refused If you need more information I will provide it ...
1
vote
1answer
14 views

RPM dependency conflict between libX11 and libxcb

I have to install some packages for a vnc server on a CentOS 6.5 machine that has no access to repos (so I have to transfer the rpm packages I need using sftp). As I tried to install the package ...
1
vote
0answers
24 views

Gnome installation terminates with lots of errors

I am trying to install Gnome on my Linux box Linux version 4.2.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10)) armv5tel GNU/Linux However I get lots of errors... ...
1
vote
1answer
43 views

How to handle sub-command line in shell script?

I am new to Linux and I am doing a Bluetooth Low energy project using the Intel Edison. The Edison has a Yocto 1.6.1 on it. I used Bluz and gatttool to connect my BLE sensor. But I need to type the ...
3
votes
1answer
36 views

How does linux load firmeware for built-in driver modules

I've learned that the firmware-subsystem uses udevd to copy a firmware to the created sysfs 'data' entry. But how does this work in case of a built-in driver module where udevd hasn't started yet? ...
0
votes
0answers
10 views

Gentoo won't update Chromium due to conflict with libxml, icu USE flag is globally set on make.conf, qt-webkit is not part of the conflict

I am running Gentoo Hardened using kernel version 4.1.7-hardened-r1. When I first set up my system I was able to emerge Chromium without a hitch. However, I recently issued emerge --sync followed by a ...
1
vote
1answer
17 views

Possible to identify defunct process from pgrep

I am using pgrep for a bunch of things, however I can't get pgrep to list if the process is defunct. Running ps adds to the end of the item <defunct> but pgrep does not, is there anyway to do ...
1
vote
1answer
12 views

pgrep only current user

I was wondering what the arguments were for pgrep to make it act only on the current user. -u makes me provide names, I don't know the name of the current user, I just know that I need current user ...
-1
votes
1answer
15 views

Can I get yesterday's stats using sar command but I have installed sar now

Can I get yesterday's stats using sar command, I have installed sar now so will I get yesterdays sa logs ? If yes then How ? I can see today's log : # sar -f /var/log/sa/sa12 Linux ...
0
votes
1answer
17 views

FreeBSD optional components deinstall

How deinstall optional components world/games, world/doc etc.?
0
votes
3answers
22 views

How to bulk compress different sub-folders?

I have a folder all_folders which contains 5 folders: ./all_folders ./all_folders/folder1 ./all_folders/folder2 ./all_folders/folder3 ./all_folders/folder4 ./all_folders/folder5 Can I compress all ...
1
vote
0answers
14 views

How do I specify a relative change to ACL of current user/group?

I have a directory that already might have some subdirectory configured rwx for www-data, but I want to make a final pass and ensure www-data has a full read access on the full directory. All these ...
0
votes
1answer
16 views

logrotation - rotate and maxage command

Can anybody please explain me about the function of 'rotate' and 'maxage' in logrotation as this is very confusing . consider am using the below values in my script: rotate 30 maxage 30 Thank ...
0
votes
1answer
21 views

Most power efficiend linux distribution for laptops [on hold]

I have done through lots and lots of online resources to learn about power management techniques in linux mint. Suggestions were using power top, laptop mode kind of methods but doesn't help. Most ...
-3
votes
0answers
7 views

I* am getting error when giving make install command in pcre2test.c [migrated]

struct rlimit rlim; ^ "/usr/local/pcre/src/pcre2test.c", line 7021: error(163): incomplete type is not allowed
0
votes
2answers
22 views

Bulk rename, change suffix? [duplicate]

How can I bulk replace the suffix for many files? I have a lot of files like NameSomthing-min.png NameSomthing1-min.png NameSomthing2-min.png I would like to change all them to NameSomthing.png ...
3
votes
1answer
32 views

Cgroups Memory Related Questions

1) Why cgroup is showing more number of tasks than actual number of tasks.? Ex : [root@localhost proc]# ps -aux | wc -l 421 [root@localhost proc]# cat /sys/fs/cgroup/memory/tasks | wc -l 539 2) ...
0
votes
0answers
6 views

Start Graphical User Interface mode in oracle linux OracleLinux-R7-U0-BETA-Everything-x86_64

I have gone through oracle's documentation here http://docs.oracle.com/cd/E52668_01/E54695/html/index.html but coundn't find a content where it states starting a gui in oracle linux. I have tried ...
0
votes
1answer
27 views

Free and fast NAS software for arm

I own a bananapro computer and I wanna set up a NAS on it. I have already tried samba, but I don't like it very much. Is there alternative software for debian, that would work with Mac? Windows ...
2
votes
1answer
19 views

Is it possible to configure bash to autocomplete with one tab like zsh?

As most people here know, when using bash at the command prompt if you partially type a file name a command or an option to a command etc, bash will complete the word if there is exactly one match. ...
2
votes
1answer
40 views

how to allocate more storage for home directory?

After checking the file systems, I noticed there is a usage of 60% for /home. and /home only has a very limited of 23GB storage space. On the normal windows I used to own I had more than 800GB of free ...
-4
votes
1answer
37 views

Execlp() System Call [on hold]

I have created my own shell in Linux.It takes path of file and command and operates simple commands like grep ls etc. e.g /bin/ls ls < this command executes properly. ls < this command does ...
3
votes
5answers
2k views

What does pwd output?

Does the command pwd in a shell script output the directory the shell script is in?
-2
votes
0answers
18 views

How to move directory, copy a file and place it in the current directory? [on hold]

Your current directory is stenton. Make a copy of the file annex (in markham), called annex2, and place it in markham: I tried cp ../markham/annex ./annex2 and a million others but I guess I'm ...
0
votes
1answer
13 views

Fix grub on UEFI system

I have windows 10 installed and am seeking to dual boot with Ubuntu Studio. Alright so I was installing Ubuntu Studio on an Asus F555L type laptop. At the end of the installation it said "grub failed ...

15 30 50 per page