Related
Jar 99 I want to get the name of the oldest pod in the script. It appears that I should be able to run kubectl get po --no-headers=trueAGE-sort, then sort by AGE, then pipe to head -n1|awk '{print $1}', but can't seem to sort by job. I am running kubectl 1.7.9
Travis Heeter I have a folder like this C:\repos\3333-new-feature. Then from that location, in a git bash terminal, run a bat file: /c/repo/3333-new-feature
$ myBat.bat
One of the directives in bat should use the directory name like this: git flow feature sta
roof tiles I want to get the name of the oldest person in a Unix data file. How can I do this? Rob,20
Tom,30
I tried the following but it only gives me the max age. awk -F"," '{print $2}' age.txt | sort -r | head -1
robert $ cat file | awk -F, '{print $2,$1;
Ranjith Ramachandra I love unity, but I hate Alt+ F2dashes. Is it possible to remap Alt+ F2so that things look exactly like the old Alt+F2 I know what I want is going back in time, but I really like that quick command executor from the old gnomes. I can use Ct
Andrea Lazzarotto One of the advantages of Snap packages over DEB packages is that dependencies are included in the package, so even if the system is updated, Snaps should not break. Some legacy programs that were supposed to run on top of Qt3 have been remove
Andrea Lazzarotto One of the advantages of Snap packages over DEB packages is that dependencies are included in the package, so even if the system is updated, Snaps should not break. Some legacy programs that were supposed to run on top of Qt3 have been remove
Gareth Jones When my father first put me in front of a computer when I was little, he showed me this awesome MS-DOS command - "h". "h" is used as a replacement for "dir", listing the contents of a directory, but automatically puts everything in a paged column
Gareth Jones When my father first put me in front of a computer when I was little, he showed me this awesome MS-DOS command - "h". "h" is used as a replacement for "dir", listing the contents of a directory, but automatically puts everything in a paged column
Gareth Jones When my father first put me in front of a computer when I was little, he showed me this awesome MS-DOS command - "h". "h" is used as a replacement for "dir", listing the contents of a directory, but automatically puts everything in a paged column
Saravana I have some command line utilities with the same name as PowerShell aliases. For example where(alias Where-Object) obscures the tools that come with whereWindows . In bash, I can use \or commandlike \whereor skip aliases command where. Is there someth
Saravana I have some command line utilities with the same name as PowerShell aliases. For example where(alias Where-Object) obscures the tools that come with whereWindows . In bash, I can use \or commandlike \whereor skip aliases command where. Is there someth
Saravana I have some command line utilities with the same name as PowerShell aliases. For example where(alias Where-Object) obscures the tools that come with whereWindows . In bash, I can use \or commandlike \whereor skip aliases command where. Is there someth
Saravana I have some command line utilities with the same name as PowerShell aliases. For example where(alias Where-Object) obscures the tools that come with whereWindows . In bash, I can use \or commandlike \whereor skip aliases command where. Is there someth
vy32 I am using yarn jarcommand to submit a job to run a distributed shell. How to get applicationId programmatically? Abhinav To get the application ID, you need to go to the ResourceManager web UI , which is accessible via your node's IP address (resource ma
vy32 I am using yarn jarcommand to submit a job to run a distributed shell. How to get applicationId programmatically? Abhinav To get the application ID, you need to go to the ResourceManager web UI , which is accessible via your node's IP address (resource ma
tyrant Context : Technologies : Java, Docker Toolbox, Minikube. I have a java web application (already packaged as web-tool.jar) and I want to have all the benefits of kubernetes at runtime. To instruct kubernetes to fetch the image locally, I use the image ta
username I am running a liquibase update through Jenkins. I would like to see the list of changesets applied in the console output. We're running an update that didn't provide this information. I see the status of the MAVEN plugin would work fine, but I don't
username I am running a liquibase update through Jenkins. I would like to see the list of changesets applied in the console output. We're running an update that didn't provide this information. I see the status of the MAVEN plugin would work fine, but I don't
username I know you can get the compile time of each function using: xcodebuild -workspace App.xcworkspace -scheme App clean build OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies" | grep .[0-9]ms | grep -v ^0.[0-9]ms | sort -nr > culprits.txt
or thi
username I know you can get the compile time of each function using: xcodebuild -workspace App.xcworkspace -scheme App clean build OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies" | grep .[0-9]ms | grep -v ^0.[0-9]ms | sort -nr > culprits.txt
or thi
username I know you can get the compile time of each function using: xcodebuild -workspace App.xcworkspace -scheme App clean build OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies" | grep .[0-9]ms | grep -v ^0.[0-9]ms | sort -nr > culprits.txt
or thi
Miheit I used to write scripts like this: some_command
while [ $? -ne 0 ] ; do
sleep 1
some_command
done
It always annoys me that I have to write some_commandtwice . Can I somehow put this into the loop test section? John Smith You can use this some_c
username I know you can get the compile time of each function using: xcodebuild -workspace App.xcworkspace -scheme App clean build OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies" | grep .[0-9]ms | grep -v ^0.[0-9]ms | sort -nr > culprits.txt
or thi
username I know you can get the compile time of each function using: xcodebuild -workspace App.xcworkspace -scheme App clean build OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies" | grep .[0-9]ms | grep -v ^0.[0-9]ms | sort -nr > culprits.txt
or thi
Miheit I used to write scripts like this: some_command
while [ $? -ne 0 ] ; do
sleep 1
some_command
done
It always annoys me that I have to write some_commandtwice . Can I somehow put this into the loop test section? John Smith You can use this some_c
Dukeson Is it possible to get the type of terminal by command? If used gnome-terminal, the output should be gnome-terminalor similar. Getting the terminal's version is also fine. renew ps -aux | grep `ps -p $$ -o ppid=`
will output something like this: user
constitution Example: I type man ls, not I just want to get man. I can get it by using !!, man lsbut how do I get it man? Jimmy Ji You can use !!:and a word indicator to select specific words from the last command typed . As a word indicator, you need 0. You m
Dukeson Is it possible to get the type of terminal by command? If used gnome-terminal, the output should be gnome-terminalor similar. Getting the terminal's version is also fine. renew ps -aux | grep `ps -p $$ -o ppid=`
will output something like this: user
constitution Example: I type man ls, not I just want to get man. I can get it by using !!, man lsbut how do I get it man? Jimmy Ji You can use !!:and a word indicator to select specific words from the last command typed . As a word indicator, you need 0. You m