When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Other than using find and grep, there isn't much you can do to discover where it came from. Knowing that it is indeed an environment variable, I would attempt focusing your search in /etc/ and your home directory. Replace VARIABLE with the appropriate variable you're searching for: $ grep -r VARIABLE /etc/*. $ grep -r VARIABLE ~/.*.

  3. I would like to display the completion time of a script. What I currently do is - #!/bin/bash date ## echo the date at start # the script contents date ## echo the date at end This just show'...

  4. What does `exec "$@"` do? - Unix & Linux Stack Exchange

    unix.stackexchange.com/questions/466999

    The exec will replace the current process with the process resulting from executing its argument. In short, exec "$@" will run the command given by the command line parameters in such a way that the current process is replaced by it (if the exec is able to execute the command at all). Share. Improve this answer.

  5. Where do executables look for shared objects at runtime?

    unix.stackexchange.com/questions/22926

    The linker uses the following search paths to locate required. shared libraries: 1. Any directories specified by -rpath-link options. 2. Any directories specified by -rpath options. The difference. between -rpath and -rpath-link is that directories specified by. -rpath options are included in the executable and used at.

  6. Citing a dictionary definition in a technical context is always wrong, citing the wrong one is lazy and stupid, and citing your opinion as evidence is in line with what I'd expect after #1 and #2. No one cares. –

  7. The read bit (r) allows the affected user to list the files within the directory. The write bit (w) allows the affected user to create, rename, or delete files within the directory, and modify the directory's attributes. The execute bit (x) allows the affected user to enter the directory, and access files and directories inside.

  8. Viewing Linux Library / Executable version info

    unix.stackexchange.com/questions/58846

    If you want to verify, what exactly is in which ELF file, you can try to run: readelf -a -W elffile. where elffile can be either an library of an executable. If you simply want to get the library version, you can play with: readelf -d /path/to/library.so |grep SONAME. AFAIK, there's no such info (at least not by default) in executable files.

  9. Good detailed explanation of /etc/network/interfaces syntax?

    unix.stackexchange.com/questions/128439

    The man page says what comes after the interface name is the address family that the interface uses. "inet" is the name for IPv4, inet6 for ipv6.

  10. 0. This will sort the output in decreasing order of size: du -sh /var/* | sort -k 1rn. This will sort the output in increasing order of size: du -sh /var/* | sort -k 1n. PS : this can be used to sort by any column but that column values should be in same format. edited Jan 17, 2017 at 14:47.

  11. the example output above is from the bash builtin. time is a builtin command in most shells. there is also the system time. it has a different output format but otherwise behaves mostly the same as the shell builtin. to use the system command you do it like this: $ /usr/bin/time somecommand --what=islove. or.