Написание HTTP-запросов с помощью Curl Эта статья предполагает, что вам известны основы построения сетей и язык HTML. Возможность написания скриптов является существенной при построении хорошей компьютерной системы. Расширяемость возможностей Unix-систем при помощи shell-скриптов и различных программ, выполняющих автоматизированные команды — вот одна из причин того, почему они имеют такой успех. Увеличивающееся число приложений, которые переходят …
Рубрика «Linux»
Get time utc linux
how to get local date/time in linux terminal while server configured in UTC/different timezone? how to get local date & time in linux terminal while server configured in UTC or different timezone? here is what I get now but I’d like to see in local timezone. For eg: PST/PDT. I’m not looking to change system …
Get system uuid linux
How to Get the UUID of devices on Linux, Ubuntu, Debian Unique identifier for each storage device UUID is the «universally unique identifier» that is assigned to devices on a linux system for the purpose of identification. For example if your hard disk has 3 partitions then each partition is a device and has a …
Get mime type linux
Introduction to File MIME Types Last modified: May 8, 2020 1. Overview The MIME type is an important topic in web technology. In this tutorial, we are going to discuss what a MIME type is and learn how to get the MIME type of a file using Linux command-line utilities. 2. MIME Types The abbreviation …
Get linux version kernel
3 Ways to Check Linux Kernel Version in Command Line Last updated June 11, 2020 By Abhishek Prakash 20 Comments Brief: Wondering which Linux kernel version your system uses? Here are several ways to check your kernel version in the Linux terminal. You may find yourself in a situation where you need to know the …
Get info process linux
How to get process details from its pid I have maintained a list of pids of processes currently running on my system(Linux) from this now it would be great if i can get the process details from this pid i have come over syscall.Getrusage() in golang but i am not getting desired results. Does anyone …
Get folder list linux
How to list folders using bash commands? Is there any way to list just the folders in a directory using bash commands? ( as the ls command lists all the files and folders ) 8 Answers 8 Since all directories end in / , this lists only the directories in the current path. The -d …
Get directory size linux
How to Get the Size of a Directory in Linux Updated Nov 13, 2019 When listing the contents of a directory using the ls command, you may have noticed that the size of the directories is almost always 4096 bytes (4 KB). That’s the size of space on the disk that is used to store …
Get current path linux
How can I get the current working directory? [duplicate] I want to have a script that takes the current working directory to a variable. The section that needs the directory is like this dir = pwd . It just prints pwd how do I get the current working directory into a variable? 5 Answers 5 …
Get current ip address linux c
Get local IP address in C++ Linux [duplicate] I needed to find the IP address for the local machine on of the webservices. In C#, I have How could I do it in C++ Linux? 4 Answers 4 getifaddrs() will return a list of structures of all the interfaces in the machine. There is an …