将光标放在当前目录下

如果您像我一样,希望命令从干净的行开始,特别是当您深入到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重定向到标准输出打印错误“bash: - :command not found”的标准输出,然后我尝试执行“bash: - :command not found”,它产生输出“bash:bash: - :未找到命令:未找到命令”。最后,(在分号的另一侧),我使用引用最后一个命令run(“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条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

推荐
    热门命令