#mkdir
Explore tagged Tumblr posts
simple-logic · 7 months ago
Text
Tumblr media
Which is a command to create a new directory? 🗂️
a) mkdir 🖥️
b) mkdir -p 🛠️
c) create dir 🚫
d) newdir 🚪
📂 Time for a tech challenge!
Comment your answer below
3 notes · View notes
rk3664 · 3 months ago
Text
Python : .mkdir()
The .mkdir() method is part of the pathlib module in Python. Why not os.mkdir()? You are familiar with os.mkdir() from the os module, which also creates directories. Although it serves a similar purpose, pathlib is often preferred. Its approach to file system operations is more intuitive and object-oriented. .mkdir(): This is a method of the Path object. It’s used to create a new directory at…
Tumblr media
View On WordPress
1 note · View note
lordsheep99 · 1 year ago
Text
Linux Comandos Básicos de Consola / Terminal
Comandos Básicos Linux Me han preguntado infinidad de veces como hacer esto o lo otro en linux, y al decir “abres la consola y….” se han echado a atras con miedo. Este miedo, es infundado, ya que la consola o terminal en linux es nuestra amiga 🙂 Un poco de historia La historia de la informática se remonta a una época en la que la interacción con las computadoras se realizaba exclusivamente a…
Tumblr media
View On WordPress
0 notes
zorciarkrildrush · 5 months ago
Text
I know it's silly and alien to the average person but using command line every single day starts to convince you that it's fun to use the command line and it becomes your go-to for doing some things. Your boy just created a directory via command line for 0 fucking reason except a rapidly emerging habit
8 notes · View notes
debian-official · 6 months ago
Text
37 notes · View notes
irradiate-space · 9 months ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
On it everyone you love, everyone you know, everyone you ever heard of, every human being who ever was, lived out their lives. The aggregate of our joy and suffering, thousands of confident religions, ideologies, and economic doctrines, every hunter and forager, every hero and coward, every creator and destroyer of civilization, every king and peasant, every young couple in love, every mother and father, hopeful child, inventor and explorer, every teacher of morals, every corrupt politician, every "superstar," every "supreme leader," every saint and sinner in the history of our species lived there – on a mote of dust suspended in a sunbeam. — Carl Sagan, "Pale Blue Dot"
This long image adapted from Voyager 1's 1990 "Pale Blue Dot" photo. Carl Sagan image from Carl Sagan's Cosmos, episode 7: "The Backbone of Night". Thanks to @heritageposts for preserving the original "do you love the color of the sky" post.
Image transformations below the cut.
In the form of a Makefile, using imagemagick:
output: mkdir -p output crop: p36254.png output/ convert p36254.png -crop 815x702 -quality 0 output/crop.png touch output/crop.png upscale: output/crop-0.png convert output/crop-0.png -scale 1000%% output/upscale.png rotate: output/upscale.png convert output/upscale.png -rotate 50 output/rotated.png recrop: output/rotated.png # we now assume that the image is 10618 wide by 10758 high convert output/rotated.png +repage -crop 800x10758+4900+0 +repage output/recrop.png parts: output/recrop.png convert output/recrop.png -crop 100%x20% +repage +adjoin output/part_%02d.png
40 notes · View notes
eightyonekilograms · 3 months ago
Text
Client-side domain blocking on Macs
If you're on a Mac and you want to waste less time on the internet, the old way to keep yourself from accessing an addictive website was by writing a loopback entry to /etc/hosts, but on Macs this seems to fail for (some, not all) IPv6 sites, possibly if they use HSTS.
Anyway, here are the updated instructions:
#Only need to run once
sudo mkdir -p /private/etc/resolver
# Block example.com
echo "nameserver 127.0.0.1" | sudo tee /private/etc/resolver/example.com
15 notes · View notes
shieldfoss · 1 year ago
Text
3 FHS 4.2: "The following commands ... are required in /bin"
- [...] - ls - mkdir - [...]
You know what's not on that list, but would be between ls and mkdir if it was on that list?
make
why does my distro have /bin/make
what is the point of that
(5 minutes later) .. .ok so my distro is on top of ubuntu, who don't have any info in their references either but they deliver their own stuff, yes, but it's amalgamated with ...
(10 minutes later) ... is cute but I feel like it's too cute you know? "Budgie" has "Raven" what's next, libOwlNest? ...
(5 minutes later again) ... if that's posix compliant and I don't care if you mean 1 or 2, I'll eat my fucking hat ...
(1 minute later) ... wait what happens if I have two window managers and I switch between them? I mean any temux server would keep running so I could just go back to that but what about GUI apps, do they close? Or do they keep running and it's just their window information that gets lost? What even is their window information? I could absolutely write a program where the heavy lifting is done by some background service that'd keep living even if the graphical part died but ...
(5 minutes later) ... I am never going to understand SIGTERM it is simply not ...
51 notes · View notes
allylicks · 2 years ago
Text
how bout you apt-get some bitches.
how bout you mkdir some bitches.
how bout you neofetch some bitches.
how bout you touch some bitches.
how bout you mount some bitches.
how bout you fsck some bitches.
how bout you top some bitches.
how bout you | some bitches.
102 notes · View notes
asknueidentified · 1 year ago
Text
Tumblr media
"How long was I asleep for this time? How is this cake still edible?" "Questions for later." "More importantly, did everyone get smaller? Probably just my imagination.... still.... better just.... make my appearance more in line with modern standards"
Tumblr media
mkdir small for f in * ; do ffmpeg -i "$f" -vf scale=150:150 "small/$f" ; done
Tumblr media
"Much better."
"Now then...."
Tumblr media
"Someone want to explain how exhibitionism became in vogue? This feels like something where if I blame it on Yukari's shikigami I'll be lynched... so.... moyira shrine conspiracy then?"
11 notes · View notes
niconiconwo · 3 months ago
Text
I'm so close to getting a working NAS going. Hung my SSH sessions somehow though so I rebooted and in a second I'm gonna try to finish it off.
Not really sure why doing a mkdir without sudo accidentally hung my session but we'll have to see if it's a sign something is wrong.
3 notes · View notes
towerofglass · 4 months ago
Text
I know it's not the end of the world. cuz the folder IS there. but i can't figure out why mkdir is creating a hidden folder? I didn't specify that.....
2 notes · View notes
Text
Tumblr media
{ I think I've almost got it-- -cut off- }
cd Desktop
mkdir q
touch bon.txt
mv bon.txt q/bon.txt
mv q ONE/q
cd /Desktop/ONE/q
bon.t|
11 notes · View notes
shoehorseconstant · 8 months ago
Text
basic terminal commands
pwd = # print working directory
ls = # list files in directory
cd = # change directory
mkdir = # create new directory
cp = # copy files
mv = # move files
rm = # delete files!!!!!!! be careful with this tool because it's dumb!
2 notes · View notes
debian-official · 6 months ago
Text
15 notes · View notes
utopicwork · 1 year ago
Text
Short bash script I wrote for personal use via termux, this will download a video or playlist supported by yt-dlp to the current directory and convert the downloaded file/s into mp3s in an out subdirectory:
yt-dlp --extract-audio $1
mkdir out
for i in *; do ffmpeg -i "$i" "out/${i%.*}.mp3"; done
For id3 tagging I use the eyeD3 command line utility very basically manually on each file:
eyeD3 -a "Artist Name" -A "Album Name" outfile.mp3
6 notes · View notes