LS Command ::: How to list files and directories with directories first

Got GNU? The gnu version of ls has –group-directories-first. And cp has -t. No GNU? On systems that don’t have gnu’s ls, your best bet is two successive calls to find with -maxdepth n/-mindepth n and -type t with the appropriate options. For copying files, with the target first, you would have to write a Read the full article…

How Do I Update Linux Software On Ubuntu From Command Line?

Use this: Documentation about each apt option can be found in the the manpages for apt. These are also available by running man apt in your terminal. Use of both upgrade and full-upgrade together is usually not needed, but it may help in some cases: see Debian documentation about Upgrades from Debian 9. Source

SSH ::: Viewing Connected Sessions On Ubuntu

1. The who Command 2. The w Command 3. The last Command 4. The netstat Command 5. The ss Command 6. The ps Command

List Installed Packages in Ubuntu Using dpkg Command

Source

List Installed Packages Using apt Command

Source

How to Zip and Unzip via SSH

zip archive-name.zip your-file.php your-file.php your-file.php In order to compress a directory, use this syntax: zip -r archive-name.zip /directory-name This command is used for .zip file decompression: unzip archive-name.zip Source

Uninstall A Package Via Command Line On Ubuntu Linux

Use one of these codes here to get a list of all the packages on your device. Once you have found that program, use apt or one of these commands to remove it. Any of the above commands will remove the specified package, but they will leave behind configuration files, and in some cases, other Read the full article…

Screenshots On Linux Command Line(Chromium)

In order to get a screenshot of a web page(URL) in Chromium, we use this simple syntax structure in our terminal: If you need to find your path to chromium install, use which command like this: With that bit of information, we can now execute our screenshot command This only screenshots “above the fold” area. Read the full article…