logo
down
shadow

LINUX QUESTIONS

syslog Log/ Event generator linux
syslog Log/ Event generator linux
I wish this help you The LogZilla project has one available for free (for personal use). You can grab it from the Subversion server at https://subversion.assembla.com/svn/logzilla/scripts/contrib/sysloggenTo check it out in Linux:
TAG : linux
Date : December 01 2020, 04:55 PM , By : Shaiful Chowdhury
Ping timeout issues
Ping timeout issues
I think the issue was by ths following , Good afternoon, , You can use -w to specify timeout
TAG : linux
Date : December 01 2020, 04:55 PM , By : Wael
How make /var/www contents editable by IDE
How make /var/www contents editable by IDE
this one helps. I suspect your issue is the fact that the user account has more than one group, and the default group is not the one with write permission to that folder.While Linux allows your user access to multiple groups, it does not provide acce
TAG : linux
Date : December 01 2020, 04:55 PM , By : Randall Ye
Why ordinary user cannot use chgrp/chown
Why ordinary user cannot use chgrp/chown
should help you out Letting non-root user to use chown or chgrp would have many problems. If user were able to chown otheruser ownfile, then after that, he would not be able to access his own file anymore - not good. If some evil user hijacked your a
TAG : linux
Date : November 29 2020, 01:01 AM , By : Xaho
Execute a script on startup of SUSE reboot
Execute a script on startup of SUSE reboot
To fix the issue you can do I'm trying to execute a script called "testing" on startup of my SUSE reboot. So I placed this simple script to '/etc/init.d' The code is like this
TAG : linux
Date : November 29 2020, 01:01 AM , By : Yaroslav S
Extracting debugging information from core files
Extracting debugging information from core files
will help you There are a few things like this. Mostly they are incomplete relative to gdb -- for example it is uncommon for backtracers to print information about function arguments or locals, but gdb can do this. Also gdb can often unwind in cases
TAG : linux
Date : November 28 2020, 08:01 AM , By : nitwitt10
linux command to connect to another server using hostname and port number
linux command to connect to another server using hostname and port number
I wish did fix the issue. If you just want to try an arbitrary connection to a given host/port combination, you could try one nmap, telnet or nc (netcat).Note that you can't necessarily determine whether or not a process is running remotely - it migh
TAG : linux
Date : November 28 2020, 08:01 AM , By : Quinney97
GLib.Settings.changed event not firing
GLib.Settings.changed event not firing
it helps some times The issue here isn't Vala or Glib, but how standard out works. A printf will print nothing to the screen unless there's a newline character in there.Just change the printf line to:
TAG : linux
Date : November 28 2020, 08:01 AM , By : Damian
What does it mean by code holding semaphore can be preempted
What does it mean by code holding semaphore can be preempted
around this issue What does it mean by code holding semaphore can be preempted?It means that a process that is currently running in its critical section holding some lock for the purpose of synchronization can be preempted. Ideally interrupts have th
TAG : linux
Date : November 27 2020, 01:01 AM , By : Emeka Akporobaro
Does LD_LIBRARY_PATH really cause inconsistencies?
Does LD_LIBRARY_PATH really cause inconsistencies?
wish help you to fix your issue I think the LD_LIBRARY should only be used for testing and not for a final installation, for it allows to use a specified library before the standard library location are used. But The linux documentation project says
TAG : linux
Date : November 27 2020, 01:01 AM , By : Koshish Kharel
"lsof" shows a file as (deleted) but I can still see it in file system
"lsof" shows a file as (deleted) but I can still see it in file system
will help you When a file is deleted it would not been seen on the file system. However, it is quite possible another file with the same file name is created on the same location.You can check the node number shown in lsof and ls -i to check whether
TAG : linux
Date : November 27 2020, 01:01 AM , By : Rene Pimentel
Linux file deleted recovery
Linux file deleted recovery
I wish this helpful for you Since there is no Syscall that involves iNode, because is a concept of extX fs and is not a good practice make a stove pipe but it is to make a chain of responsability (as M.E.L. suggests), there is only a NO answer for th
TAG : linux
Date : November 26 2020, 01:01 AM , By : Cameron Hughes
Exchange columns in bash
Exchange columns in bash
I wish did fix the issue. There are carriage returns (^M or Control-M) in the data file. It probably came from a Windows machine at some point.When you print $2","$1 (which concatenates $2 with a string containing a comma and then $1 — it took me a c
TAG : linux
Date : November 25 2020, 07:27 PM , By : Nikolay Kadutskiy
How to set max file size in Linux CeNTOS to server.log
How to set max file size in Linux CeNTOS to server.log
seems to work fine You can use logrotate to deal with log files.It allows automatic rotation, compression, removal, and mailing of log files. Each log file may be handled daily, weekly, monthly, or when it grows too large.
TAG : linux
Date : November 25 2020, 07:27 PM , By : Alex
Regular expressions: Search a word and append a new word at the end of the line
Regular expressions: Search a word and append a new word at the end of the line
will help you I have some TCL Files which contain many lines like this.
TAG : linux
Date : November 25 2020, 07:27 PM , By : helloooo
Compress a set of log files in a folder depending on number of files
Compress a set of log files in a folder depending on number of files
will help you I would like to know if there is any way to compress a set of .txt files in a folder using scripting when the number of files get more than a set limit. The txt files are automatically generated by another script. , You can use array si
TAG : linux
Date : November 25 2020, 07:22 PM , By : MarkHughes
unexpected behavior of linux malloc
unexpected behavior of linux malloc
wish of those help , It's pitch black, you are likely to be eaten by an OOM killer.
TAG : linux
Date : November 25 2020, 07:06 PM , By : napie 76
relation between init and bash terminal process
relation between init and bash terminal process
help you fix your problem Nothing is shared between init and its terminal children, nor between the first terminal and its terminal child.This is because, although fork() will make both processes (father and child) to share some objects, exec() famil
TAG : linux
Date : November 25 2020, 07:06 PM , By : ye shunping
Matlab VideoReader codec error?
Matlab VideoReader codec error?
should help you out When I try to read a video with the VideoReader object it gives the following error , Add this ppa:
TAG : linux
Date : November 25 2020, 01:01 AM , By : Pooja Pradhan
How to catch the L3-cache hits and misses by perf tool in Linux
How to catch the L3-cache hits and misses by perf tool in Linux
I wish this helpful for you That is strange LLC (Last Level Cache) is configured with "L2" if the hardware has L3 cache. But I don't know yet internals of perf and maybe these settings are generic.I think the only solution you have is to use "raw har
TAG : linux
Date : November 25 2020, 01:01 AM , By : DPaaske
Executable Deleting Itself on linux
Executable Deleting Itself on linux
To fix the issue you can do It is the same as for temporary files.Recall that a usual way to create some temporary file is to open(2) a file (keeping its file descriptor), then unlink(2) (while still having an open file descriptor). Then the data of
TAG : linux
Date : November 24 2020, 03:41 PM , By : PWALLE
How to change the apache httpd port for serving files
How to change the apache httpd port for serving files
hope this fix your issue Are you sure you have added configuration override through htaccess files?
TAG : linux
Date : November 24 2020, 05:47 AM , By : TheDarkMike
Installing Patches in linux
Installing Patches in linux
wish of those help A patch file like this contains the differences between two versions of text files.This one contains changes to these source files:
TAG : linux
Date : November 24 2020, 05:47 AM , By : Lucyfer
Comparative analysis between libkvm on linux and NetBSD
Comparative analysis between libkvm on linux and NetBSD
With these it helps As you already said, Linux KVM is a virtualisation technique whereas BSD kvm is much older, the acronym even expands to something different, and is a library to access (not only) kernel data structures in a defined manner.They are
TAG : linux
Date : November 24 2020, 05:44 AM , By : The Fappening
How to join multiple txt files into based on column?
How to join multiple txt files into based on column?
Hope that helps With bash you could create a script that does a recursive pipe exec for join:
TAG : linux
Date : November 24 2020, 05:44 AM , By : kenny hendrick 2
setting LINK variable in Makefile generated by qmake (5.0)
setting LINK variable in Makefile generated by qmake (5.0)
wish help you to fix your issue You can override LINK in the same way:QMAKE_LINK=/home/foo/gcc-4.7.2/bin/g++
TAG : linux
Date : November 24 2020, 05:44 AM , By : RDexterS
Automake - difficulty with installing version 'automake-1.14.1'
Automake - difficulty with installing version 'automake-1.14.1'
To fix the issue you can do I found out what is problem in. I use filezilla to transport automake to Raspberry Pi (running on Raspbian) in unpacked form. When I transported packed automake.tar through fillezila and then unpacked it on RPi and did ins
TAG : linux
Date : November 24 2020, 01:01 AM , By : user2957583
How to use Linux Network Namespaces for per processes routing?
How to use Linux Network Namespaces for per processes routing?
This might help you Got it. I am able to ping 8.8.8.8. The problem was in DNS resolving.Update DNS resolver.
TAG : linux
Date : November 23 2020, 01:01 AM , By : Trustin
How can I write a Gruntfile with different shell command behaviour for OS X vs. Linux?
How can I write a Gruntfile with different shell command behaviour for OS X vs. Linux?
With these it helps I don't know of a way to do this in only config, but you could create a custom task to check the environment and then add the appropriate task to the queue:
TAG : linux
Date : November 23 2020, 01:01 AM , By : user2957211
Using at command in shell script for scheduling a command
Using at command in shell script for scheduling a command
Any of those help I am trying to use the feature of "at" command to schedule the execution of any specific command at some user defined time. Wondering if its possible using "at" command. I am hoping "at" could help me because I do not have privilege
TAG : linux
Date : November 22 2020, 03:03 PM , By : user2956937
Is there a method to figure out the audio channel layout in Linux?
Is there a method to figure out the audio channel layout in Linux?
I hope this helps you . In ALSA, the default device typically supports only stereo. You can try to open a device named front, surround40, surround51, or surround71, but these devices do not have automatic sample format conversion or software mixing.T
TAG : linux
Date : November 22 2020, 03:03 PM , By : user2956824
Setting environment varilable for daemon / root process
Setting environment varilable for daemon / root process
hop of those help? I have a daemon process running on a server that needs access to an environment variable that specifies file path information (e.g. MYPATH=/a/b/c). I know how to specify this in my .bashrc file to give me access while I'm on the in
TAG : linux
Date : November 22 2020, 10:56 AM , By : qetr1ck
string replacement in shell script
string replacement in shell script
it helps some times How to replace the below DECIMAL data type with DOUBLE using shell script? , From within shell script:
TAG : linux
Date : November 22 2020, 10:56 AM , By : user2956573
Add specific column to the end of a CSV file
Add specific column to the end of a CSV file
With these it helps It is possible to do with bash the following process? , You can use this awk command:
TAG : linux
Date : November 22 2020, 10:54 AM , By : user2956162
Are there programmable automount/autofs hooks in linux/systemd?
Are there programmable automount/autofs hooks in linux/systemd?
around this issue Autofs itself can run a custom script or program to dynamically provide "the map", i.e. the mount options and arguments autofs uses for mounting.As an example, to automount home directories from an NFS-server one may prefer to use a
TAG : linux
Date : November 22 2020, 10:48 AM , By : user2955773
Renaming files like 20141207_190822.jpg to "2014-12-07 19.08.22.jpg" in linux or MacOS X
Renaming files like 20141207_190822.jpg to "2014-12-07 19.08.22.jpg" in linux or MacOS X
this one helps. How in Linux or MacOS X to rename a bunch of files with names 20141207_190822.jpg and 20141207_190823.mp4 to this format: , Try doing this :
TAG : linux
Date : November 22 2020, 10:48 AM , By : user2955754
undocumented kernel boot parameter?
undocumented kernel boot parameter?
With these it helps The kernel doesn't. The string cryptopts does not appear anywhere in the Linux kernel.However, the contents of the kernel command line are exposed to userspace in /proc/cmdline. Many distributions will read boot options from the c
TAG : linux
Date : November 22 2020, 10:40 AM , By : Gordan
using wget to mirror a website with path and subfolder that have the same name
using wget to mirror a website with path and subfolder that have the same name
around this issue I figured it out!The problem was my assumption that /news/index.html was the URL that I needed. After closely reading the man page, I found that -E (--adjust-extension) solved my problem. This flag forces wget to apply the .html ext
TAG : linux
Date : November 22 2020, 10:33 AM , By : user2955058
Using awk to find data matching date range in text file
Using awk to find data matching date range in text file
fixed the issue. Will look into that further Bad news: Standard awk doesn't have date handling capabilities, and date handling is a hit or miss affair for shell scripts. Both GNU and BSD versions of the date command can use the date command to check
TAG : linux
Date : November 22 2020, 10:31 AM , By : Benny
Installing xorg-x11-devel package in SLES 11 SP2
Installing xorg-x11-devel package in SLES 11 SP2
wish of those help libuuid is used by many things like udev, devmpper, etc so rolling it back probably not a best idea. Try finding newer devel packages for libuuid and X11 like from SLED SP22 or dev kit.
TAG : linux
Date : November 22 2020, 01:01 AM , By : user2954371
Setting result of find to variable, which has variables within it
Setting result of find to variable, which has variables within it
around this issue As seen in comments, the problem lies in using ${$var} instead of just ${var}:
TAG : linux
Date : November 21 2020, 07:31 AM , By : Willie M. Thomas
Maximum/Minimum physical address - Linux kernel
Maximum/Minimum physical address - Linux kernel
it should still fix some issue PCs have some address spaces which are not related to real RAM. A few days ago, I installed graphics card with 4GB of RAM. But there are other devices in the PC with their own memory which the CPU can still access: RAID
TAG : linux
Date : November 20 2020, 01:01 AM , By : Xee Shan
Freepbx custom context outbound route
Freepbx custom context outbound route
wish of those help Finally go round to a solution for this after reading every bit of documentation I could get my hands on.I used the following code in extensions_custom.conf:
TAG : linux
Date : November 20 2020, 01:01 AM , By : J.Sui
memcpy implementation in linux kernel
memcpy implementation in linux kernel
wish of those help Here are the relevant lines of code with comments to explain what they do:
TAG : linux
Date : November 19 2020, 03:59 PM , By : agusso
How to reverse a list of words in a shell string?
How to reverse a list of words in a shell string?
I think the issue was by ths following , I have a list of words in a string: , You can use awk as follows:
TAG : linux
Date : November 19 2020, 01:01 AM , By : user2952529
Concatenate and pass as parameter in bash
Concatenate and pass as parameter in bash
Any of those help As has been said, using single quotes will pass the literal string $Gateway, rather than your intended variable value, instead use double quotes
TAG : linux
Date : November 19 2020, 01:01 AM , By : Joel Idzinga
Add user to Docker container
Add user to Docker container
Hope this helps The trick is to use useradd instead of its interactive wrapper adduser. I usually create users with:
TAG : linux
Date : November 18 2020, 03:49 PM , By : Iboro Udoh
How to add a content in a file in linux without opening the file using vi or cat command
How to add a content in a file in linux without opening the file using vi or cat command
To fix the issue you can do It's a simple find and replace activity which you can do with sed command as follows,
TAG : linux
Date : November 18 2020, 03:49 PM , By : user2951832
Which SVN subversion can I use on linux, Mac, Windows?
Which SVN subversion can I use on linux, Mac, Windows?
this will help svn consists of a server and a client. The operating system the server runs on may differ from the os the client runs on (like a webserver and a browser). For the different client OS there are different svn client implementations. Some
TAG : linux
Date : November 18 2020, 11:13 AM , By : alen
Work with ZIP archive at Bash
Work with ZIP archive at Bash
I hope this helps you . I need to write a simple Bash script. How to unzip archive (in the same directory) with several files and get a path to these unpacked files? Path to archive is in $1 attribute. And how to pack these files back in new archive
TAG : linux
Date : November 18 2020, 11:13 AM , By : Anumol Pradeep
bash script not running as expected from cron vs. shell.
bash script not running as expected from cron vs. shell.
around this issue Your test from the command line is not valid, because you are basically executing the process id, which will give you a command not found.From the command line you will need to test this way:
TAG : linux
Date : November 18 2020, 01:01 AM , By : user2951274
Compare one field, Remove duplicate if value of another field is greater
Compare one field, Remove duplicate if value of another field is greater
I wish this help you Trying to do this at linux command line. Wanting to combine two files, compare values based on ID, but only keeping the ID that has the newer/greater value for Date (edit: equal to or greater than). Because the ID 456604 is in bo
TAG : linux
Date : November 17 2020, 11:58 AM , By : André Filipe
sudoers NOPASSWD: sudo: no tty present and no askpass program specified
sudoers NOPASSWD: sudo: no tty present and no askpass program specified
This might help you sudo permissions are about the user/group you are changing from not the user you are changing to.So are those permission lines are letting the testuser user and the testgroup group run any command (as anyone) without a password.
TAG : linux
Date : November 17 2020, 11:58 AM , By : Kelly Michael Donlin
How do I use pipes and variable substitution in a shell script (for toggling haproxy active server)?
How do I use pipes and variable substitution in a shell script (for toggling haproxy active server)?
hop of those help? I have a mildly complicated operation that I want to do with Docker, bash, and socat (though I welcome other solutions) , You don't need so many quotes:
TAG : linux
Date : November 17 2020, 11:55 AM , By : user2950416
Linux/Unix Find Command
Linux/Unix Find Command
fixed the issue. Will look into that further the {5} is a syntax from extended regular expressions not from shell globbing. It is not valid with -name.You can use -regex instead of -name with some find versions (GNU). In that case your pattern have t
TAG : linux
Date : November 17 2020, 11:55 AM , By : user2950360
Not able to copy data in hdfs with hdfs dfs commands
Not able to copy data in hdfs with hdfs dfs commands
wish helps you You need to make sure /app/hadoop is created in hdfs, not the local fs. In your check for the directory you use ls -l which checks on the local filesystem which is separate from the hdfs namespace. Try hadoop fs -ls /app/hadoop. If it'
TAG : linux
Date : November 17 2020, 11:52 AM , By : user2950338
Linux : Remove/Delete .txt files ending with exactly five digits
Linux : Remove/Delete .txt files ending with exactly five digits
I hope this helps . This cmd finds and rm's files with the filename pattern [any number of digits].txt in linux:
TAG : linux
Date : November 17 2020, 04:28 AM , By : user2949914
ARM assembly "retne" instruction
ARM assembly "retne" instruction
Any of those help The architectural assembly language is one thing, real world code is another. Once assembler pseudo-ops and macros come into play, a familiarity with both the toolchain and the codebase in question helps a lot. Linux is particularly
TAG : linux
Date : November 17 2020, 04:28 AM , By : user2949723
Migrate from LXC to LXD
Migrate from LXC to LXD
With these it helps If you talk about: http://www.ubuntu.com/cloud/tools/lxd I think it's very early to start with it. I have started to follow this project with first initial commit 3 month before. There wasn't release yet.PS:
TAG : linux
Date : November 17 2020, 01:00 AM , By : Tuấn Anh
sbt on linux not accepting -jvm-debug 5005
sbt on linux not accepting -jvm-debug 5005
I wish this helpful for you I'm using sbt launcher version 0.13.7 on Arch Linux from the official arch repositories. I'm trying to debug a scala app using IntelliJ. , It appears that this works:
TAG : linux
Date : November 17 2020, 01:00 AM , By : Mike Harper

shadow
Privacy Policy - Terms - Contact Us © ourworld-yourmove.org