All Questions
4
questions
0
votes
1
answer
772
views
How to refresh terminal after function call
I've written a simple function to search the current folder when I press ctrl+f with exa and peco, after I choose a directory I want to cd into it.
(ll is modified version of ls)
pecofunc() {
ll | ...
0
votes
1
answer
379
views
Mac OSX Terminal ls, cd & ditto command return odd results
My MacBook Pro (Retina, 13-inch, Late 2013) running OS X El Capitan has some weird thing going on with terminal and more specifically when I run the ls, cd or ditto commands.
I have my disk ...
6
votes
3
answers
287
views
Linux: How could a directory be created without "." and ".."?
I am not sure if the following issue is specific to busybox: I have an embedded device with busybox installed. From what I understand, when a directory is created, usually 2 hidden files will be ...
0
votes
1
answer
433
views
cd into first/second/third directory returned by ls -d */
Say I am in a directory code:
/code
/very-long-and-descriptive-name
If I want to cd into that directory (or a directory if it comes first in alphabetical order), I can just cd *.
Now say I add ...