Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // View sgminer CLI
- sudo screen -r
- // Shutdown command
- sudo shutdown -h now
- // List content
- ls
- // Typo
- sudo vm sgminer_300MHz_fix_NoHW /opt/scripta/bin/sgminer
- // Move the compiled binary file to scripta folder named as sgminer
- sudo mv sgminer_300MHz_fix_NoHW /opt/scripta/bin/sgminer
- // List content
- ls
- // Enter the following directory: opt/scripta/bin
- cd /opt/scripta/bin/
- // List content
- ls
- // List content with access permissions
- ls -l
- // Set sgminer file owner as root
- sudo chown -R root.root sgminer
- // Set sgminer file permission to all
- sudo chmod a+x sgminer
- // List content
- ls
- // List content with access permissions
- ls -l
- // View sgminer CLI
- sudo screen -r
- // Terminate the CLI (reboot)
- qq
- // Typo
- shutdown -h now
- // Shutdown command
- sudo shutdown -h now
- // Enter the following directory: usr/bin
- cd /usr/bin/
- // List content
- ls
- // Open the following file with VIM text editor for editing
- sudo vi update_fw.py
- // List content
- ls
- // Enter the following directory: usr/bin/sgminer
- cd sgminer/
- // List content
- ls
- // List content with access permissions
- ls -l
- // Set autogen.sh file permission to all
- chmod a+x ./autogen.sh
- // Execute the autogen.sh script
- ./autogen.sh
- // List content
- ls
- // Open the following file with VIM text editor
- vi configure.ac
- // Execute the autogen.sh script again
- ./autogen.sh
- // Execute the configuration script
- ./configure
- // Make the build
- make
- // No idea
- dls
- // Execute the update script
- sudo ./update.sh
- // List content
- ls
- // Set update.sh file permission to all
- chdmod a+x ./update.sh
- // Run the update script again
- sudo ./update.sh
- // List content
- ls
- // Set update.sh file permission to all again
- chmod a+x ./update.sh
- // Run the update script again
- sudo ./update.sh
- // Call the shutdown command
- sudo halt
- // List content
- ls
- // Enter the following directory: usr/bin/sgminer/sgminer
- cd sgminer/
- // List content
- ls
- // Run the update script once again
- sudo ./update.sh
- // View sgminer CLI
- sudo screen -r
- // List content
- ls
- // View sgminer CLI
- sudo screen -r
- // List content
- ls
- cd sgminer/
- // List content
- ls
- // Open the following file with VIM text editor for editing
- vi driver-baikalu.c
- // Make the build
- make
- // Run the update script
- sudo ./update.sh
- // View sgminer CLI
- sudo screen -r
- // Run the update script again
- sudo ./update.sh
- // View sgminer CLI
- sudo screen -r
- // Open the following file with VIM text editor for editing
- vi driver-baikalu.c
- // View sgminer CLI
- sudo screen -r
- // List content
- ls
- // List content
- ls
- // Delete this folder
- rm -rf sgminer/
- // List content
- ls
- // Go back to the default folder: /home/Baikal
- cd
- // List content
- ls
- // Enter the following directory: opt/scripta/etc
- cd /opt/scripta/etc/
- // List content
- ls
- // Enter the following directory: opt/scripta/etc/backup
- cd backup/
- // List content
- ls
- // Delete the Example folder
- sudo rm -rf Example/
- // Move the 20171111-1346 folder to a new Example folder
- sudo mv 20171111-1346/ Example
- // List content
- ls
- // Go back to the default folder: /home/Baikal
- cd
- // List content
- ls
- // Write the data buffered in memory to the disk
- sync
- // Shutdown command
- sudo shutdown -h now
- // List network interfaces
- ifconfig
- // Check the process duration of all processes
- ps -ef|more
Advertisement
Add Comment
Please, Sign In to add comment