unix

How do I assign an IP address to a specific network adapter in Linux/Unix?

How do I assign an IP address to a specific network adapter in Linux/Unix?

How do I find the number of files in a subdirectory (folders count as a file) starting with a capital letter in shell Unix?

You need to count the number of files in the subdirectory that begin with a capital letter. How do I do this using the standard Unix shell filters?

How do I set an environment variable in Linux/Unix?

How do I set an environment variable in Linux/Unix?

How do I end the process in ubuntu?

How do I end the process in ubuntu?

How do I remotely reinstall the server?

There is a remote Debian server that is partially inoperable for various reasons. You can connect to it via ssh under root. Is it possible to reinstall this server by logging in as an ssh administrator? If so, how do I do it?

how to implement " ps ax | grep init " in C

I am very poorly versed in Linux, but I need to solve a single problem, the answer to which I can not find on the Internet, p ... d grep commands to C? I need to write in C "ps ax | grep init", but I don't really understand how to properly implement this

Creation.so files

There is a set of c-files with the extension .c: avl_tree.c, buf_read.c, db_prep. c, file_process. c, global_header. c, trave ... r/gcc/4.4/bin/include folder with the exception of jni. h, and the libraries are located in the /usr/gcc/4.4/bin/lib folder.

How to create a file name with the.conf extension based on the file name with the extension.jar in ansible

Dear experts, please tell me how to create a configuration file with the same name as the jar archive, but without the extens ... I remove from the config name .jar extension? PS: in regulars are not strong from the word at all( Thanks for your attention!

Using gmake

I was advised on http://www.linux.org.ru/forum/admin/8726100?lastmod=1358421944338#comment-8731504 use gmake instead of make ... local/sbin/sshd -t -f /usr/local/etc/sshd_config Privilege separation user sshd does not exist *** Error code 255 (ignored)

Example of a client and server in C / C++

Can anyone have examples of a ready-made server and client communicating via TCP/IP? Preferably on С. If there is, then it is possible under Unix, and under Windows.

fflush (stdout) Si

I have the code, here is a snippet: printf("choose (y/n)?"); fflush(stdout); Why this line is not displayed without fflush(s ... g. As I understand it, the whole point is that there is no line ending(\n), but can you please explain why it works this way.

How to start learning UNIX/LINUX? [closed]

Closed. It is impossible to give an objective answer to this question . Answers to it are not accepted at the moment. ... y different editions like windows? What book or two would you recommend for my purposes to study from scratch? eng - ca.

There is no active process using nohup Linux PHP

I have run a background PHP nohup process via SHH on my server. Server running on Gentoo OS, Apache. The PHP script always wo ... 60 S 0.0 0.0 0:00.02 mysqld_safe How can I stop it? Note: I have run multiple times, so there are more than 1 processes

how can I create multiple files with a date in the same folder with one command (linux)?

How can I create multiple files with a date in the same folder with one command (linux)?

Bash error: syntax error: unexpected end of file

I get syntax error: unexpected end of file When trying to execute the script. What's wrong with the script? (checked in h ... ux | grep my-program | grep -v grep | awk '{print $2}' | wc -l) if [ $FINAL_RESULT != 0 ] ; then echo "error thrown" fi

Access to the JFS File System

Is there a utility for accessing the * nix JFS file system from under Windows? Something like Linux Reader or Exr2Fsd but supporting JFS

Bash script. MV command and read path from console

The user enters the file name and the path to move the file from the console: #!/bin/bash echo "Input name of file"; read fi ... lem is that $path takes as a string. That is, mv works as a rename, not as a move. How can I convert $path to a directory?

What is the ` character used for (backquote, backquote, backtick)?

What are the symbols used for?`? For example: python3.4 `which ptpython`

Deleting folders whose names start with the line

There is a list of folders: 2014-12-17 2014-12-21 2014-12-22 2014-12-23 2015-01-13 2015-01-14 2015-01-15 2015-01-16 2015-01-17 How do I delete all folders and their contents that start with "2014"? Thank you.