logo
down
shadow

LINUX QUESTIONS

How to generate .deb package from a repository
How to generate .deb package from a repository
it helps some times The ~40,000 packages.deb can just be downloaded.Search : https://packages.debian.org/jessie/transmission → all → https://packages.debian.org/jessie/all/transmission/download
TAG : linux
Date : November 27 2020, 09:01 AM , By : Bassl Saleh
Setting permission of file using chmod command (textual and numeric representations)
Setting permission of file using chmod command (textual and numeric representations)
wish help you to fix your issue geforce -You are absolutely correct with your work. Method 1 is the textual representation of permissions for using chmod. Methof 2 is the numberical representation of permissions for using chmod.
TAG : linux
Date : November 27 2020, 09:01 AM , By : JAGHADISH R
Extract just file path from string
Extract just file path from string
With these it helps You could use sed but that has the overhead of starting a new process.
TAG : linux
Date : November 27 2020, 09:01 AM , By : stremblay
Unexpected EOF error
Unexpected EOF error
Does that help You've got several problems.The 'unexpected EOF' problem occurs because you have an unmatched double quote:
TAG : linux
Date : November 26 2020, 09:01 AM , By : Agus Victor
What does !* mean in tcsh shell?
What does !* mean in tcsh shell?
I hope this helps . ! is the start of a history substitution. !* means "all the arguments from the preceding command".So if you first do:
TAG : linux
Date : November 26 2020, 09:01 AM , By : Muhammad Waqar
Move files in bulk and create links in their place in the directory in linux
Move files in bulk and create links in their place in the directory in linux
I wish this help you There's no single line command. It's quite trivial to do with shell scripting. For example, in tcsh:
TAG : linux
Date : November 24 2020, 09:00 AM , By : Sai vighnesh Iyengar
awk sep data extracting lines after certain variable
awk sep data extracting lines after certain variable
seems to work fine I have a large file that has some regular pattern
TAG : linux
Date : November 23 2020, 09:01 AM , By : CandyLand
How to copy file from Windows laptop to Linux remote server
How to copy file from Windows laptop to Linux remote server
wish of those help As windows does not have direct ssh connection, you cannot do it. Let me give an example, assume that you have multi OS(windows, Centos) installed in single machine. You can mount windows partition in Linux. Thus you can see your w
TAG : linux
Date : November 22 2020, 02:59 PM , By : Ryan Lindbeck
How to copy the results of a find command in linux
How to copy the results of a find command in linux
I think the issue was by ths following , I have a find command which returns two files. Is there anyway of then copying those files to another directory? My find command is below if that will help. , You just need to use the -exec argument
TAG : linux
Date : November 22 2020, 02:42 PM , By : Nathan
eglibc: Getting Uptime in Milliseconds
eglibc: Getting Uptime in Milliseconds
help you fix your problem The idea is first to find the offset for your CLOCK_MONOTONIC. Just read the /proc/uptime once for that. Then use the offset and CLOCK_MONOTONIC to print the time for every logged event.
TAG : linux
Date : November 22 2020, 02:42 PM , By : John Barron
How to run docker image in windows
How to run docker image in windows
will help you The command should be docker run, not runAnd the image is stored in your /var/lib/docker/images folder, in the boot2docker VM.
TAG : linux
Date : November 21 2020, 09:01 AM , By : Jacob srl
BASH while loop and qt-faststart
BASH while loop and qt-faststart
this one helps. You can iterate over the files and run qt-faststart:
TAG : linux
Date : November 21 2020, 07:38 AM , By : Lee Sam
How to copy file into subdirectories?
How to copy file into subdirectories?
around this issue The error message is quite clear, the path you provide is the path to a directory. With the argument you pass I assume you are supposed to use find like in
TAG : linux
Date : November 21 2020, 07:38 AM , By : user4576667
Copy files from a WWW folder to External Server through SCP
Copy files from a WWW folder to External Server through SCP
wish of those help You need to remove know khost from you ssh for both servers.Follow below steps.
TAG : linux
Date : November 20 2020, 09:01 AM , By : Murray
.bashrc file showing error
.bashrc file showing error
like below fixes the issue I am using linux mint 17.2 64bit rafaela cinnamon edition . I configured hadoop 2.7.1 successfully but after a system restart it is showing errors. I have installed oracle jdk1.8. These are my hadoop's hduser .bashrc file v
TAG : linux
Date : November 20 2020, 09:01 AM , By : John Bound
mkbundle System.ComponentModel.Win32Exception error
mkbundle System.ComponentModel.Win32Exception error
I hope this helps . Update:So I ssh'd a friend's ArchLinux and mkbundle works fine there, so I went back to your error:
TAG : linux
Date : November 16 2020, 09:01 AM , By : Arif Jemc
Assembly language taking input from user but displaying output
Assembly language taking input from user but displaying output
I wish this helpful for you In typical environments, file descripter 0 stands for standard input, 1 for standard output, and 2 for standard error output.Reading from standard error output makes no sense for me.
TAG : linux
Date : November 16 2020, 09:01 AM , By : Gaurav
symlink from public_html_source to public_html
symlink from public_html_source to public_html
I hope this helps you . First remove the /home2/username/public_html folder (after backing it up).
TAG : linux
Date : November 15 2020, 09:01 AM , By : uttam karna
Kernel booting error - Can I get the log?
Kernel booting error - Can I get the log?
should help you out I replaced the kernel with the new one I built. , They are stored in /var/log/kern.log
TAG : linux
Date : November 15 2020, 09:01 AM , By : Nathan Ramos
Unable to uninstall kde-desktop on ubuntu 15.10
Unable to uninstall kde-desktop on ubuntu 15.10
it helps some times If you don't need it you can run sudo apt-get remove kde-telepathy-minimal and then sudo apt-get clean that should stop it from trying to install.If you are still having problems after that you can try sudo dpkg --purge --force-al
TAG : linux
Date : November 15 2020, 09:01 AM , By : Malishka
Wget Directory, Where? How?
Wget Directory, Where? How?
it helps some times I'm new to Wget and do not know a great deal about it, I am learning more and more all the time and using trial and error. I have installed the $Wget function as described in the file download from GNU. , Put the URL in single quo
TAG : linux
Date : November 15 2020, 09:01 AM , By : Sachin Singh Baghel
How to set java environment variables using shell script
How to set java environment variables using shell script
hop of those help? EDIT: I just realized that you wanted a script to automate the process of adding environment variables. These commands may work for you:
TAG : linux
Date : November 14 2020, 09:01 AM , By : mahmood raeesi
How regular expression assertions can be written in shell script in ubuntu
How regular expression assertions can be written in shell script in ubuntu
seems to work fine Since bash does not implement lookahead assertions, you need to either use a utility which does (for example, grep with the -P option, if available on your system, or a scripting language such as Perl or Python), or break it down i
TAG : linux
Date : November 13 2020, 09:01 AM , By : Chuck Finnly
expect, interact and then again expect
expect, interact and then again expect
Hope that helps You can read (expect_user) the user's password by yourself and then send it to the spawn'ed program. For example:
TAG : linux
Date : November 13 2020, 05:40 AM , By : Pablo
What are the recommended GNU linker options to specify $ORIGIN in RPATH?
What are the recommended GNU linker options to specify $ORIGIN in RPATH?
wish help you to fix your issue Assume my platform is vanilla (non-embedded) x86-64 Linux using GNU build toolchain (GCC, etc.). , I know about the linker option: -Wl,-rpath,'\$\$ORIGIN'
TAG : linux
Date : November 12 2020, 09:01 AM , By : Mayank Soni
How to kill all child processes spawned by a process started from a script on kill or kill -9
How to kill all child processes spawned by a process started from a script on kill or kill -9
hope this fix your issue I need to reset kill -term in the trap statement to prevent infinite loop. This workedtrap "trap -INT kill -- -$$"
TAG : linux
Date : November 10 2020, 09:01 AM , By : ach
Q: /usr/bin/ld: cannot find -lGL
Q: /usr/bin/ld: cannot find -lGL
I wish did fix the issue. Depending on whether you want to link a 32 or 64-bit executable you need /usr/lib32/nvidia-352/libGL.so.352.63 or /usr/lib/nvidia-352/libGL.so.352.63. When the linker does not find -lGL, it is looking for libGL.a or libGL.so
TAG : linux
Date : November 10 2020, 09:01 AM , By : Vignesh Subbaiah
reacting to two signals sent to the CPU in linux
reacting to two signals sent to the CPU in linux
I wish this helpful for you I think I found the answer by myself. The functions I supplies are only a part of my program. Somewhere in the program, I used the function sleep().
TAG : linux
Date : November 09 2020, 09:01 AM , By : Zin Mghlaing
Merged Socket->recv with perl on Linux
Merged Socket->recv with perl on Linux
This might help you This problem has nothing to do with the choice of operating system, or indeed the language. The problem relates to the fact of how you are using TCP.A TCP stream is just that - a stream of bytes. It does not matter to TCP how you
TAG : linux
Date : November 09 2020, 08:00 AM , By : Swathi
Gnuplot creates empty eps file
Gnuplot creates empty eps file
I hope this helps . Ok, I have now solved it, It appears that there is a conflict between ghostscript and infinality so I uninstalled it
TAG : linux
Date : November 07 2020, 01:33 PM , By : user4569929
Bash and Dash inconsistently check command substitution error codes with `errexit`
Bash and Dash inconsistently check command substitution error codes with `errexit`
may help you . TL;DR The exit status of local "hides" the exit status of any command substitutions appearing in one of its arguments.
TAG : linux
Date : November 07 2020, 01:32 PM , By : dage023
Assembly simple I/O code. Int to string error
Assembly simple I/O code. Int to string error
This might help you Since I directed you to this SO Answer, I'll followup and point out your two problems in the code you wrote. First of all you have added a push eax to the original int_to_string function. This line should be removed to restore the
TAG : linux
Date : November 07 2020, 09:00 AM , By : Andrius Balčikonis
How to know number of CPU's and cores avialble for each of them?
How to know number of CPU's and cores avialble for each of them?
This might help you I took a Virtual private server from GoDaddy and installed GlassFish 4 on it. I am doing Performance Tuning on the server. , If you do not need to find this programmatically, you can do:
TAG : linux
Date : November 06 2020, 09:01 AM , By : andy
SIGALARM giving constant value if seconds in negetive
SIGALARM giving constant value if seconds in negetive
With these it helps The reason is that you are specifying 4+ billion (4,294,967,296 - 5) seconds—which is about 136 years—for the delay.That is what happens when a signed int is promoted to an unsigned int. The declaration for alarm() is:
TAG : linux
Date : November 06 2020, 03:59 AM , By : Ben
UID program resulting in Invalid Characters
UID program resulting in Invalid Characters
Does that help The reason that's happening is because you're mixing binary and text data in the output file.getuid() returns a binary integer. You should convert it to text like this:
TAG : linux
Date : November 06 2020, 03:59 AM , By : Ethan Wilson
Linux Kernel: How to capture a key press and replace it with another key?
Linux Kernel: How to capture a key press and replace it with another key?
will be helpful for those in need I'm attempting to dabble with low level programming. My goal is to have a user type a key into the terminal, capture that and output another key. So for example, if the user types "a" I would type out "b", if he type
TAG : linux
Date : November 05 2020, 06:58 PM , By : Mang Tatang
UNIX: How do I output data from 2 files using a loop structure?
UNIX: How do I output data from 2 files using a loop structure?
I wish this help you Good afternoon everyone, I have a project I am working on, but I am having a bit of trouble with it. I am supposed to create a script that uses a loop structure to output data from 2 data files. , This works, using printf to get
TAG : linux
Date : November 05 2020, 06:58 PM , By : technetium
How to have changes in ~/.byobu/.tmux.conf take effect without restarting byobu
How to have changes in ~/.byobu/.tmux.conf take effect without restarting byobu
seems to work fine Just press F5 to refresh Byobu!Full disclosure: I am the author and maintainer of Byobu.
TAG : linux
Date : November 05 2020, 09:01 AM , By : uncompiled
docker: different PID for `top` and `ps`
docker: different PID for `top` and `ps`
I think the issue was by ths following , docker exec lamp-test ps show pids inside docker container.docker top lamp-test show host system pids.
TAG : linux
Date : November 05 2020, 09:01 AM , By : m3rsonary88
select() on half-open socket does not return on close()?
select() on half-open socket does not return on close()?
will be helpful for those in need I'm doing select() on a blocking socket with no timeout select(sock+1, rfd, NULL, NULL, NULL). , Yes you misuse the select. The man select states:
TAG : linux
Date : November 05 2020, 09:01 AM , By : Yaqeen Al Mahdi
Redirect output of unit function/method in scala as standard in for linux mail command
Redirect output of unit function/method in scala as standard in for linux mail command
fixed the issue. Will look into that further Lets say I have a unit function/method that such as the following: , You can collect the output using your own PrintStream:
TAG : linux
Date : November 04 2020, 04:02 PM , By : saurabh
Perl: kill whole tree from any child
Perl: kill whole tree from any child
Does that help When the shell starts a process, it makes it the start of a process group.
TAG : linux
Date : November 04 2020, 04:00 PM , By : Ajith Kumar
Issue saving a cvs file to a usb drive using node on a raspberry pi
Issue saving a cvs file to a usb drive using node on a raspberry pi
it should still fix some issue It looks like the filename you are creating with "new Date()" is an invalid format for the filesystem. I'm able to make your code work by formatting the raw date string into a friendlier file name:
TAG : linux
Date : November 04 2020, 09:01 AM , By : Tejas Shinde
wiringPi non-root access to GPIO
wiringPi non-root access to GPIO
it helps some times Is your non-root user a member of the gpio group? – Ben VoigtYeah, that's the point! It wasn't, just changed (usermod -a -G gpio myuser) and now it's working. – KcFnMi
TAG : linux
Date : November 04 2020, 09:01 AM , By : saeid
Does v4l2 support multi-map?
Does v4l2 support multi-map?
Does that help The main problem with multi-consumer mmap is that this needs to be implemented on the device driver side. That is: even if some devices might support multi-map, others might not.So unless you can control the camera that is being used w
TAG : linux
Date : November 04 2020, 09:01 AM , By : Jeniffer Loca
Qt5 Change Softlink of Currently Running Executable
Qt5 Change Softlink of Currently Running Executable
fixed the issue. Will look into that further I created 2 simple Qt5.5 test apps on Linux, "red" and "green". I setup an initial soft link in the current directory that looks like this: , Try to remove link before recreating it:
TAG : linux
Date : November 04 2020, 08:17 AM , By : swapnil khare
Redis data lost after server restart
Redis data lost after server restart
help you fix your problem Well I found that the Redis I used to start was with the command: redis-server This command is used to start every time with new key in database, so the data stored in snapshot and AOF files was ignored.
TAG : linux
Date : November 03 2020, 09:01 AM , By : zachery faulkner
Why enable A20 line in Protected Mode?
Why enable A20 line in Protected Mode?
To fix the issue you can do In Real Mode, enabling the A20 line grants us an address space expansion of 64 KiB - 16 bytes.
TAG : linux
Date : November 03 2020, 09:01 AM , By : Panos Antoniadis
Shell Script file access
Shell Script file access
I wish did fix the issue. The error you've described doesn't sound like something the shell would produce, but the only tool that appears to load the file in question is wlalink. If you step through the lines of the script, typing each one at a shell
TAG : linux
Date : November 02 2020, 09:01 AM , By : Coronix
Use Perl modules from Linux server on Windows
Use Perl modules from Linux server on Windows
it fixes the issue You have two problems here.Firstly, it sounds like you're trying to load modules from a remote system. The easiest way to to this would be to mount the remote filesystem on your local system (using NFS or something like that). The
TAG : linux
Date : November 02 2020, 09:01 AM , By : Jean-Christophe Zobe
Findi All Large Files of specific size on Linux, to clear unwanted space
Findi All Large Files of specific size on Linux, to clear unwanted space
I hope this helps you . use the below command to search for files greater than 200MB in desecnding order, use sudo to look for files in descending orderfind / -type f -size +200M -exec ls -lh {} \; 2> /dev/null | awk '{ print $NF ": " $5 }' | sort -n
TAG : linux
Date : November 02 2020, 09:01 AM , By : TANDY
Why does my command fail when I check port occupancy?
Why does my command fail when I check port occupancy?
Hope this helps Your hyphen is actually a dash, it should in fact be a hyphen.You can spot the difference:
TAG : linux
Date : November 01 2020, 04:09 PM , By : Brian
Check if file was created more than 10 minutes from now
Check if file was created more than 10 minutes from now
With these it helps You can just use find to delete a file, for example to delete file1 in the current folder:
TAG : linux
Date : November 01 2020, 01:05 PM , By : Chris Ford
How to access a shared folder with Ubuntu on VirtualBox
How to access a shared folder with Ubuntu on VirtualBox
wish help you to fix your issue Usually, it is sufficient to: Install the Guest Additions Enter the Settings -> Shared folders menu Click on the "+" icon Select "automatic mount" Reboot the machine You'll find the shared folder under the /media direc
TAG : linux
Date : November 01 2020, 01:05 PM , By : plasmid
Is there a way to get notified when a packet arrives over socket rather than keep on polling using recv()
Is there a way to get notified when a packet arrives over socket rather than keep on polling using recv()
wish helps you There are several ways how to get informed about received data.select()
TAG : linux
Date : November 01 2020, 09:01 AM , By : Grant
How to create shell script for creating logs on linux server based on hostname
How to create shell script for creating logs on linux server based on hostname
it fixes the issue All, , You can use a condition like this:
TAG : linux
Date : November 01 2020, 09:01 AM , By : Yassine
Bash handle exiting multiple processes
Bash handle exiting multiple processes
Hope this helps That looks good, although you'll probably need a loop on the user input part.Note that you need to be careful with shell syntax. "pidA = $!" is not what you think; that's "pidA=$!". The former will try to run a program or command name
TAG : linux
Date : October 31 2020, 01:52 PM , By : suixinsam
How can I tell Puppet to stop a service on shutdown without keeping it running?
How can I tell Puppet to stop a service on shutdown without keeping it running?
will be helpful for those in need Puppet does not have any built-in support for configuring which runlevels a service runs in, nor any built-in, generalized support for chkconfig. Ordinarily it is a service-installation responsibility to register the
TAG : linux
Date : October 31 2020, 01:49 PM , By : Jansi Ramasamy
error while loading shared libraries: libboost_system.so.1.49.0
error while loading shared libraries: libboost_system.so.1.49.0
it helps some times You can compile libboost 1.49, download the source from here: Boost 1.49 uncompress and follow INSTALL file instructions, if you already have dependencies this should something as: ./configure make sudo make install
TAG : linux
Date : October 31 2020, 10:01 AM , By : Bear Mc
struggling with a shell script in linux
struggling with a shell script in linux
Does that help I am trying to create a script that takes two arguments, source folder and target folder. I am trying to show an error message if the source directory is not found and exit the program. If target directory is not found, I would like it
TAG : linux
Date : October 31 2020, 05:57 AM , By : Nima

shadow
Privacy Policy - Terms - Contact Us © animezone.co