A simple makefile from here: https://stackoverflow.com/questions/1484817/how-do-i-make-a-simple-makefile-for-gcc-on-linux TARGET = prog LIBS = -lm CC = gcc CFLAGS = -g -Wall .PHONY: default all clean default: $(TARGET) all: default OBJECTS = $(patsubst %.c, %.o, $(wildcard *.c)) HEADERS = $(wildcard *.h) %.o: %.c… Continue reading →
1 2 3 4 5 6 7 8 |
# Make sure you have the cifs utils installed sudo apt-get install cifs-utils # Create the folder from which you will access the share sudo mkdir /media/smbshare/ # Do the mount of the share sudo mount -t cifs -o username=Anonymous //192.168.1.152/downloads/ /media/smbshare/ |
Code:
1 2 3 |
#!/bin/bash echo "Hello World" |
© 2024 Eejit — Powered by WordPress
Theme by Anders Noren — Up ↑
Recent Comments