Questions tagged [bin]

11 questions
9
votes
4 answers

Is it safe to remove the BIN files that are generated by MySQL?

They are taking up too much space: /var/lib/mysql/jiaoyou-slow.log: 53M /var/lib/mysql/mysql-bin.000005: 68M /var/lib/mysql/mysql-bin.000003: 1.1G /var/lib/mysql/mysql-bin.000007: 34M /var/lib/mysql/mysql-bin.000004: 225M
Mask
9
votes
4 answers

How to mount a .bin image file in linux

I used the AWS import service to import a large (2TB) drive, and they dropped two .bin files in my S3 account. Their instructions say to stripe together to EBS volumes to make a drive large enough to hold the image and then to just use that. Well…
UltimateBrent
  • 459
  • 2
  • 7
  • 13
3
votes
2 answers

How do I shortcut and not type "python"?

RIght now, I type "python myfile.py" to run it. How can I type "py myfile.py" to run it? Or better, do this ./myfile.py? Any tips?
Alex
  • 8,111
  • 24
  • 71
  • 99
1
vote
0 answers

Accidentally moved /bin, /boot, /dev and /etc folders

So as I was installing a new website, I incorrectly entered: mv wordpress /* . The space between "wordress" and "/*" was unitentional. Folders affected were: /bin /boot /dev /etc I Ctrl + C'd quit before it got any further forward. Since then I…
1
vote
1 answer

Packet Captures saved in bin file format

Does anyone know of a tool to open a packet capture saved as a .bin file? That or how to convert it to pcap or something wireshark can open. I took a packet capture from a thin client and when I download it its a .bin file type. I have not been able…
veel84
  • 288
  • 1
  • 4
  • 14
1
vote
1 answer

Difference between bin files that are executed via ./binfile and "regular" bins?

I built a C program using make on Ubuntu. The resulting bin file is executeable via ./binfilename but not by just executing it in the directory it was build. How can i "convert" it to a bin file that I can copy to /usr/bin so I can execute it…
bitrocker
  • 117
  • 1
  • 2
1
vote
1 answer

Linux script , Incremental backup in the same server

Could you please someone guide for the below incremental backup script, i have already written the script. I am facing an issue while looping the script. Requirement i need : Consider a source folder contains A, B, C when i ran the script A, B, C…
Varun K M
  • 13
  • 3
0
votes
1 answer

Why can't set bin log for MariaDB in Debian 9?

It is simple to set bin log for mysql in centos,just uncomment the line in /etc/my.cnf. Before uncomment in my.cnf. #log_bin = /var/log/mysql/mysql-bin.log Uncomment it in my.cnf. log_bin = /var/log/mysql/mysql-bin.log No /etc/my.cnf in…
showkey
  • 85
  • 1
  • 1
  • 14
0
votes
1 answer

bash script to execute php file

I want to write something detecting where PHP is installed and then execute php after that eg: ./find_php.sh /path/to/php/file.php So I can get it to detect the php I want to use and stick it in a variable, but I don't know how to get it to execute…
user59142
0
votes
0 answers

Docker station Iptables task

I have a virtual machine running on VBox. This VM contains the host and three dockers, let`s name the dockers as the_first, the_second, the_third. I want to apply a filter on network firewall with iptables that can do this: Running through the host…
0
votes
0 answers

Can't download .bin file from server (Apache 2.4.48)

I have an Ubuntu server with Apache2.4. (Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-74-generic x86_64)) I updated Apache from 2.4.46 to 2.4.48 and everything else I have tested is working properly except .bin file downloading over HTTPS. My device starts…
ziiroust
  • 1
  • 3