将光标放在当前目录下

如果您像我一样,希望命令从干净的行开始,特别是当您深入到10级目录树时。这可以添加到.bashrc。
.

0

linux命令:PS1="${PS1::-3} \n$ " " \n$ PS1="${PS1::-3} PS1="${PS1::-3} \n$ "rootopen.com
linux命令:PS1="${PS1::-3} \n$ " " \n$ PS1="${PS1::-3} PS1="${PS1::-3} \n$ "rootopen.com
ldtd 2018-06-03 22:59:48
输出
[root@xxx home]
$

评论

相关推荐

linux命令:"some line input" | sort | uniq -c | sort -nr -nr sort | -c uniq | sort | input" line "some "some line input" | sort | uniq -c | sort -nrrootopen.com
linux命令:"some line input" | sort | uniq -c | sort -nr -nr sort | -c uniq | sort | input" line "some "some line input" | sort | uniq -c | sort -nrrootopen.com
.

我不知道为什么会有人用这个,我只是在今晚搞砸了,设法开始bash没有使用任何字母,我想我会分享。 它非常简单,首先尝试执行“-”将stderr重定向到stdout, stdout将把错误“bash: -: command not found”输出到标准输出, 然后尝试执行“bash: -: command not found”,这将生成输出“bash: bash: -: command not found: command not found”。最后,(分号的另一边)我使用下划线环境变量,它引用最后一个命令运行(“bash: -: command not found”), 并使用大括号表达式取出第一个“:”字符后面的所有内容,左边是“bash”

linux命令:"$(- 2>&1)";${_%%:*} 2>&1)";${_%%:*} "$(- "$(- 2>&1)";${_%%:*}rootopen.com
linux命令:"$(- 2>&1)";${_%%:*} 2>&1)";${_%%:*} "$(- "$(- 2>&1)";${_%%:*}rootopen.com
.

从基数10转换为基数16

linux命令:"ibase=10;obase=16;$1" | bc -l -l bc | "ibase=10;obase=16;$1" "ibase=10;obase=16;$1" | bc -lrootopen.com
linux命令:"ibase=10;obase=16;$1" | bc -l -l bc | "ibase=10;obase=16;$1" "ibase=10;obase=16;$1" | bc -lrootopen.com
.

for i in $(ls /home/marco/.mozilla/firefox/*\.*/places.sqlite); do sqlite3 $i "SELECT strftime('%d.%m.%Y %H:%M:%S', dateAdded/1000000, 'unixepoch', 'localtime'),url FROM moz_places, moz_bookmarks WHERE moz_places.id = moz_bookmarks.fk ORDER BY dateAdded;"; done

linux命令:"SELECT strftime('%d.%m.%Y %H:%M:%S', dateAdded/1000000, 'unixepoch', 'localtime'),url FROM moz_places, moz_bookmarks WHERE moz_places.id = moz_bookmarks.fk ORDER BY dateAdded;"; done done dateAdded;"; BY ORDER moz_bookmarks.fk = moz_places.id WHERE moz_bookmarks moz_places, FROM 'localtime'),url 'unixepoch', dateAdded/1000000, %H:%M:%S', strftime('%d.%m.%Y "SELECT "SELECT strftime('%d.%m.%Y %H:%M:%S', dateAdded/1000000, 'unixepoch', 'localtime'),url FROM moz_places, moz_bookmarks WHERE moz_places.id = moz_bookmarks.fk ORDER BY dateAdded;"; donerootopen.com
linux命令:"SELECT strftime('%d.%m.%Y %H:%M:%S', dateAdded/1000000, 'unixepoch', 'localtime'),url FROM moz_places, moz_bookmarks WHERE moz_places.id = moz_bookmarks.fk ORDER BY dateAdded;"; done done dateAdded;"; BY ORDER moz_bookmarks.fk = moz_places.id WHERE moz_bookmarks moz_places, FROM 'localtime'),url 'unixepoch', dateAdded/1000000, %H:%M:%S', strftime('%d.%m.%Y "SELECT "SELECT strftime('%d.%m.%Y %H:%M:%S', dateAdded/1000000, 'unixepoch', 'localtime'),url FROM moz_places, moz_bookmarks WHERE moz_places.id = moz_bookmarks.fk ORDER BY dateAdded;"; donerootopen.com
.
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

推荐
    热门命令