Check These Out
This will download all files of the type specified after "-A" from a website. Here is a breakdown of the options:
-r turns on recursion and downloads all links on page
-l1 goes only one level of links into the page(this is really important when using -r)
-H spans domains meaning it will download links to sites that don't have the same domain
-nd means put all the downloads in the current directory instead of making all the directories in the path
-A mp3 filters to only download links that are mp3s(this can be a comma separated list of different file formats to search for multiple types)
-e robots=off just means to ignore the robots.txt file which stops programs like wget from crashing the site... sorry http://example/url lol..
When you run an X program from a terminal you can see any errors. But when it's run from another X program (eg from a menu item, from your fluxbox 'keys' file etc) it might just die and you see nothing (except perhaps in .xsession-errors). Instead, launch it via this command and you'll see the termination status, stderr and stdout.
eg: "xlaunch firefox" or "xlaunch 'echo stdout; echo stderr >&2; false'":
'echo stdout; echo stderr >&2; false' failed with error 1
STDERR:
stderr
STDOUT:
stdout
Using this command you can track a moment when usb device was attached.
Very quick way to change a word in a file. I use it all the time to change variable names in my PHP scripts (sed -i 's/$oldvar/$newvar/g' index.php)
Replace 'csv_file.csv' with your filename.
Dependencies on phone: adb access, screencap command, base64 command.
Dependencies on computer: adb, sed, base64, display (from imagemagick, but can substitute other image viewer which reads from stdin).
This should work around adb stupidies (i.e. that it replaces \n with \r\n) with base64.
This command could seem pretty pointless especially when you can get the same result more easily using the rpm builtin queryformat, like:
$ rpm -qa --qf "%{NAME} %{VERSION} %{RELEASE}.%{ARCH}\n" | sort | column -t
but nonetheless I've learned that sometimes it can be quite interesting trying to explore alternative ways to accomplish the same task (as Perl folks like to say: There's more than one way to do it!)
Click window to change its opacity.
Source: https://unix.stackexchange.com/a/494289
http://www.linux-party.com/index.php/8157-escribir-en-la-consola-linux-sin-que-quede-registrado-en-el-history